an rng that generates its numbers based off of a kitten livestream
Project description
Kitten RNG
Why?
So I was watching Tom Scott videos when I heard this. So, now I have created a tool that makes a random number based of a kitten livestream that can be found here. What a wonderfully practical invention.
How?
So I used pafy to get the url for the actual video file, and then fed that url into a cv2 VideoCapture and got the first frame (which I can do because pafy only gets a few frames of the livestream). Then I feed that data into a sha256 urllib hash function and convert that to a semi-number.
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
kitten-rng-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for kitten_rng-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5877f12a222e7456e979890013905ff8f991f8234063c1bdf90913b20ac6a34a |
|
MD5 | 4936bb879d3ef4f18fb4564584779bfa |
|
BLAKE2b-256 | 0b7830d78694724499eae5e7fdbaecf452dbec2f0eda862be5a7e77df22cb5f4 |