perfectrand
The perfect random number generator. Python module demonstration. Hosted also at official Python package index.
Made for a presentation at Maths and Physics faculty of Charles University in Prague, for a class of Advanced Tools for Software Monitoring and Development - site in Czech.
The module was created by a tutorial at readthedocs.org called Python Packaging User Guide, very well written and simple to use.
The whole project was made in about 30 minutes and no errors happened, I can highly recommend using the Python package system.
Installation
Python 3 required. On Windows you need to have directory C:\path_to_python\Scripts in your PATH (quick guide here).
Then simply use pip install perfectrand
or easy_install perfectrand
.
Usage
Run python shell and simply write the following:
>>> import perfectrand
>>> perfectrand.randint()
42
>>>