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.3.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

pyjokes-0.3.0-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for pyjokes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9aa7c046c19ad6cb926abdc3d828d82ef841ec37f48d7b5f1a66b7ba17e6e795
MD5 d8f2eb86078abe76528c03d7ed2e4aa6
BLAKE2b-256 92401122169b842ce4f91c426c6b6dea4d70364d53ddbb9d954c30689cd3062b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjokes-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b40325aedf499d59d7b65142a9f5c5dc54dfead8d6bad86c23c221952306caa0
MD5 4dbc1358ebced965df6e2c6d1a080224
BLAKE2b-256 3d3590666b918243a79d237288ccfaa7308ec3c36470f36cb73a0decd8776bf0

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