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.8.tar.gz
(60.6 kB
view hashes)
Built Distribution
randfacts-0.2.8-py3-none-any.whl
(61.6 kB
view hashes)
Close
Hashes for randfacts-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb21f352c9d5941932bcffc64ef4b1c77a397928ceefca5dcf03aaf8fcf1f6b |
|
MD5 | c5167103d60873f5945babc7e0502f23 |
|
BLAKE2b-256 | 9b8b5a1b3b704603a2dd84403aa8584b6ad9850b26a8a1f5c71e56cc88e17e16 |