groundx
What it is and what it does
GroundX is a Python SDK that wraps the GroundX API, a document ingestion and extraction service. It provides both synchronous and asynchronous clients for uploading documents to buckets, managing extraction workflows defined in YAML, and retrieving results. The library handles common HTTP concerns—automatic retries on 408, 429, and 5xx responses, configurable timeouts (default 60 seconds), and custom httpx client support for proxies and transports.
The package is designed for developers who need to programmatically ingest documents into GroundX or automate extraction workflows. It uses Pydantic for request/response validation and includes exception handling for API errors. An optional [extract] extra provides workflow helpers for creating, updating, and loading extraction definitions from YAML files.
Use it for:
- Ingest documents into GroundX buckets from a Python application with automatic retry handling.
- Create and manage extraction workflows from YAML definitions to automate document processing.
- Build async-first applications that make non-blocking calls to the GroundX API.
- Handle API errors and retries transparently without manual retry logic.
- Customize HTTP behavior (proxies, timeouts, transports) for specific network environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for the GroundX API that handles document ingestion, extraction workflows, and API communication with built-in retry logic and async support.
Yes. The package is actively maintained (released within the last day), has low install friction, carries a permissive MIT license, and provides a clean, well-documented interface to the GroundX API. No known vulnerabilities. Install it if you need to integrate GroundX document ingestion or extraction workflows into a Python application.
Install
groundx on PyPI
pip
pip install groundxuv
uv add groundxpoetry
poetry add groundxInstalling groundx
Before you install
Low friction install with a pure-Python wheel. Actively maintained with a release within the last day. Depends on common, well-maintained libraries (httpx, pydantic, requests, tqdm) with no system-level requirements.
License in practice
MIT license permits commercial and private use with minimal restrictions—include a copy of the license and you're free to use, modify, and distribute.
Quickstart
pip install groundx
from groundx import Document, GroundX
client = GroundX(api_key="YOUR_API_KEY")
client.ingest(documents=[Document(bucket_id=1234, file_name="file.txt", file_type="txt", source_url="https://example.com/file.txt")])
Requires Python 3.10 or later; a valid GroundX API key is needed to authenticate.
Verify before relying
- Whether the extraction workflow feature (requiring the [extract] extra) is production-ready or still experimental.
- Performance characteristics and throughput limits for bulk document ingestion.
- Whether the async client is fully feature-parity with the sync client.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — httpx, pydantic, pydantic-core, requests, tqdm, types-tqdm, typing_extensions |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,663/month — #13,136 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: groundx-3.9.7-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pipedreamProvides a Python client library for accessing…
unclear · top 15,000 on PyPI
vapi-server-sdkA Python SDK for the Vapi API, providing…
unclear · top 15,000 on PyPI
python-intercomA Python client library for the Intercom API,…
unclear · top 15,000 on PyPI
mergepythonclientA Python client library for accessing Merge…
unclear · top 5,000 on PyPI
reka-apiProvides a Python client library for accessing…
permissive · top 15,000 on PyPI
nv-ingest-clientPython client library for submitting and…
permissive · top 15,000 on PyPI
httpx-retriesAdds automatic request retry logic to HTTPX,…
permissive · top 5,000 on PyPI
llama-cloud-servicesSDK client for LlamaCloud services: document…
permissive · top 1,000 on PyPI
athenaintelProvides a Python client library for calling…
unclear · top 15,000 on PyPI
agentmailAgentmail provides a Python client library for…
unclear · top 5,000 on PyPI