All Projects → suman-kr → quoters

suman-kr / quoters

Licence: MIT License
📝 Random quotes generator package. Available on npm and PyPi

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to quoters

CourseCake
By serving course 📚 data that is more "edible" 🍰 for developers, we hope CourseCake offers a smooth approach to build useful tools for students.
Stars: ✭ 21 (+23.53%)
Mutual labels:  scraper, beautifulsoup4, fastapi
dolarPy
Checks USD/PYG exchange rate from several sites, with a calculator, RESTful API and a twitter bot
Stars: ✭ 45 (+164.71%)
Mutual labels:  scraper, beautifulsoup4
Kanye.rest
🌊 A free REST API for random Kanye West quotes (Kanye as a Service)
Stars: ✭ 558 (+3182.35%)
Mutual labels:  quotes, random
Jobfunnel
Scrape job websites into a single spreadsheet with no duplicates.
Stars: ✭ 1,528 (+8888.24%)
Mutual labels:  scraper, beautifulsoup4
TikTokDownloader PyWebIO
🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音|TikTok数据爬取工具,支持API调用,在线批量解析及下载。
Stars: ✭ 919 (+5305.88%)
Mutual labels:  scraper, fastapi
papercut
Papercut is a scraping/crawling library for Node.js built on top of JSDOM. It provides basic selector features together with features like Page Caching and Geosearch.
Stars: ✭ 15 (-11.76%)
Mutual labels:  scraper
arachnod
High performance crawler for Nodejs
Stars: ✭ 17 (+0%)
Mutual labels:  scraper
the-weather-scraper
A Lightweight Weather Scraper
Stars: ✭ 56 (+229.41%)
Mutual labels:  scraper
discord-music
Discord music bot written in Typescript
Stars: ✭ 12 (-29.41%)
Mutual labels:  scraper
fastapi-oidc
Verify and decrypt 3rd party OIDC ID tokens to protect your fastapi (https://github.com/tiangolo/fastapi) endpoints.
Stars: ✭ 24 (+41.18%)
Mutual labels:  fastapi
mongodb-scraper
Scraps for publicly accessible MongoDB instances and dumps user passwords
Stars: ✭ 33 (+94.12%)
Mutual labels:  scraper
Episode-ReName
电视剧/番剧自动化重命名工具
Stars: ✭ 89 (+423.53%)
Mutual labels:  scraper
fastapi-uvicorn-gunicorn-nginx-supervisor-boilerplate
Production ready boilerplate to start with Fastapi
Stars: ✭ 17 (+0%)
Mutual labels:  fastapi
bot
Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
Stars: ✭ 321 (+1788.24%)
Mutual labels:  scraper
Bank-Note-Authentication
💸 Authenticate Bank Notes on the basis of Genuity and Forged using Sklearn and deployed on Heroku and FastAPI Server 💳 💲
Stars: ✭ 17 (+0%)
Mutual labels:  fastapi
MediumScraper
Scraping articles of medium and providing audio versions 📑 to 🔊 using django
Stars: ✭ 12 (-29.41%)
Mutual labels:  beautifulsoup4
Android-Apps-Downloader
📱 A tool to download android apps from Google Play Store and Xiaomi App Store (the famous Chinese Store).
Stars: ✭ 16 (-5.88%)
Mutual labels:  scraper
extract-css
Extract all CSS from a webpage, packaged as a Now V2 Lambda
Stars: ✭ 23 (+35.29%)
Mutual labels:  scraper
jsf
Creates fake JSON files from a JSON schema
Stars: ✭ 46 (+170.59%)
Mutual labels:  fastapi
berlin corona cases
Scraper for the official dashboard with current Corona case numbers, traffic light indicators ("Corona-Ampel") and vaccination situation for Berlin.
Stars: ✭ 19 (+11.76%)
Mutual labels:  scraper

quoters

A pythonic random quote generator with multiple categoties.

codecov.io Pypi Downloads npm version

PyPi

Installation

pip install quoters

Running and usage

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

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.

NPM

Installation

npm install quoters

Running and usage

// ES6 and Typescript
import Quote from 'quoters';
const randomQuote = new Quote('QUOTE').get()
console.log(randomQuote);

// ES5 and old JS
var Quote = require('quoters').default;
const randomQuote = new Quote('QUOTE').get()
console.log(randomQuote);

Categories

- QUOTE: Random quote
- ANIME: Random anime quote
- SERIES: Random famous TV series quote
- PROGRAMMING: Random geeky quote xD

CLI

BASH shell configuration (Linux and MacOS)

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

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

Running and usage

quoters help # List down all the available categories

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]

Resources

The data consumed are from the following sources:

Thanks! ❤️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].