poseidon-py
Python implementation of Poseidon hash
Decision gist · record as of 2026-08-14
Yes, if you need Starknet-compatible Poseidon hashing. The package is actively maintained, has no known vulnerabilities, zero runtime dependencies, and offers precompiled wheels for broad platform coverage. The main caveat is that the license status is unclear—verify the licensing terms before use in proprietary contexts. Install friction is moderate due to compilation requirements on unsupported architectures, but negligible on common platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; precompiled wheels available for common platforms but may require compilation on unsupported architectures.
- Medium install friction due to compiled wheels across many platforms (x86_64, aarch64, armv7l, ppc64le, s390x, riscv64, Windows, macOS).
- Actively maintained with recent release (2026-03-26) and current repository activity.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text provided. Verify licensing before use in proprietary or commercial contexts.
last release 2026-03-26 (141 days) · last repo commit 2026-04-01 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 108,704 downloads/mo, #12,542 on PyPI
Alternatives
Verify before relying
pip install poseidon-py
import poseidon_py
# Hash computation using Starknet-configured parameters- Exact API surface and available functions beyond the hash computation itself
- Whether parameters in poseidon_params.txt are user-configurable or Starknet-only
- Performance characteristics compared to other Poseidon implementations
- Formal license under which the package is distributed
What it is and what it does
Poseidon-py provides a Python wrapper around a C implementation of the Poseidon hash function with the Hades permutation, preconfigured with parameters used in Starknet. It is a cryptographic hash function designed for zero-knowledge proof systems and blockchain applications. The package compiles to native code for performance-critical hashing operations and is distributed as precompiled wheels for most common platforms (Linux, macOS, Windows across multiple architectures). With zero runtime dependencies, it integrates directly into Python applications that need Starknet-compatible hashing.
The package is actively maintained and supports modern Python versions (3.10 and later), with recent updates adding support for Python 3.13 and 3.14. Installation is straightforward on supported platforms via prebuilt wheels, though the compiled nature means some architectures may require local compilation. The Starknet parameter set is baked into the library, making it suitable for applications that specifically need Starknet-compatible hashing without configuration overhead.
Use it for
- Compute Poseidon hashes for Starknet smart contracts or off-chain verification
- Implement zero-knowledge proof systems that require Starknet-compatible hash functions
- Validate or generate Merkle trees using Poseidon hashing in blockchain applications
- Integrate Starknet-compatible cryptographic operations into Python applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Starknet-compatible Poseidon hashing.
The package is actively maintained, has no known vulnerabilities, zero runtime dependencies, and offers precompiled wheels for broad platform coverage. The main caveat is that the license status is unclear—verify the licensing terms before use in proprietary contexts. Install friction is moderate due to compilation requirements on unsupported architectures, but negligible on common platforms.
Install
poseidon-py on PyPI
Before you install
Medium install friction due to compiled wheels across many platforms (x86_64, aarch64, armv7l, ppc64le, s390x, riscv64, Windows, macOS). Actively maintained with recent release (2026-03-26) and current repository activity.
Requires Python 3.10 or later; precompiled wheels available for common platforms but may require compilation on unsupported architectures.
License in practice
License status is unclear—no SPDX identifier or raw license text provided. Verify licensing before use in proprietary or commercial contexts.
Quickstart
pip install poseidon-py
import poseidon_py
# Hash computation using Starknet-configured parameters
Verify before relying
- Exact API surface and available functions beyond the hash computation itself
- Whether parameters in poseidon_params.txt are user-configurable or Starknet-only
- Performance characteristics compared to other Poseidon implementations
- Formal license under which the package is distributed
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 141 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 108,704 / month, #12,542 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: poseidon_py-0.2.0-cp310-cp310-macosx_11_0_universal2.whl; poseidon_py-0.2.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; poseidon_py-0.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; poseidon_py-0.2.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; poseidon_py-0.2.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl; poseidon_py-0.2.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; poseidon_py-0.2.0-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_aarch64.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_armv7l.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_ppc64le.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_riscv64.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_s390x.whl; poseidon_py-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl; poseidon_py-0.2.0-cp310-cp310-win32.whl; poseidon_py-0.2.0-cp310-cp310-win_amd64.whl; poseidon_py-0.2.0-cp311-cp311-macosx_11_0_universal2.whl; poseidon_py-0.2.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; poseidon_py-0.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; poseidon_py-0.2.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; poseidon_py-0.2.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “poseidon hash python”
- poseidon-pyPoseidon hash implementation in Python with a C-based Hades…
- siphashcsiphashc provides a Python binding to the SipHash-2-4 cryptographic…
- fnvhashComputes FNV hash values in pure Python, prioritizing portability…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also crypto-cpp-py · permutation · siphash24 · hashring · siphash · dict-hash · blake3 · murmurhash · pwdlib · uhashring