--- id: py-sr25519-bindings version: "0.2.4" license: unclear license_treatment: permissive maintenance: active --- # py-sr25519-bindings — Python bindings for schnorrkel RUST crate License: permissive · Maintenance: active · Downloads: 496.9K/mo ## What it is and what it does py-sr25519-bindings wraps the Schnorr signature algorithm from the Rust schnorrkel library, exposing sr25519 cryptographic operations to Python. It provides functions to derive key pairs from seeds, sign messages, and verify signatures—operations essential for blockchain and distributed systems that use sr25519 (notably Polkadot and Kusama). The package ships as pre-compiled wheels for multiple Python versions and platforms, avoiding the need to build Rust code locally in most cases. The library has no runtime dependencies beyond Python itself, making it lightweight to integrate. It is intended for developers building blockchain clients, wallets, or other applications that need sr25519 signing and verification. The permissive Apache 2.0 license and active maintenance status (last release 60 days ago) make it suitable for production use, though the small repository star count suggests a specialized rather than widely-adopted tool. Use it for: - Derive and manage sr25519 key pairs in Python-based Polkadot or Kusama wallet implementations. - Sign and verify blockchain transactions using sr25519 signatures in custom trading or automation bots. - Integrate Schnorr signature verification into Python services that validate messages from sr25519-based networks. - Build cryptographic testing or reference implementations that require sr25519 operations alongside BIP39 seed generation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to the sr25519 Rust cryptographic library for Schnorr signature operations, enabling key derivation, signing, and verification in Python applications. Yes, if you need sr25519 signatures in Python. The package is actively maintained, has no runtime dependencies, ships pre-compiled wheels for most platforms, and carries a permissive license. Install friction is medium due to compiled bindings, but pre-built wheels eliminate local compilation for standard environments. Not worth installing if you don't specifically need Schnorr signatures or are working outside blockchain/Polkadot ecosystems. ## Install pip install py-sr25519-bindings uv add py-sr25519-bindings poetry add py-sr25519-bindings ## Installing py-sr25519-bindings Before you install: Medium install friction due to compiled Rust bindings; wheels are pre-built for Python 3.7–3.14 across Linux (manylinux, musl), macOS, and Windows, reducing the need for local compilation in most environments. License in practice: Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions. Quickstart: pip install py-sr25519-bindings import sr25519 message = b"test" public_key, private_key = sr25519.pair_from_seed(seed_bytes) signature = sr25519.sign((public_key, private_key), message) if sr25519.verify(signature, message, public_key): print('Verified') Requires a seed or key material as input; the example in the description uses bip39 for seed derivation, which is a separate dependency not included in this package. Verify before relying: - Whether the package is actively maintained beyond the last commit date (2026-06-15) or if the repository is in maintenance-only mode. - Performance characteristics and security audit status of the underlying Rust bindings relative to other sr25519 implementations. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 496.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags sr25519 python bindings, schnorrkel signatures, rust crypto bindings, key derivation signing, polkadot cryptography, blockchain, schnorr-signatures, rust-bindings [View on SkillFed](https://skillfed.io/packages/py-sr25519-bindings) · [View on PyPI](https://pypi.org/project/py-sr25519-bindings/)