Package to generate random facts
Project description
Randfacts is a python library that generates random facts. You can use randfacts.getFact()
to return a random fun fact.
Example:
import randfacts
x = randfacts.getFact()
print(x)
will print a random fact like:
Penguins can't taste sweet or savory flavors, only sour and salty ones
This package has a filter option to filter out potentially inappropriate facts. The filter is on by default. To disable the filter, you can just set the filter
parameter to False
.
from randfacts import getFact
print(getFact(False))
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
randfacts-0.2.7.tar.gz
(60.5 kB
view hashes)
Built Distribution
randfacts-0.2.7-py3-none-any.whl
(61.3 kB
view hashes)
Close
Hashes for randfacts-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13348d70e907e61d6c3d8243a32cb50762dfc90a25695a635261cc001908121 |
|
MD5 | fe83059aba6693299b9d9cc20cc24739 |
|
BLAKE2b-256 | 9b139feb20c23fca502e1af007c49f76641c019ab974e670a482dd85a684b1f3 |