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.

See the documentation for installation instructions.

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 adult (adult 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 and using the functions get_joke and get_jokes

Comprehensive documentation is available at http://pyjoke.es

Contributing

Tests

Install requirements (pytest)

Run tests:

python setup.py test

Pyjokes Society

This project is was founded at PySS 2014 and is directed by the Pyjokes Society.

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.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pyjokes-0.5.0-py2.py3-none-any.whl (12.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyjokes-0.5.0.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page