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.4.1

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.4.1
File Size Uploaded
gdocz_sdk-0.4.1.tar.gz 4.2 kB Details

Built distribution (wheel)

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

Total release size: 9.9 kB

Release files / gdocz_sdk-0.4.1.tar.gz

Download URL gdocz_sdk-0.4.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4a4e0bfa81ad1c0f8ec917ddea0fa9548fbfb624e7c2158f456ee55c4c78217
BLAKE2b-256 checksum
How to use checksums
5fb9a5873c1f38dba8eaf9d0e8954b40364af2b28ec8e04bf61d809840622558
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / gdocz_sdk-0.4.1-py3-none-any.whl

Download URL gdocz_sdk-0.4.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3de5f168b3db1701ecc3979e1e3a1533bd2d13d9d4af6ed509b85cec2d69c05
BLAKE2b-256 checksum
How to use checksums
e80b5f15b0f046d2a98f1d984fb458d342ee7beb61fcb2f118b5568c411fc6ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

0.5.0

2 release files

This release

0.4.1 This release

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