A Package which can give you Random Facts in an easy way!
Project description
Factful.py
A Package which can give you Random Facts in an easy way!
Links
Quick Example
1. Getting Random Facts
# Import factful.py Module
import factful
# Define facts function
facts = factful.facts()
# Getting random fact from random cateogary
print(facts["all"])
# Getting random facts from a paticular cateogary!
# All Cateogaries: "computer", "food", "emoji", "space"
print(facts["computer"])
print(facts["food"])
print(facts["emoji"])
print(facts["space"])
We also have this module as Javascript NPM Package! https://www.npmjs.com/package/factful.js. You can join our Discord Server for support!
© Science Spot | Decimal Development - 2020
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
factful.py-0.0.7.tar.gz
(6.7 kB
view details)
File details
Details for the file factful.py-0.0.7.tar.gz
.
File metadata
- Download URL: factful.py-0.0.7.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 161881ecce2c2c88072967322f444d1e30f9e0c72a14939e8c754e010373d771 |
|
MD5 | a7a01157d780cd708ca695c8da51448f |
|
BLAKE2b-256 | 193dca4156bc24a5b85c774c89a8e5b618493e04ad6073911fc975b75d576139 |