Skip to main content

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.2.1

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.2.1
File Size Uploaded
pyjokes-0.2.1.tar.gz 8.3 kB Details

Built distribution (wheel)

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

Total release size: 18.8 kB

Release files / pyjokes-0.2.1.tar.gz

Download URL pyjokes-0.2.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1d5f8f1e8132f5bac8a555c4d7805adf2270ca76e0ecb26c2fd4f315f991c1e0
BLAKE2b-256 checksum
How to use checksums
f14eccb79264fd81859d2d665c4969a1bbfc5dcd535c07485ed65e84d42ac06f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyjokes-0.2.1-py2.py3-none-any.whl
Size 10.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6a5192cac3f95bd784170768c28b07e18918628a05b6812902a8e4b9ce410a7a
BLAKE2b-256 checksum
How to use checksums
3d8348b74682f68f2fd3f072d65c03aabdcbc386857bcf20c5f530a92c0f8571
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

0.3.0

2 release files

This release

0.2.1 This release

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