Metadata-Version: 2.1
Name: Python-PCG
Version: 0.2
Summary: Python wrapper around the PCG c++ library.
Author-email: Matthijs Wesseling <matthijs.wesseling@dyme.app>
Project-URL: Homepage, https://github.com/Bladieblah/PyPCG
Project-URL: Bug Tracker, https://github.com/Bladieblah/PyPCG/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Python-PCG

This is a python wrapper around the pcg-cpp library, for randum number generation using the _permuted congruential generator_ method. For more information, see [the official website](https://www.pcg-random.org/).

## Installation
```bash
pip install Python-PCG
```

## Usage:

```python
import py_pcg

rng = py_pcg.PCG32()
rng = py_pcg.PCG32(42, 9001) # Seed with initial stream and state.

rng.rand()     # Generate a single random uniform number.
rng.randn(100)     # Generate a list of random numbers following a standard normal PDF.
rng.randint(1000, bound=100) # Generate a list of bounded random integers.
```
