Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

One line jokes for programmers (jokes as a service)

Project description

=======
pyjokes
=======

One line jokes for programmers (jokes as a service)

Installation
============

Install the `pyjokes` module with 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 pyjokes

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 explicit (explicit 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`. You have access to the `get_joke` function, the `jokes` list, and the joke catgeory lists separately: `geek_neutral`, `geek_explicit`, `chuck_nerdy`.

Contributors
============

* `Ben Nuttall`_
* `Alex Savio`_
* `Borja Ayerdi`_

Contributing
============

New jokes should be proposed in the `proposal issue`_ or via pull request.

Pyjokes Society
===============

This project is directed by the `Pyjokes Society`_

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!


.. _Ben Nuttall: https://github.com/bennuttall
.. _Alex Savio: https://github.com/alexsavio
.. _Borja Ayerdi: https://github.com/borjaayerdi
.. _https://github.com/pyjokes/pyjokes/issues/10
.. _Pyjokes Society: https://github.com/pyjokes/society
.. _PySS 2014: http://www.pyss.org/
.. _BSD Licence: http://opensource.org/licenses/BSD-3-Clause
.. _GitHub Issues: https://github.com/pyjokes/pyjokes
.. _GitHub: https://github.com/pyjokes/pyjokes/issues

Project details


Release history Release notifications

History Node

0.5.0

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

This version
History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyjokes-0.2.0-py2.py3-none-any.whl (10.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jul 26, 2015
pyjokes-0.2.0.tar.gz (8.3 kB) Copy SHA256 hash SHA256 Source None Jul 26, 2015

Supported by

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