Metadata-Version: 2.1
Name: rule30py
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License: Apache-2.0
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: documentation, https://github.com/kemingy/rule30
Project-URL: repository, https://github.com/kemingy/rule30

# Rule30

## Installation

```bash
pip install rule30py
```

## Usage

```python
from rule30 import random, Rule30Random

print(random())

# to use the Psuedo-Random Number Generator
rng = Rule30Random()
print(rng.random())
print(rng.getrandbits(8))
# all the methods of random.Random are available, such as:
print(rng.randint(0, 100))
print(rng.uniform(0, 1))
print(rng.choice(range(10))
print(rng.sample(range(10), 3))
```

