A simple joke generator
Project description
PyJokers
PyJokers is a simple Python library that generates random jokes. It supports multiple categories of jokes, including cold jokes and programmer jokes.
Installation
You can install this library using pip:
pip install pyjokers
For example
from pyjokers import PyJokers
joke_gen = PyJokers()
print(joke_gen.get_joke('programmer jokes'))
print(joke_gen.get_joke('cold jokes'))
print(joke_gen.get_joke()) # Random category
Development
git clone https://github.com/tianhukj/pyjokers.git
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
pyjokers-0.2.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyjokers-0.2.0.tar.gz.
File metadata
- Download URL: pyjokers-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de2ca4589b85716d0dedfbb8ac0a5d51e9d60f861b38a58dcec758b09225713a
|
|
| MD5 |
bc9cc93a4769c677f43bb9e5d67120ec
|
|
| BLAKE2b-256 |
db240c681dd23736b3b32518981e0b71faa9e2feeee268b416dd40dc22642b7c
|
File details
Details for the file pyjokers-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pyjokers-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
775b68e573a38d78147a46af5aa2442f98a3fd322200ec4efa1f6920ef8114fb
|
|
| MD5 |
3c91feda03ae5545ee7f12c790a1d83a
|
|
| BLAKE2b-256 |
2c2237b17f0aef7b580419f9b4bdc4b52d065ddd16fd6200de888dd2eb6a96cc
|