Skip to main content

One line jokes for programmers (jokes as a service)

Project description

One line jokes for programmers (jokes as a service)


Install the pyjokes module in 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 energenie


Once installed, simply call pyjokes from the command line.

Alternatively pass in the argument -chuck for Chuck Norris themed jokes

You can also access the jokes in your own project by importing pyjokes. You have access to the jokes list, and the get_local_joke and get_chuck_nerd_joke functions.


This project began at the PySS 2014 conference in San Sebastian.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyjokes, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pyjokes-0.1.1.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page