zeroentropy
The official Python library for the ZeroEntropy API
What it is and what it does
ZeroEntropy is an official Python SDK that wraps the ZeroEntropy REST API with type-safe request and response handling. It provides both synchronous and asynchronous clients built on httpx, with full type hints for all parameters and responses using Pydantic models and TypedDicts. The library handles common API patterns like automatic pagination, error classification (connection errors, rate limits, authentication failures), and automatic retries for transient failures.
The package is designed for developers integrating document management and collection operations into Python applications. It supports environment-based API key configuration, offers helper methods for serializing responses to JSON or dictionaries, and provides granular control over pagination when needed. An optional aiohttp backend is available for improved async concurrency performance.
Use it for:
- Add, retrieve, and manage documents in named collections via a type-safe Python interface.
- Build async-first applications that interact with ZeroEntropy without manual HTTP request handling.
- Iterate through large paginated result sets automatically without manual page-fetching logic.
- Handle API errors with specific exception types (rate limits, authentication, server errors) for targeted retry logic.
- Integrate ZeroEntropy into existing Python projects with full IDE autocomplete and type checking support.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Type-safe Python client for the ZeroEntropy REST API, with synchronous and asynchronous support and automatic pagination.
Yes, with conditions. The package is actively maintained, has low install friction, and offers solid type safety and async support. However, it is in pre-release (0.1.0a11), so expect potential breaking changes; use it in production only if you can tolerate version pinning and monitor releases. For new projects or internal tools, it is a reasonable choice.
Install
zeroentropy on PyPI
pip
pip install zeroentropyuv
uv add zeroentropypoetry
poetry add zeroentropyInstalling zeroentropy
Before you install
Low install friction with a pure-wheel distribution and six common dependencies. Active maintenance with a recent commit on 2026-05-13 and regular releases; however, the package is in pre-release (0.1.0a11), so breaking changes may occur.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install zeroentropy
import os
from zeroentropy import ZeroEntropy
client = ZeroEntropy(api_key=os.environ.get("ZEROENTROPY_API_KEY"))
response = client.documents.add(
collection_name="example_collection",
content={"type": "text", "text": "Example Content"},
path="my_document.txt",
)
print(response.message)
Requires Python 3.9 or later and a valid ZeroEntropy API key from https://dashboard.zeroentropy.dev/.
Verify before relying
- Whether the pre-release status (0.1.0a11) indicates API stability or ongoing breaking changes.
- Performance characteristics of automatic pagination for large result sets.
- Support for optional aiohttp backend and its performance trade-offs versus httpx.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — anyio, distro, httpx, pydantic, sniffio, typing-extensions |
| Maintenance | actively maintained — 164 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 160,924/month — #10,649 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zeroentropy-0.1.0a11-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
supermemoryProvides a Python client library for the…
permissive · top 15,000 on PyPI
opencode-aiProvides a Python client library for the…
permissive · top 15,000 on PyPI
composio-clientA Python client library for the Composio REST…
permissive · top 5,000 on PyPI
cloudflareProvides a Python client library for the…
permissive · top 5,000 on PyPI
agentex-clientProvides a typed Python REST client for the…
permissive · top 15,000 on PyPI
groqProvides a Python client library for accessing…
permissive · top 1,000 on PyPI
reductoaiA Python client library for the Reducto REST…
permissive · top 5,000 on PyPI
hiddenlayer-sdkProvides a typed Python client for the…
permissive · top 15,000 on PyPI
letta-clientProvides a Python client library for the Letta…
permissive · top 15,000 on PyPI
braintrust-apiProvides a Python client library for the…
permissive · top 15,000 on PyPI