One line jokes for programmers (jokes as a service)
Install the pyjokes module with pip:
pip3 install pyjokesOnce 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)The project is maintained by the members of the PyJokes Society:
- Ben Nuttall
- Alex Savio
- Borja Ayerdi
- Oier Etxaniz (RIP)
- 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
The pyjokes website and documentation is available at https://pyjok.es/