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.2.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file git-joke-cli-1.1.2.tar.gz
.
File metadata
- Download URL: git-joke-cli-1.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c382a3818ad1fd98eb2afead836afc7f7d5fbaa87c0026670a2768a5cabe72 |
|
MD5 | 5b8f90738e650e905f82dd34afc8ee7e |
|
BLAKE2b-256 | 96e42e3248afc7ac6a9d76b164826da65f2c0a24ec70ff68de190dae12f6b77c |
File details
Details for the file git_joke_cli-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: git_joke_cli-1.1.2-py3-none-any.whl
- Upload date:
- Size: 2.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ad5a39bc66d3813bb47c203f0bc33cbea1bb4e0178df6072a11ee8e64e25fb |
|
MD5 | 11b3e7fe4e4481dfed43b38213ba9e6d |
|
BLAKE2b-256 | e5dff6f3467627e00e53f792db8ae9e060d37cc0a27f6ca777edcbb36bf9f5d5 |