Skip to main content

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)

Source distribution for gdocz-sdk 0.5.0
File Size Uploaded
gdocz_sdk-0.5.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gdocz-sdk 0.5.0
File Interpreter ABI Platform
gdocz_sdk-0.5.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page