Skip to main content

Get git joke in command line

Project description


.. image:: :target:


You can use this as an api to fetch joke by using

.. code-block::

from gitjoke.extractor import get_joke, get_jokes

# Get all jokes in list
jokes = get_jokes()

# Get random joke
joke = get_joke()

Example from the internal help command::

$ git-joke -h
Display random git joke or all git jokes
    git-joke [--all]

    -h --help  Show this help message
    -v --version  Show version
    -a --all  Show all jokes



Project details

Download files

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

Files for git-joke-cli, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size git_joke_cli-1.1.2-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size git-joke-cli-1.1.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page