Skip to main content

One line jokes for programmers (jokes as a service)

Project description

One line jokes for programmers (jokes as a service)

Installation

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

Usage

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.

Contributors

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.

Source Distribution

pyjokes-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyjokes-0.1.1.tar.gz
Algorithm Hash digest
SHA256 551af0604abbdbecd15170d31b1c01655b5d544ad7866785af57123cdd849be1
MD5 9c628793d25a7e6a02cfe3a574dfea88
BLAKE2b-256 e7120f850c059dc41f806ab0b45f5d1b90d4e8c18e651b1f2ef2eeb00b46b213

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