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
Release history Release notifications | RSS feed
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.0b1.tar.gz
(3.3 kB
view details)
File details
Details for the file randomdotorg-0.1.0b1.tar.gz
.
File metadata
- Download URL: randomdotorg-0.1.0b1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a1cf7b1f58e8a23f3c64daaf9614c5af382497bb583907b738608a41c4f03c3b
|
|
MD5 |
5c57ea09552e68bff9a46a2ec9e684b5
|
|
BLAKE2b-256 |
fa0c3e6d3a96591822084e9ec5f1a4529f2eac3ea031d9ba531f076797893016
|