Re4ctoR Randomness SDK Client
Project description
r4sdk
r4sdk is a lightweight Python client for the Re4ctoR high-entropy randomness API.
Supports secure random byte fetching via HTTP with API Key authentication.
Ideal for cryptographic, simulation, and research use.
🚀 Features
- 🔒 API key authentication
- ⚡ Fast local access (
localhostby default) - 📦 Clean Python interface
📦 Installation
Install from PyPI:
pip install r4sdk
Or install locally:
pip install .
🧪 Usage
from r4sdk import R4Client
client = R4Client(api_key="demo", host="http://localhost:8082")
print(client.get_random(16).hex())
🔧 CLI Quick Test
echo 'from r4sdk import R4Client; c=R4Client(api_key="demo", host="http://localhost:8082"); print(c.get_random(16).hex())' | python3
📁 Files
r4sdk/__init__.py — core SDK client
test_sdk.py — standalone test
setup.py — packaging
🛡 License
MIT © Pavlo Tvardovskyi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
r4sdk-0.1.5.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
r4sdk-0.1.5-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file r4sdk-0.1.5.tar.gz.
File metadata
- Download URL: r4sdk-0.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6b25d95c77e47ed93c84173531d35ede9b258e66ced9bd0bbc035cc718e9c40
|
|
| MD5 |
18c3c3158d400c524b6fa13fccf42f97
|
|
| BLAKE2b-256 |
e1fbf344a1e23db24ecfe8605f705bbc2cd70f9d58248d172250ccfbd5e1ffe5
|
File details
Details for the file r4sdk-0.1.5-py3-none-any.whl.
File metadata
- Download URL: r4sdk-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfa4f1c5d9afe83cd8c4ff3c6cdb2639a3d7d624dfe0c49a314b6ad7047b703c
|
|
| MD5 |
4cf793b8919a40463552e59e3ff9a4f2
|
|
| BLAKE2b-256 |
1dd45a604ae11e781a4313a680412b740bc660dbc6d7e54de9f64bc381b4e31d
|