Skip to main content

Browse quotes on bash.org from the comfort of your shell.

Project description

https://badge.fury.io/py/bash_quote.png https://travis-ci.org/ruairif/bash_quote.png?branch=master https://pypip.in/d/bash_quote/badge.png

Browse quotes on bash.org from the comfort of your shell.

Installation

If you have pip installed all you have to do is:

pip install bash_quote

Usage

If you have bash_quote installed in your environment you can view quotes by running the command:

bashquote [-h] [-n [NUM_QUOTES]] [-t [{random,r,top,t,latest,l}]]

To use bash quote viewer in a project:

import bash_quote

# get a list of 10 random quotes with rating > 0
bash_quote.get_quotes(option='r', num_quotes=10)

# get the latest quote
bash_quote.get_quotes(option='l', num_quotes=1)

# get the top 100 quotes
bash_quote.get_quotes(option='t', num_quotes=100)

Features

  • View the latest, top or random quotes on bash.org from the comfort of your shell

  • Return a single quote or return up to 100 quotes if you really need to procrastinate

History

1.0.1 (27-01-2014)

  • Fixed sorting bug

  • First release on PyPI.

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

bash_quote-1.0.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file bash_quote-1.0.1.tar.gz.

File metadata

  • Download URL: bash_quote-1.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bash_quote-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8ffe3e02e40c72ded1767046bbe8a6fcf4ba1df319023fc6d5aa6e23f6b8e56c
MD5 4059616599fcb0dff275533bf8562d11
BLAKE2b-256 6e7c36418e4589bb37a8e156ec8086019a2225651ea55c7f199bcd4d0d2f0005

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