https://github.com/abeluck/truly_random
a python RNG that uses /dev/random
https://github.com/abeluck/truly_random
Last synced: 11 days 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 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-02T23:40:27.000Z (almost 14 years ago)
- Last Synced: 2025-03-05T22:25:53.406Z (over 1 year 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/)
(dyoo@hkn.eecs.berkeley.edu).
Implements python's standard library random interface.
example usage:
import truly_random
truly_random.random() #-> 0.27969009844631798
truly_random.choice('aeiou') #-> e
Licensed under the Python Software Foundation License