Skip to main content

One line jokes for programmers (jokes as a service)

Project description

https://travis-ci.org/pyjokes/pyjokes.svg

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


Download files

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

Source Distribution

pyjokes-0.4.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

pyjokes-0.4.0-py2.py3-none-any.whl (11.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyjokes-0.4.0.tar.gz.

File metadata

  • Download URL: pyjokes-0.4.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyjokes-0.4.0.tar.gz
Algorithm Hash digest
SHA256 026ef26506ccf49b760a66d9f04f8190f3d2415edc6047a72d923289ec0bed0b
MD5 340a4608aa0d47c7c473ef8f4fa95dac
BLAKE2b-256 e157e06345a41a509da6ec6bf65e28d73477262d9aa90d24a087ae6671199ea0

See more details on using hashes here.

File details

Details for the file pyjokes-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyjokes-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 083955f3ca9fb607e1754b47d3afe735054fd662e81e205f40c8957ccc140220
MD5 6cf5a670b61fedf81840df735210a202
BLAKE2b-256 837b6e5741fd5726e0c3728f55dc299960cc75125dbdcdc6ff277f5aff6ebe45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page