pyjokes
One line jokes for programmers (jokes as a service)
Installation
Install the pyjokes module with pip:
pip3 install pyjokes
Usage
Once installed, simply call pyjoke or pyjokes from the command line or add it to your .bashrc
or .zshrc file to see a joke every time you open a terminal.
You can also access the jokes in your own project by importing pyjokes and using the functions
get_joke and get_jokes. Alternatively, use the pyjokes.forever generator function:
import pyjokes
for joke in pyjokes.forever():
# This will go on forever... you're welcome.
print(joke)
Maintainers
The project is maintained by the members of the PyJokes Society:
- Ben Nuttall
- Alex Savio
- Borja Ayerdi
- Oier Etxaniz (RIP)
Contributing
- The code is licensed under the BSD Licence
- Please use GitHub issues to submit bugs and report issues
- Feel free to contribute to the code
- Feel free to contribute jokes (via pull request or proposal issue)
- See the contributing policy
Website and documentation
The pyjokes website and documentation is available at https://pyjok.es/
Metadata
Release files for pyjokes 0.8.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 | |
|---|---|---|---|
| pyjokes-0.8.0.tar.gz | 43.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyjokes-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 90.5 kB
Release files / pyjokes-0.8.0.tar.gz
| Download URL | pyjokes-0.8.0.tar.gz |
|---|---|
| Size | 43.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e406bc09e42491c49c4a2b0b484e8b07a95b3aad5bfc7fd07f2dba04f643fe00
|
|
BLAKE2b-256 checksum How to use checksums |
daaa325406901dd0872fdb5fba6124848f220a0b89248cc29d413f80a78a2212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / pyjokes-0.8.0-py3-none-any.whl
| Download URL | pyjokes-0.8.0-py3-none-any.whl |
|---|---|
| Size | 47.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34af51ed8203e7691e2e6b58015736b1d8b98e6a9a82f6729e76532784f1ea50
|
|
BLAKE2b-256 checksum How to use checksums |
f180832f316a007941fa40db80b11767a44d45cdf3634a1cdff0b5eabc43475d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|