quote


Namequote JSON
Version 3.0 PyPI version JSON
download
home_pagehttps://github.com/maxhumber/quote
SummaryA wrapper for the Goodreads Quote API
upload_time2024-10-22 00:16:49
maintainerNone
docs_urlNone
authorMax Humber
requires_python>=3.7
licenseNone
keywords quote quotes goodreads wrapper api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h3 align="center">
  <img src="https://raw.githubusercontent.com/maxhumber/quote/master/quote.png" height="300px" alt="quote">
</h3>
<p align="center">
  <a href="https://github.com/maxhumber/gazpacho"><img alt="gazpacho" src="https://img.shields.io/badge/scraper-gazpacho-C6422C"></a>
  <a href="https://pypi.python.org/pypi/quote"><img alt="PyPI" src="https://img.shields.io/pypi/v/quote.svg"></a>
  <a href="https://pepy.tech/project/quote"><img alt="Downloads" src="https://pepy.tech/badge/quote"></a>
</p>




#### About

`quote` is a python wrapper for the Goodreads Quote API, powered by [gazpacho](https://github.com/maxhumber/gazpacho).



#### Quickstart

`quote` is simple to use:

```python
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:

```sh
>>> 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](https://github.com/maxhumber/quote/issues)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/maxhumber/quote",
    "name": "quote",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "quote, quotes, goodreads, wrapper, api",
    "author": "Max Humber",
    "author_email": "max.humber@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6a/d7/7c94e86dcc615509491a6a2ae3ca7e53434a17ede6bcec887f3cabd24515/quote-3.0.tar.gz",
    "platform": null,
    "description": "<h3 align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/maxhumber/quote/master/quote.png\" height=\"300px\" alt=\"quote\">\n</h3>\n<p align=\"center\">\n  <a href=\"https://github.com/maxhumber/gazpacho\"><img alt=\"gazpacho\" src=\"https://img.shields.io/badge/scraper-gazpacho-C6422C\"></a>\n  <a href=\"https://pypi.python.org/pypi/quote\"><img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/quote.svg\"></a>\n  <a href=\"https://pepy.tech/project/quote\"><img alt=\"Downloads\" src=\"https://pepy.tech/badge/quote\"></a>\n</p>\n\n\n\n\n#### About\n\n`quote` is a python wrapper for the Goodreads Quote API, powered by [gazpacho](https://github.com/maxhumber/gazpacho).\n\n\n\n#### Quickstart\n\n`quote` is simple to use:\n\n```python\nfrom quote import quote\n\nsearch = 'Jasper Fforde'\nresult = quote(search, limit=2)\nprint(result)\n\n# [{'author': 'Jasper Fforde',\n#   'book': 'Something Rotten',\n#   '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.'},\n#  {'author': 'Jasper Fforde',\n#   'book': 'The Well of Lost Plots',\n#   '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.\"}]\n```\n\n`quote` can also be used as a command line tool:\n\n```sh\n>>> max@mbp % quote 'alain de botton'\nPeople only get really interesting when they start to rattle the bars of their cages.\n\n>>> max@mbp % quote --search='alain de botton'\nIntimacy is the capacity to be rather weird with someone - and finding that that's ok with them.\n```\n\n\n\n#### Install\n\n```\npip install -U quote\n```\n\n\n\n#### Contribute\n\nFor feature requests or bug reports, please use [Github Issues](https://github.com/maxhumber/quote/issues)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A wrapper for the Goodreads Quote API",
    "version": "3.0",
    "project_urls": {
        "Homepage": "https://github.com/maxhumber/quote"
    },
    "split_keywords": [
        "quote",
        " quotes",
        " goodreads",
        " wrapper",
        " api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff7abb8b7835d7dcb6c5326547e77cc415e62ee5c31e44d89b0470a828e8157e",
                "md5": "c4af5ac804330b5bf228c078f3641370",
                "sha256": "b7a90c2dc1404d13cad341dfdca315d87549a298d39f11b8fb0c7e7ed02f7de9"
            },
            "downloads": -1,
            "filename": "quote-3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c4af5ac804330b5bf228c078f3641370",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5866,
            "upload_time": "2024-10-22T00:16:47",
            "upload_time_iso_8601": "2024-10-22T00:16:47.932882Z",
            "url": "https://files.pythonhosted.org/packages/ff/7a/bb8b7835d7dcb6c5326547e77cc415e62ee5c31e44d89b0470a828e8157e/quote-3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ad77c94e86dcc615509491a6a2ae3ca7e53434a17ede6bcec887f3cabd24515",
                "md5": "0be15d30b83091c35ef079a6c25c754f",
                "sha256": "06873dfed9200cb2e88f98c562080938b42c88d4a37dcf89542cff3a210b6287"
            },
            "downloads": -1,
            "filename": "quote-3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0be15d30b83091c35ef079a6c25c754f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5328,
            "upload_time": "2024-10-22T00:16:49",
            "upload_time_iso_8601": "2024-10-22T00:16:49.486319Z",
            "url": "https://files.pythonhosted.org/packages/6a/d7/7c94e86dcc615509491a6a2ae3ca7e53434a17ede6bcec887f3cabd24515/quote-3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-22 00:16:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maxhumber",
    "github_project": "quote",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "quote"
}
        
Elapsed time: 0.36011s