Skip to main content

Graphical Random Number Generator

Project description


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.


  • Python 2.7 / Python 3+


Example with Blum Blum Shub


Example with Linear Congruential Generator


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.


This project is under the MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rngIUT-1.0.10.tar.gz (301.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page