openentropy (Python)
Hardware entropy for Python, backed by Rust (PyO3 + maturin build).
OpenEntropy harvests randomness from physical noise sources on your machine (timing jitter, thermal effects, scheduler variance, I/O timing, and more), then exposes:
detect_available_sources()for source discoveryget_source_bytes()andget_source_raw_bytes()for single-source samplingget_random_bytes()for conditioned outputget_bytes(..., conditioning="raw|vonneumann|sha256")for research/analysis workflowsrun_all_tests()+calculate_quality_score()for statistical checks
Install
pip install openentropy
Quick start
from openentropy import EntropyPool, detect_available_sources
sources = detect_available_sources()
print(f"{len(sources)} sources available")
pool = EntropyPool.auto()
source = sources[0]["name"]
data = pool.get_source_bytes(source, 64, conditioning="sha256")
print(data.hex())
Docs
- Project: https://github.com/amenti-labs/openentropy
- Python SDK docs: https://amenti-labs.github.io/openentropy/python-sdk/reference/
Metadata
Release files for openentropy 0.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openentropy-0.12.3.tar.gz | 276.1 kB | Without provenance | Details for openentropy-0.12.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openentropy-0.12.3-cp312-cp312-manylinux_2_39_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ x86-64 | Details for openentropy-0.12.3-cp312-cp312-manylinux_2_39_x86_64.whl |
Total release size: 1.8 MB
Release files / openentropy-0.12.3.tar.gz
| Download URL | openentropy-0.12.3.tar.gz |
|---|---|
| Size | 276.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3056e1877697ebcd67ec865979747e64e0bfeaf940875d5b673a9a92c2279620
|
|
BLAKE2b-256 checksum How to use checksums |
4b967aeaedb17624edebb84439063f6b2a397b6d9269df139b3274aa68fc2e4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.6
|
Release files / openentropy-0.12.3-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | openentropy-0.12.3-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
848da19e102f2dc9f4e8f0112530ecceec30d2c558896050e480e387145f6e01
|
|
BLAKE2b-256 checksum How to use checksums |
a083ed50826e1f4e03ee8629f4a3cd871ca46035e336b597bbeec1e8e43b94d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.6
|
Security for openentropy 0.12.3
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.