skip to navigation
skip to content

randomdotorg 0.1.3a3 number generator interface module is a python module to implement python’s random number interface by fetching data from, which is is a true random number service that generates randomness via atmospheric noise.

Example of use:

>>> r = randomdotorg.RandomDotOrg('ExampleCode') # Pass the name of your program
>>> r.get_quota() # method to get allowed bit quota for this ip
>>> print r.randrange(2, 33, 3)

Methods supported by the standard library random module are supported, except for save/load state and seeding which won’t make sense for a true random number generator.

File Type Py Version Uploaded on Size
randomdotorg-0.1.3a3.tar.gz (md5) Source 2014-05-13 3KB