ElectronicsGeek / pyjokes

One line jokes for programmers (jokes as a service)

Home Page:http://pyjok.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

Contributors

Development:

Jokes:

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.

About

One line jokes for programmers (jokes as a service)

http://pyjok.es

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%