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.11.tar.gz
(66.2 kB
view hashes)
Built Distribution
randfacts-0.2.11-py3-none-any.whl
(67.1 kB
view hashes)
Close
Hashes for randfacts-0.2.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f134faea13200211f44fb13ed3cb1986cf15fc5df04688b69e83c25a7b28e4a |
|
MD5 | e49a91d93addaa3ae5859d97c9150c69 |
|
BLAKE2b-256 | 34f6ab9c121e9c28934d42de7c230bc9a01a4e0c02c19e0047ecbfa08a72e879 |