A lightweight Python library and CLI for jokes, dad jokes, roasts, and inspirational quotes.
- π Random jokes
- π¨ Dad jokes
- π₯ Roasts
- π¬ Inspirational quotes
- π Includes 5,521+ quotes
- π» Command Line Interface (CLI)
- π¦ Zero dependencies
- β‘ Fast & lightweight
- π Python 3.8+
pip install FunKitPyfrom funkitpy import joke, dad_joke, roast, quote, advice
print(joke())
print(dad_joke())
print(roast())
print(quote())
print(advice())from funkitpy import joke
print(joke())from funkitpy import dad_joke
print(dad_joke())from funkitpy import roast
print(roast())from funkitpy import quote
print(quote())from funkitpy import advice
print(advice())Returns the raw quote dictionary.
from funkitpy import quote_data
print(quote_data())Example:
{
"quote": "The best way to get started is to quit talking and begin doing.",
"author": "Walt Disney"
}The following aliases are also available:
from funkitpy import (
get_joke,
get_dad_joke,
get_roast,
get_quote,
get_advice
)These functions behave exactly the same as:
joke()
dad_joke()
roast()
quote()
advice()FunKitPy includes a built-in CLI.
funkit jokefunkit dad-jokefunkit roastfunkit quotefunkit advicefunkit -v
funkit -V
funkit --versionfunkit commandsOutput:
joke
dad-joke
roast
quote
advice
Why don't scientists trust atoms?
Because they make up everything.
"The best way to get started is to quit talking and begin doing."
β Walt Disney
funkitpy/
βββ funkitpy/
β βββ __init__.py
β βββ advices.py
β βββ jokes.py
β βββ roasts.py
β βββ quotes.py
β βββ cli.py
β βββ version.py
β βββ data/
β βββ advices.json
β βββ jokes.json
β βββ dad_jokes.json
β βββ roasts.json
β βββ quotes.json
βββ tests/
βββ pyproject.toml
βββ LICENSE
βββ README.md
- No API keys required
- No internet connection required
- Lightweight and fast
- Easy Python API
- Simple CLI
- Great for bots, scripts, terminals, and fun projects
- Includes a collection of 5,421+ inspirational quotes
Homepage:
https://github.com/fmasterpro27/FunKitPy
Issues:
https://github.com/fmasterpro27/FunKitPy/issues
PyPI:
https://pypi.org/project/FunKitPy/
Licensed under the Apache License 2.0.