https://github.com/abeluck/truly_random
a python RNG that uses /dev/random
https://github.com/abeluck/truly_random
Last synced: 4 months ago
JSON representation
a python RNG that uses /dev/random
- Host: GitHub
- URL: https://github.com/abeluck/truly_random
- Owner: abeluck
- License: other
- Created: 2012-08-02T23:35:26.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-02T23:40:27.000Z (almost 13 years ago)
- Last Synced: 2025-01-16T08:28:11.917Z (6 months ago)
- Language: Python
- Size: 102 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# truly_random - a python RNG that uses /dev/random
This is a simplified version of truly_random from [Danny Yoo](https://hkn.eecs.berkeley.edu/~dyoo/python/truly_random/)
([email protected]).Implements python's standard library random interface.
example usage:
import truly_random
truly_random.random() #-> 0.27969009844631798
truly_random.choice('aeiou') #-> eLicensed under the Python Software Foundation License