Reconify Python SDK
Typed synchronous and asynchronous clients for the public Reconify v2 API.
Installation and quickstart
pip install reconify-python
from reconify import Reconify
with Reconify(api_key="rk_...") as client:
events = client.events.list_events(limit=25)
for event in events.events:
print(event.id, event.status)
The API key may also come from RECONIFY_API_KEY. The default endpoint is
https://api.reconifyhq.com/v2. RECONIFY_API_URL or base_url can select a
staging or self-hosted endpoint, and URLs with or without /v2 are accepted.
Public resources
The client exposes metadata, events, ingestion, issues, organization, and
on-chain evidence registration. The current public contract contains exactly
14 operations. Python methods use
snake_case names and typed Pydantic v2 models from reconify.models.
Sync and async clients provide cursor iterators:
from reconify import AsyncReconify
async with AsyncReconify() as client:
async for event in client.iter_events(limit=100):
print(event.id)
Every operation supports raw=True for RawResponse and per-request timeout
through the timeout keyword. API errors expose status, detail, code,
validation details, response headers, and request ID without including keys or
request bodies. Safe methods retry bounded 429, 503, and transport failures
by default; unsafe retries require RetryConfig(retry_unsafe_methods=True).
Contract synchronization
python scripts/fetch_contract.py
python scripts/fetch_contract.py --latest
pytest -q tests/test_openapi_coverage.py
The default source is the public manifest at
https://docs.reconifyhq.com/openapi/manifest.json. For local SaaS changes,
set RECONIFY_OPENAPI_SPEC to an explicit OpenAPI JSON file. The SDK never
depends on another checkout or an absolute workspace path.
Migration to 2.0.0
Version 2.0.0 targets the v2 monitoring and issue-investigation API at /v2.
Generated operation IDs use stable resource_action identifiers while the
Python resource methods retain their snake_case names. See
UPGRADING.md.
Version 2.2.0 adds settlement event fields, flexible ingestion payloads, and
on-chain evidence source registration. See UPGRADING.md.
Build and release
ruff check .
mypy src
pytest -q
python -m build
The release workflow publishes the built wheel to PyPI after a GitHub release. Additive contract changes require a minor SDK release; SDK fixes require a patch release; breaking public API changes require a new API version and SDK major release.
Metadata
Release files for reconify-python 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reconify_python-2.2.0.tar.gz | 61.5 kB | Without provenance | Details for reconify_python-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reconify_python-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for reconify_python-2.2.0-py3-none-any.whl |
Total release size: 79.2 kB
Release files / reconify_python-2.2.0.tar.gz
| Download URL | reconify_python-2.2.0.tar.gz |
|---|---|
| Size | 61.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b03a42b65ac4672f18a4a543dae8387f0cb193fcae5ac1cdd486f85fbc08879
|
|
BLAKE2b-256 checksum How to use checksums |
e6e496ee58234752b690bf1f2f1a3a81b5a7bd081ba207564809647c80cc2639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / reconify_python-2.2.0-py3-none-any.whl
| Download URL | reconify_python-2.2.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f460ed3a715513335f42df0156dcb5775d0a3d61e368c6dbfab42edef8a862d7
|
|
BLAKE2b-256 checksum How to use checksums |
35ecb18ae4ff1adfd886601739cfcb6fb71805f6f30b597cbb6b9026691fb630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for reconify-python 2.2.0
Provenance
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.