One line jokes for programmers (jokes as a service)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
pyjokes
scripts
tests
.gitignore
.travis.yml
CONTRIBUTING.md
LICENCE.txt
MANIFEST.in
README.rst
mkdocs.yml
setup.py

README.rst

https://coveralls.io/repos/pyjokes/pyjokes/badge.svg?branch=master&service=github

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 or add it to your .bashrc file to see a joke everytime you start a terminal session.

Use the -c flag to get jokes from a specific category. Options:

-c neutral [default] (neutral geek jokes)
-c chuck (Chuck Norris geek jokes)
-c all (all jokes)
-c twister (Tongue-twister)

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://pyjok.es

Contributors

Development:

Jokes:

Contributing

Tests

Install requirements (pytest)

Run tests:

python setup.py test

Pyjokes Society

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