Calimero Client Python Bindings
This directory contains the Rust-based Python bindings for the Calimero client library.
🏗️ Structure
bindings/
├── Cargo.toml # Rust package configuration
├── src/
│ ├── lib.rs # Entry point
│ ├── python.rs # Python bindings implementation
│ ├── mod.rs # Module definitions
│ └── README.md # This file
├── calimero_client_py_bindings/
│ └── __init__.py # Python package initialization
├── build.sh # Build script for bindings only
└── tests/ # Rust tests
🔧 Building
From the Repository Root (Recommended)
# From calimero-client-py root directory
./build.sh
# Or with options
./build.sh --install # Build and install in development mode
./build.sh --test # Build and run tests
From the Bindings Directory Only
cd bindings
./build.sh
📦 Dependencies
The bindings depend on these crates (to be published to crates.io):
calimero-client- Core client functionalitycalimero-primitives- Core data types
🚀 Integration
These bindings are automatically built and integrated with the main Python client when you run the root build script. The pyproject.toml in the repository root is configured to use maturin to build these bindings.
🧪 Testing
# Test Rust code
cd bindings
cargo test
# Test Python integration
cd ..
./build.sh --test
📚 Documentation
- Main README - Overall project documentation
- PUBLISHING.md - How to publish the bindings
- STANDALONE_BUILD.md - Standalone build instructions
Metadata
Release files for calimero-client-py-bindings 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details for calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl |
Release files / calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5af8cc6b9908da8d2a39d067dd96f94526e14af4b028723b716f5f2f2890b163
|
|
BLAKE2b-256 checksum How to use checksums |
235999bb6925812a183cd965914a1fdf3e130be0252835925fe4ed9719c4665b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Security for calimero-client-py-bindings 0.2.2
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.