Get quotes from brainyquote. Make you life positive.
Get quotes from brainyquote. Make you life positive. :smile:
pip install pybrainyquote
The original one
brainyquote is too simple.
from pybrainyquote import * # or # import pybrainyquote as bq
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, methods mimicking `bs4` 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)
Define a search engine for quotes, and a method to get one quote randomly. (Completed partly)
Support f-string from now on!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pybrainyquote-1.1-py3-none-any.whl