Skip to main content

random.org number generator interface module

Project description

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

Example of use:

>>> r = randomdotorg.RandomDotOrg()
>>> r.get_quota() # method to get allowed bit quota for this ip
999171
>>> print r.randrange(2, 33, 3)
14

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.

Project details


Download files

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

Source Distribution

randomdotorg-0.1.3a1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file randomdotorg-0.1.3a1.tar.gz.

File metadata

File hashes

Hashes for randomdotorg-0.1.3a1.tar.gz
Algorithm Hash digest
SHA256 18c4d42ca9e9772a169eefc0d32e2780c14360f0652bac4c0209df62fbeba2e4
MD5 c808962359a6e3cdb4fd8598eb9c5c79
BLAKE2b-256 b209269a359d2d7bc10827b1d27b19cb9d109fd9360eb622e9379d98f4d5efeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page