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.
Python 3:
sudo apt-get install python3-pip sudo pip3 install pyjokes
or on some systems:
sudo apt-get install python3-pip sudo pip-3.2 install pyjokes
Python 2:
sudo apt-get install python-pip sudo pip install pyjokes
Usage
Once installed, simply call pyjoke from the command line.
Alternatively use the -c flag to get jokes from a specific category. Options:
-c neutral [default] (neutral geek jokes) -c explicit (explicit geek jokes) -c chuck (Chuck Norris geek jokes) -c all (all jokes)
You can also access the jokes in your own project by importing pyjokes. You have access to the get_joke function, the jokes list, and the joke catgeory lists separately: geek_neutral, geek_explicit, chuck_nerdy.
Contributors
Contributing
New jokes should be proposed in the proposal issue or via pull request.
Pyjokes Society
This project is directed by the Pyjokes Society
Open Source
The code is licensed under the BSD Licence
The project source code is hosted on GitHub
Please use GitHub issues to submit bugs and report issues
Feel free to contribute!
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.4.1.tar.gz
.
File metadata
- Download URL: pyjokes-0.4.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb0270287b7cdccac2c049f057ec8deabeac31ae2f7955fd04cfd58a8579a86 |
|
MD5 | b7ed8e98d810bc13d4b31efc24fbe7c2 |
|
BLAKE2b-256 | ccf2cbe7de24acd902dc3dd4b705d735cbdb177f0a422ec53e67a04e7522199b |
File details
Details for the file pyjokes-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pyjokes-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d0745860572f795afdd65a48417263fcb9253d8c0742d25f27d7f835eafef68 |
|
MD5 | 3387ac7e71f6e681994eb01466b7f1bd |
|
BLAKE2b-256 | dfe801e3ec4e8fae8688dd9eb10a98a5b42a3013b7c456bb7d7940f20ef7e44c |