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:

pip3 install pyjokes

Usage

Once installed, simply call pyjoke or pyjokes from the command line or add it to your .bashrc or .zshrc file to see a joke every time you open a terminal.

You can also access the jokes in your own project by importing pyjokes and using the functions get_joke and get_jokes. Alternatively, use the pyjokes.forever generator function:

import pyjokes


for joke in pyjokes.forever():
    # This will go on forever... you're welcome.
    print(joke)

Maintainers

The project is maintained by the members of the PyJokes Society:

  • Ben Nuttall
  • Alex Savio
  • Borja Ayerdi
  • Oier Etxaniz (RIP)

Contributing

  • The code is licensed under the BSD Licence
  • Please use GitHub issues to submit bugs and report issues
  • Feel free to contribute to the code
  • Feel free to contribute jokes (via pull request or proposal issue)
  • See the contributing policy

Website and documentation

The pyjokes website and documentation is available at https://pyjok.es/

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.8.0.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

pyjokes-0.8.0-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjokes-0.8.0.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pyjokes-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e406bc09e42491c49c4a2b0b484e8b07a95b3aad5bfc7fd07f2dba04f643fe00
MD5 5305a5bf92bae272c0b34df12382e79c
BLAKE2b-256 daaa325406901dd0872fdb5fba6124848f220a0b89248cc29d413f80a78a2212

See more details on using hashes here.

File details

Details for the file pyjokes-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: pyjokes-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pyjokes-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34af51ed8203e7691e2e6b58015736b1d8b98e6a9a82f6729e76532784f1ea50
MD5 9df36c43c886eaed825890b190843cf4
BLAKE2b-256 f180832f316a007941fa40db80b11767a44d45cdf3634a1cdff0b5eabc43475d

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