FunKitPy
A lightweight Python library and CLI for jokes, dad jokes, roasts, and inspirational quotes.
Features
- 🎭 Random jokes
- 👨 Dad jokes
- 🔥 Roasts
- 💬 Inspirational quotes
- 📚 Includes 5,521+ quotes
- 💻 Command Line Interface (CLI)
- 📦 Zero dependencies
- ⚡ Fast & lightweight
- 🐍 Python 3.8+
Installation
pip install FunKitPy
Quick Start
from funkitpy import joke, dad_joke, roast, quote, advice
print(joke())
print(dad_joke())
print(roast())
print(quote())
print(advice())
Python API
Random Joke
from funkitpy import joke
print(joke())
Dad Joke
from funkitpy import dad_joke
print(dad_joke())
Roast
from funkitpy import roast
print(roast())
Quote
from funkitpy import quote
print(quote())
Advice
from funkitpy import advice
print(advice())
Quote Data
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"
}
Compatibility Aliases
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()
Command Line Interface
FunKitPy includes a built-in CLI.
Random Joke
funkit joke
Dad Joke
funkit dad-joke
Roast
funkit roast
Quote
funkit quote
Advice
funkit advice
Show Version
funkit -v
funkit -V
funkit --version
Show Commands
funkit commands
Output:
joke
dad-joke
roast
quote
advice
Example Output
Joke
Why don't scientists trust atoms?
Because they make up everything.
Quote
"The best way to get started is to quit talking and begin doing."
— Walt Disney
Project Structure
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
Why FunKitPy?
- 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
Links
Homepage:
https://github.com/fmasterpro27/FunKitPy
Issues:
https://github.com/fmasterpro27/FunKitPy/issues
PyPI:
https://pypi.org/project/FunKitPy/
License
Licensed under the Apache License 2.0.
Metadata
Release files for FunKitPy 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| funkitpy-0.4.0.tar.gz | 225.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| funkitpy-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 455.8 kB
Release files / funkitpy-0.4.0.tar.gz
| Download URL | funkitpy-0.4.0.tar.gz |
|---|---|
| Size | 225.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8af190365b995b6af97cfcf994c622373a6f1a8d65916e9fbc8ae7916b3482c
|
|
BLAKE2b-256 checksum How to use checksums |
18af77f56afe89414eb8eb43269b5cbd36e8ea5dda22bb7cd2a960ecadb04e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / funkitpy-0.4.0-py3-none-any.whl
| Download URL | funkitpy-0.4.0-py3-none-any.whl |
|---|---|
| Size | 230.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9de7eae6c634eaa91b747b04e8d768948188c4855bd50af7f2792e9b9497afa9
|
|
BLAKE2b-256 checksum How to use checksums |
4f0385ebd2a59385c6be7bf5fa8713ee85eea9b0ef196c4dd32490647a33874c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|