Metadata-Version: 2.1
Name: pybrainyquote
Version: 0.6
Summary: Get quotes from brainyquote. Make you life positive.
Home-page: https://github.com/Freakwill/pybrainyquote
License: MIT
Keywords: brainyquote,crawler
Author: William Song
Author-email: 30965609+Freakwill@users.noreply.github.com
Requires-Python: >=3.7,<4.0
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: bs4
Requires-Dist: furl
Requires-Dist: requests
Project-URL: Repository, https://github.com/Freakwill/pybrainyquote
Description-Content-Type: text/plain

==============
PyBrainyquote
==============

Get quotes from brainyquote. Make you life positive.

Requirements
-------------

requests

bs4

furl


Download
---------

pip install pybrainyquote


Why
--------

The original one `brainyquote` is too simple. 



Grammar
--------
    
import::

    from pybrainyquote import *


get quotes::

    Quote.today(topic=what you like) # get today topic
    get_popular_topics() # have a look at the lists popular topics, if you do not have any idea
    get_topics()
    get_authors()

    # just try the following
    Quote.find_all(topic)
    Quote.find(topic)
    Quote.find(topic)

    Quote.choice_yaml(yamlfile) # choose a quote in yaml files randomly
    Quote.read_yaml(yamlfile)

Future
-------
Define a search engine for quotes, and a method to get one quote randomly. (Completed partly)
