Metadata-Version: 2.1
Name: randbyrand
Version: 1.1.0
Summary: Retrive a million random digits by RAND Corporation.
Home-page: https://github.com/lucafrance/randbyrand
Author: Luca Franceschini
Author-email: luca.france@outlook.com
License: MIT License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: numpy
Requires-Dist: pandas

This module includes simple functions to retrieve and work with the digits of [_A Million Random Digits with 100,000 Normal Deviates_](https://www.rand.org/pubs/monograph_reports/MR1418.html) by RAND Corporation.

# Usage

## Get all digits
```
import randbyrand

# As a list
digits = randbyrand.get_digits()

# As a numpy array
digits = randbyrand.get_digits("numpy")

# As a Pandas DataFrame
digits = randbyrand.get_digits("pandas")
```

## Random number generator
```
import randbyrand

random_digit = randbyrand.rand_digit().__next__()
```

