datanivra-sdk
Typed Python SDK for the DataNivra control-plane API v1 (boundary owner: DX-02).
from datanivra_sdk import DataNivraClient
with DataNivraClient("https://api.example.test", token=session_token) as api:
for job in api.paginate(api.list_jobs, state="FAILED"):
print(job.id, job.state)
src/datanivra_sdk/_operations.pyis generated bytools/gen_python_sdk.pyfromdatanivra_contracts.api.API_ROUTES(make sdk;make contracts-checkfails when stale).client.pyimplements transport: bearer auth for user routes only,Idempotency-Key(re-sent unchanged on retries), retries only for retry-safe operations (GET, or POST with an idempotency key),ApiErrormapping that never echoes non-ApiErrorbodies, and strict response validation against the contract models. The base URL must behttps://; plainhttp://is refused for any non-loopback host (the token would travel unencrypted) unlessallow_insecure_http=Trueis passed explicitly.capacity.pyis the pure capacity planner (PERF-02); it prices scenarios with an injected estimator (client.estimate_capacityor the control plane's authoritative function).- Drift tests:
tests/test_sdk_contract.py(contract ⇄ OpenAPI ⇄ SDK methods ⇄ models),tests/test_sdk_client.py(transport behaviour),tests/test_sdk_integration.py(real composed control plane on embedded PostgreSQL).
The SDK only imports datanivra_contracts (ARCHITECTURE.md §3); it cannot reach connectors,
the engine or the agent protocol. See apps/docs/content/sdk.md for the user guide.
Metadata
Release files for datanivra-sdk 0.3.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 |
|---|---|---|---|---|
| datanivra_sdk-0.3.0.tar.gz | 43.0 kB | Without provenance | Details for datanivra_sdk-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datanivra_sdk-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for datanivra_sdk-0.3.0-py3-none-any.whl |
Total release size: 91.6 kB
Release files / datanivra_sdk-0.3.0.tar.gz
| Download URL | datanivra_sdk-0.3.0.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc20dbbeabda88d416f1ffe97adb5fe8b2086ba620aad79de8ceb1f91cf7c1a4
|
|
BLAKE2b-256 checksum How to use checksums |
559f396af18ab167d9e6de3c4bf618063a7f58f3658eaeb6970471431c94afa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / datanivra_sdk-0.3.0-py3-none-any.whl
| Download URL | datanivra_sdk-0.3.0-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d76cfb30f1071e35fd194815a4b7471a3057956123e1cdd3980ae454b25533a
|
|
BLAKE2b-256 checksum How to use checksums |
b89fea2d22afb4e41b1b0d07cf87e259b50e8ba09221278cf8a1a1f30fe2ce60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for datanivra-sdk 0.3.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.