Skip to content
/ pyjokes Public
forked from pyjokes/pyjokes

One line jokes for programmers (jokes as a service)

License

Notifications You must be signed in to change notification settings

rokpu/pyjokes

 
 

Repository files navigation

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 adult (adult 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.

About

One line jokes for programmers (jokes as a service)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%