Python bindings for Calimero client library
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5af8cc6b9908da8d2a39d067dd96f94526e14af4b028723b716f5f2f2890b163
|
|
| MD5 |
a8e48ab1ad22b281b5c221352f5a60f5
|
|
| BLAKE2b-256 |
235999bb6925812a183cd965914a1fdf3e130be0252835925fe4ed9719c4665b
|