Skip to content

v0.4.0 - Cloud API Client

Choose a tag to compare

@Keyvanhardani Keyvanhardani released this 25 Dec 21:52
· 39 commits to main since this release

Features

  • CloudClient für api.german-ocr.de Integration
  • CLI Cloud-Support: --cloud, --api-key, --output-format, --prompt
  • Output-Formate: json, markdown, text, n8n
  • Progress-Callback für große PDFs
  • Job-Cancellation Support

Installation

pip install german-ocr --upgrade

Verwendung

CLI

# Cloud API
german-ocr --cloud --api-key YOUR_KEY rechnung.pdf --output-format json

# Lokal (wie bisher)
german-ocr rechnung.png

Python

from german_ocr import CloudClient

client = CloudClient(api_key="...")
result = client.analyze("dokument.pdf", output_format="json")
print(result.text)

Entwickelt bei Keyvan.ai