python-sdk
Python SDK for the UTxO RPC interface
Features
- Sync and Query service clients for Cardano blockchain
- Support for both synchronous and asynchronous operations
- Type-safe implementation with Protocol Buffers
- Easy-to-use API with connection management
Important Note
Due to import path issues in utxorpc-spec 0.16.0, you must import spec_compatibility before using this SDK:
import spec_compatibility
from utxorpc import CardanoSyncClient, CardanoQueryClient
Setup
utxorpc requires Python3.9>,<4.0. To setup a local environment you can run:
just init
This will use your system's python3, whichever it may be. If you wish to setup a particular Python executable (for example, python3.12) you should do:
just init python3.12
To run the examples, you require an Demeter API Key for the UtxoRPC service. To get your API key, you can check the documentation at (https://docs.demeter.run/cli)[https://docs.demeter.run/cli]:
just run-examples YOUR_DMTR_API_KEY
Contributing
Before commiting, make sure to run the following to format and lint the code.
just format
just lint
Metadata
Release files for utxorpc 0.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 |
|---|---|---|---|---|
| utxorpc-0.2.0.tar.gz | 10.1 kB | Without provenance | Details for utxorpc-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utxorpc-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for utxorpc-0.2.0-py3-none-any.whl |
Total release size: 23.9 kB
Release files / utxorpc-0.2.0.tar.gz
| Download URL | utxorpc-0.2.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
653553927c9d8aea23a54e7ce2936406d16f77d09160e0ccce3d6087ee7708a0
|
|
BLAKE2b-256 checksum How to use checksums |
83de37c848cf490286215398411b74c696b908423c65c891ab29a73104646119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Release files / utxorpc-0.2.0-py3-none-any.whl
| Download URL | utxorpc-0.2.0-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f90643072f427ac3074a2bda164aa5b9bd5c5dd95e60af42b5b9ddb2feea262f
|
|
BLAKE2b-256 checksum How to use checksums |
7d07ddb72ee520f5695afe5e34120f0ab4bc043544e0583bebeb486db4d5a005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Security for utxorpc 0.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.