Skip to main content

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 (localhost by 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

r4sdk-0.1.5-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for r4sdk-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e6b25d95c77e47ed93c84173531d35ede9b258e66ced9bd0bbc035cc718e9c40
MD5 18c3c3158d400c524b6fa13fccf42f97
BLAKE2b-256 e1fbf344a1e23db24ecfe8605f705bbc2cd70f9d58248d172250ccfbd5e1ffe5

See more details on using hashes here.

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

Hashes for r4sdk-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bfa4f1c5d9afe83cd8c4ff3c6cdb2639a3d7d624dfe0c49a314b6ad7047b703c
MD5 4cf793b8919a40463552e59e3ff9a4f2
BLAKE2b-256 1dd45a604ae11e781a4313a680412b740bc660dbc6d7e54de9f64bc381b4e31d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page