Skip to main content

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 functionality
  • calimero-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

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for calimero_client_py_bindings-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5af8cc6b9908da8d2a39d067dd96f94526e14af4b028723b716f5f2f2890b163
MD5 a8e48ab1ad22b281b5c221352f5a60f5
BLAKE2b-256 235999bb6925812a183cd965914a1fdf3e130be0252835925fe4ed9719c4665b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page