A lightweight Python library and CLI for jokes, dad jokes, and roasts.
- 🎭 Random jokes
- 👨 Dad jokes
- 🔥 Roasts
- 💻 Command Line Interface (CLI)
- 📦 Zero dependencies
- ⚡ Fast & lightweight
- 🐍 Python 3.8+
pip install FunKitPyfrom funkitpy import joke, dad_joke, roast
print(joke())
print(dad_joke())
print(roast())from funkitpy import joke
print(joke())from funkitpy import dad_joke
print(dad_joke())from funkitpy import roast
print(roast())The following aliases are also available:
from funkitpy import get_joke
from funkitpy import get_dad_joke
from funkitpy import get_roastThese functions behave exactly the same as:
joke()
dad_joke()
roast()FunKitPy includes a built-in CLI.
funkit jokefunkit dad-jokefunkit roastfunkit -v
funkit -V
funkit --versionfunkit commandsWhy don't scientists trust atoms?
Because they make up everything.
funkitpy/
├── funkitpy/
│ ├── __init__.py
│ ├── jokes.py
│ ├── roasts.py
│ ├── cli.py
│ ├── version.py
│ └── data/
│ ├── jokes.json
│ ├── dad_jokes.json
│ └── roasts.json
├── tests/
├── pyproject.toml
├── LICENSE
└── README.md
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.