Skip to main content

Get git joke in command line

Project description

git-joke

.. image:: https://travis-ci.org/vitakrya/git-joke-cli.svg?branch=master :target: https://travis-ci.org/vitakrya/git-joke-cli

Usage

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
Usage:
    git-joke [--all]

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

License

MIT

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

git-joke-cli-1.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

git_joke_cli-1.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file git-joke-cli-1.1.1.tar.gz.

File metadata

  • Download URL: git-joke-cli-1.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.5.2

File hashes

Hashes for git-joke-cli-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7eb237deacc1de1370d449d059cde59b42026810e77d8f8eb9b6952b86adfcda
MD5 e4a8980a892d3f277168895a5ad464f9
BLAKE2b-256 1d4e964adad0c6e1a6a1ce2bd996059450395b3d4dd40abb76e7f8741c8f4980

See more details on using hashes here.

File details

Details for the file git_joke_cli-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: git_joke_cli-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.5.2

File hashes

Hashes for git_joke_cli-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09212fa9cc97b0cb5583b99eb033c2e6a876c8321423d42a0b06b89500fe434b
MD5 8bc6327196401a088f55e8a31e583bc0
BLAKE2b-256 ae800244fd30f4789e8be1b4341a31f2cb3669621fef0ef4ae85e32bf100c19f

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