Metadata-Version: 2.4
Name: r4sdk
Version: 0.1.5
Summary: Re4ctoR Randomness SDK Client
Home-page: https://github.com/pipavlo82/r4-monorepo
Author: Pavlo Tvardovskyi
Author-email: you@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# r4sdk

**r4sdk** is a lightweight Python client for the [Re4ctoR](https://github.com/pipavlo82/r4-monorepo) 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:

```bash
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

