quantumrand-sdk
True quantum randomness from Origin Wukong — one line of code.
Installation
pip install quantumrand-sdk
Quick Start
from quantumrand import QuantumRandClient
client = QuantumRandClient(api_key="qr_your_key_here")
# Generate random bits
bits = client.random_bits(128)
# Generate a random integer
result = client.random_int(1, 100)
# Generate random bytes
result = client.random_bytes(32)
# Check usage
usage = client.usage()
API Reference
QuantumRandClient(api_key, base_url="https://api.quantumrand.dev")
random_bits(num_bits=128)— Generate quantum random bitsrandom_int(min_val=0, max_val=255)— Generate a random integer in rangerandom_bytes(num_bytes=16)— Generate random bytes (hex-encoded)usage()— Get API usage statistics
License
MIT
Metadata
Release files for quantumrand-sdk 1.0.0
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 |
|---|---|---|---|---|
| quantumrand_sdk-1.0.0.tar.gz | 2.7 kB | Without provenance | Details for quantumrand_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quantumrand_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for quantumrand_sdk-1.0.0-py3-none-any.whl |
Total release size: 5.5 kB
Release files / quantumrand_sdk-1.0.0.tar.gz
| Download URL | quantumrand_sdk-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2388f224860319f2711eff89dfd00fc48469795399e935eca9417cdb58f053c2
|
|
BLAKE2b-256 checksum How to use checksums |
376313b6b1b6dec9819fd387b77e89b7dfcead2ddbe3688198e712927fa3db69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / quantumrand_sdk-1.0.0-py3-none-any.whl
| Download URL | quantumrand_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e05953c58a260f41c58350540950140e028728feb102b88e697ed0c42742a2bd
|
|
BLAKE2b-256 checksum How to use checksums |
b8fa679a2742f2ef21e831dc9d25a3b95009d123a00fc73fbd3b8756aa4509ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Security for quantumrand-sdk 1.0.0
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.