Graphical Random Number Generator


License
MIT
Install
pip install rngIUT==1.0.8

Documentation

rngIUT

Build Status PyPI PyPI - Python Version PyPI - Status Code style: black

rngIUT is a Graphical Random Number Generator

It implements two algorithms that are Blum Blum Shub and Linear Congruential Generator.

Install (or Update) rngIUT

$ pip install rngIUT -U

Note that you may have to install tkinter.

tkinter is usually included with all standard Python distributions.

To check your installation, just type following commands in a Python terminal:

>>> import tkinter as tk # or Tkinter for Python2
>>> tk._test()

If a window with two buttons pops up, you're fine.

Otherwise, proceed to a manual installation:

  • Linux :

    $ sudo apt update
    $ sudo apt install python3-tk
  • Windows :

    The easiest way for you is to install a complete Python distribution such as Anaconda.

Requirements

  • Python 2.7 / Python 3+

Screenshots

Example with Blum Blum Shub

screens/screen1.png

Example with Linear Congruential Generator

About

I made this project during lessons of mathematics in my second year of DUT Informatique which is the French equivalent of 2 years bachelor degree in computer science.

That's why code and program are in French. I'll change the language during a future release.

Licence

This project is under the MIT License.