Skip to main content

A wrapper for the Goodreads Quote API

Project description

quote

gazpacho PyPI Downloads

About

quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.

Quickstart

quote is simple to use:

from quote import quote

search = 'Jasper Fforde'
result = quote(search, limit=2)
print(result)

# [{'author': 'Jasper Fforde',
#   'book': 'Something Rotten',
#   'quote': 'If the real world were a book, it would never find a publisher. Overlong, detailed to the point of distraction-and ultimately, without a major resolution.'},
#  {'author': 'Jasper Fforde',
#   'book': 'The Well of Lost Plots',
#   'quote': "After all, reading is arguably a far more creative and imaginative process than writing; when the reader creates emotion in their head, or the colors of the sky during the setting sun, or the smell of a warm summer's breeze on their face, they should reserve as much praise for themselves as they do for the writer - perhaps more."}]

quote can also be used as a command line tool:

>>> max@mbp % quote 'alain de botton'
People only get really interesting when they start to rattle the bars of their cages.

>>> max@mbp % quote --search='alain de botton'
Intimacy is the capacity to be rather weird with someone - and finding that that's ok with them.

Install

pip install -U quote

Contribute

For feature requests or bug reports, please use Github Issues

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

quote-3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

quote-3.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file quote-3.0.tar.gz.

File metadata

  • Download URL: quote-3.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for quote-3.0.tar.gz
Algorithm Hash digest
SHA256 06873dfed9200cb2e88f98c562080938b42c88d4a37dcf89542cff3a210b6287
MD5 0be15d30b83091c35ef079a6c25c754f
BLAKE2b-256 6ad77c94e86dcc615509491a6a2ae3ca7e53434a17ede6bcec887f3cabd24515

See more details on using hashes here.

File details

Details for the file quote-3.0-py3-none-any.whl.

File metadata

  • Download URL: quote-3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for quote-3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7a90c2dc1404d13cad341dfdca315d87549a298d39f11b8fb0c7e7ed02f7de9
MD5 c4af5ac804330b5bf228c078f3641370
BLAKE2b-256 ff7abb8b7835d7dcb6c5326547e77cc415e62ee5c31e44d89b0470a828e8157e

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