quoters

Pythonic random quote generator


Keywords
RANDOM, QUOTES, SCRAPPER, python, npm, scraper, typescript, beautifulsoup4, fastapi, quoters
License
MIT
Install
pip install quoters==0.30

Documentation

quoters

A pythonic random quote generator with multiple categoties.

codecov.io

Installation

pip install quoters

Running and usage

from quoters import Quote
print(Quote.print())

Linux shell configuration (BASH)

git clone --branch master https://github.com/suman-kr/quoters.git && cd quoters
chmod +x quoters_script.py
ln -s <PATH_TO_GIT_REPO>/quoters_script.py /usr/local/bin/quoters

### Add the below line to your .bashrc. 
export PATH=$PATH:/usr/local/bin 

Contents

Available Functions

print() # Returns random quotes
print_series_quote() # Returns random TV shows quotes
print_anime_quote() # Returns random Anime quotes
print_programming_quote() #Returns random Programming quotes

Offline usage example

print(True)

Note: Pass True as a parameter for fallback. It works for all the available functions.

Resources

The data consumed are from the following sources:

API

The package can also be used from API. API is hosted on Heroku

http://py-quoters.herokuapp.com/ [Random quote]
http://py-quoters.herokuapp.com/?query=series [Random TV Shows quote]
http://py-quoters.herokuapp.com/?query=anime [Random Anime characters quote]
http://py-quoters.herokuapp.com/?query=programming [Random Programming quote]

Thanks! ❤️