A lightweight Python library and CLI for jokes, dad jokes, roasts, and inspirational quotes.
- 🎭 Random jokes
- 👨 Dad jokes
- 🔥 Roasts
- 💬 Inspirational quotes
- 📚 Includes 5,421+ quotes
- 💻 Command Line Interface (CLI)
- 📦 Zero dependencies
- ⚡ Fast & lightweight
- 🐍 Python 3.8+
pip install FunKitPyfrom funkitpy import joke, dad_joke, roast, quote
print(joke())
print(dad_joke())
print(roast())
print(quote())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())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
)These functions behave exactly the same as:
joke()
dad_joke()
roast()
quote()FunKitPy includes a built-in CLI.
funkit jokefunkit dad-jokefunkit roastfunkit quotefunkit -v
funkit -V
funkit --versionfunkit commandsOutput:
joke
dad-joke
roast
quote
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
│ ├── jokes.py
│ ├── roasts.py
│ ├── quotes.py
│ ├── cli.py
│ ├── version.py
│ └── data/
│ ├── 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
Contributions, bug reports, and feature requests are welcome.
- Fork the repository
- Create a branch
- Make your changes
- Submit a pull request
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.