gdoczai
Official Python SDK for GdoczAI — OCR, extract fields, and segment documents with ease.
Installation
pip install gdocz_sdk
Quick Start
from gdocz_sdk import GdoczaiClient
client = GdoczaiClient(api_key="your-api-key")
# Convert PDF to Markdown
result = client.convert("document.pdf")
print(result.markdown)
# Extract fields
from gdocz_sdk import ExtractOptions
result = client.extract("document.pdf", ExtractOptions(fields=["name", "date"]))
print(result.extracted_data)
# Segment document
result = client.segment("document.pdf")
print(result.segments)
API Key
Set your API key as an environment variable:
export GDOCZAI_API_KEY="your-api-key"
Or pass it directly to the client.
Metadata
Release files for gdocz-sdk 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gdocz_sdk-0.5.0.tar.gz | 4.2 kB | Without provenance | Details for gdocz_sdk-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gdocz_sdk-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for gdocz_sdk-0.5.0-py3-none-any.whl |
Total release size: 9.9 kB
Release files / gdocz_sdk-0.5.0.tar.gz
| Download URL | gdocz_sdk-0.5.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01eb4277b0a025a1220772f2d07ed1d1eb956e94fdaf64aa762722d168aa3c82
|
|
BLAKE2b-256 checksum How to use checksums |
8a3ff74b6e5e4306ab1904de7836080481dcd896ba5129a8741ccbe6f2ab2fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / gdocz_sdk-0.5.0-py3-none-any.whl
| Download URL | gdocz_sdk-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0ce87674c120a52cb47b759bfee14a4f84ce7b5c6bd031f14434e4789e23f35
|
|
BLAKE2b-256 checksum How to use checksums |
a0909d0bb6751d5d232bfbf33ac2f1224ead91cb9fd459259a1de22fcbd5259a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for gdocz-sdk 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.