Skip to main content

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


Download files

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

Source Distribution

pyjokes-0.2.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

pyjokes-0.2.0-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyjokes-0.2.0.tar.gz.

File metadata

  • Download URL: pyjokes-0.2.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyjokes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5da7ddef61a8dd066b835109d286b57186df6adf5e612295ac83f926d6695b6b
MD5 df944287cbd0a0478850fb35cafe3b70
BLAKE2b-256 0175c7d2d6d4f05487cf7bd90145d8f781e8f2b7a8b8fe3145aa66444c26fda0

See more details on using hashes here.

File details

Details for the file pyjokes-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyjokes-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b4cd1d88a7bfc5906916fdf8289a4c80b0465596de1a8e37e5a0037b080f52be
MD5 8e6c0df952dec5cffd9b58012026c774
BLAKE2b-256 1ef1ff190d3cc3f85fd94dfde0fb2a139d4b9edbbaa1d8e72e1dd0f2efcef9ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page