randomdotorg 0.1.3a1
random.org number generator interface module
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.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| randomdotorg-0.1.3a1.tar.gz (md5) | Source | 2008-10-01 15:34:44 | 3KB | 206 | |
- Author: Clovis Fabricio <nosklo at gmail dot com>
- Home Page: http://code.google.com/p/randomdotorg/
- Download URL: http://code.google.com/p/randomdotorg/downloads/list
-
Categories
- Development Status :: 3 - Alpha
- Environment :: Plugins
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License (GPL)
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Scientific/Engineering :: Mathematics
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Utilities
- Package Index Owner: nosklo
- DOAP record: randomdotorg-0.1.3a1.xml
Log in to rate this package.
