Skip to main content

Official Python SDK for the OCRQueen document extraction API

Project description

ocrqueen-python

Official Python SDK for the OCRQueen document extraction API.

🚧 Status: Pre-release. APIs and surface area will change before v1.0.0.

Installation

pip install ocrqueen

Requires Python 3.10 or newer.

Quickstart

from ocrqueen import OCRQueen

client = OCRQueen(api_key="pk_...")

with open("paper.pdf", "rb") as f:
    job = client.extract.create(file=f)

result = job.wait()
print(result.markdown)

Get an API key from dashboard.ocrqueen.com.

Documentation

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocrqueen-0.1.0.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocrqueen-0.1.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file ocrqueen-0.1.0.tar.gz.

File metadata

  • Download URL: ocrqueen-0.1.0.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ocrqueen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbcb739bf4e1e02b776c2fe82b0257e70e611752de540bc45a5938330fde867f
MD5 50da17e5cbc4fe74b20550057b14d6eb
BLAKE2b-256 5aed505743e284b3abf01e44b8c21c3d022b9da74d4b4901d533732d814c24d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocrqueen-0.1.0.tar.gz:

Publisher: release.yml on ocrqueen/ocrqueen-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ocrqueen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ocrqueen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ocrqueen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0d05fd3d3c0c7f0097592c239c9356584c09d31789c9685cd668de99be7d26
MD5 0024417c4499f25385a17a6fab6e532a
BLAKE2b-256 da923bef870be17c0a7bb58e1fe04fdbd0e40f960d6e001e2f465b53f0ba37e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocrqueen-0.1.0-py3-none-any.whl:

Publisher: release.yml on ocrqueen/ocrqueen-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page