Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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('ExampleCode') # Pass the name of your program
>>> 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.

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.3a3.tar.gz (4.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for randomdotorg-0.1.3a3.tar.gz
Algorithm Hash digest
SHA256 63545d0c2f4895815b98c0e0df66d703da61f7079b3409a3056af4f7c959ede6
MD5 8f268d3e763fe8b31d0218696a743bbf
BLAKE2b-256 543139c9d6ae65fdafeabe8ffb4293ecc454fae36611569b0d18a7caa1dafc0d

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page