Skip to main content
https://travis-ci.org/pyjokes/pyjokes.svg

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

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!

Release files for pyjokes 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjokes 0.3.0
File Size Uploaded
pyjokes-0.3.0.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyjokes 0.3.0
File Interpreter ABI Platform
pyjokes-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 18.4 kB

Release files / pyjokes-0.3.0.tar.gz

Download URL pyjokes-0.3.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9aa7c046c19ad6cb926abdc3d828d82ef841ec37f48d7b5f1a66b7ba17e6e795
BLAKE2b-256 checksum
How to use checksums
92401122169b842ce4f91c426c6b6dea4d70364d53ddbb9d954c30689cd3062b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyjokes-0.3.0-py2.py3-none-any.whl

Download URL pyjokes-0.3.0-py2.py3-none-any.whl
Size 10.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b40325aedf499d59d7b65142a9f5c5dc54dfead8d6bad86c23c221952306caa0
BLAKE2b-256 checksum
How to use checksums
3d3590666b918243a79d237288ccfaa7308ec3c36470f36cb73a0decd8776bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page