Skip to main content Switch to mobile version davixlabs-h2i 1.2.1 Official Python SDK for the Davix H2I API: images, PDFs, documents, data and AI tools.
pip install davixlabs-h2i==1.2.1 Copy PIP instructions
Official client for the Davix H2I API: images, PDFs, documents, data and AI tools. Every method, field list, enum and error code is generated from the same API contract as the server.
Python 3.8 or newer, no other packages.
pip install davixlabs-h2i Use
import os from davix_h2i import H2I, ErrorCodes, DavixH2IError h2i = H2I(os.environ["DAVIX_H2I_API_KEY"]) try: result = h2i.images.resize({"images": "photo.jpg", "width": 800}) h2i.download(result.files()[0], dest="photo-800.jpg") except DavixH2IError as error: print(error.code, error.hint, error.request_id) What it does for you
Key safety: the API key is only sent as a header, is never printed, and never follows a redirect or goes to a download address.
Retries: only failures that are safe to repeat; one Idempotency-Key per call, reused by its retries, so a retry never bills twice.
Errors: every error carries the API's code, status, hint, details and request id.
Files: a plain text value is read from disk only for a field the API defines as a file.
New endpoints: the generic request method reaches public /v1/ paths this version does not know yet.
Metadata: each endpoint's schema (types, limits, defaults, allowed values) with an optional check before sending.
Options of one call are keyword arguments: h2i.images.resize(params, idempotency_key="order-42", timeout=120). Tests: python -m unittest discover -s tests.
Developer guide · h2i-support@davixlabs.io
Released: Dec 5, 2026
Both files in this release have provenance metadata.
View provenance details
Other/Proprietary License (Davix H2I SDK License)
davix h2i pdf image api sdk
License Other/Proprietary License
Operating System OS Independent
Programming Language Python :: 3
Release files for davixlabs-h2i 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 982.0 kB
Release files / davixlabs_h2i-1.2.1.tar.gz
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Release files / davixlabs_h2i-1.2.1-py3-none-any.whl
Security for davixlabs-h2i 1.2.1
Both files in this release have been uploaded with provenance metadata.
With provenance davixlabs_h2i-1.2.1.tar.gz Dec 5, 2026
With provenance davixlabs_h2i-1.2.1-py3-none-any.whl Dec 5, 2026
Attestation for davixlabs_h2i-1.2.1.tar.gz
Attestation for davixlabs_h2i-1.2.1-py3-none-any.whl
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.
Release history Release notifications | RSS feed
Dec 5, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











