One line jokes for programmers (jokes as a service)
Project description
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/
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
Built Distribution
File details
Details for the file pyjokes-0.8.0.tar.gz
.
File metadata
- Download URL: pyjokes-0.8.0.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e406bc09e42491c49c4a2b0b484e8b07a95b3aad5bfc7fd07f2dba04f643fe00 |
|
MD5 | 5305a5bf92bae272c0b34df12382e79c |
|
BLAKE2b-256 | daaa325406901dd0872fdb5fba6124848f220a0b89248cc29d413f80a78a2212 |
File details
Details for the file pyjokes-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pyjokes-0.8.0-py3-none-any.whl
- Upload date:
- Size: 47.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34af51ed8203e7691e2e6b58015736b1d8b98e6a9a82f6729e76532784f1ea50 |
|
MD5 | 9df36c43c886eaed825890b190843cf4 |
|
BLAKE2b-256 | f180832f316a007941fa40db80b11767a44d45cdf3634a1cdff0b5eabc43475d |