Giter Club home page Giter Club logo

pyquoter's Introduction

pyquoter

A CLI tool to save your favorite quotes :).

Installation

pip install pyquoter

Usage

All of the flags and options are visible with the --help flag

Creating quotes

pyquoter -q "This is the quote!" -a "Author Name!" -d 11/20/2020 -t These are Tags

pyquoter -q "This Another quote" -d 11/20/2020 -t cool inspirational # Author defaults to Unkown

pyquoter -q "Just testing stuff" # All that is required is the quote

Searching quotes

To turn a quote insertion into a query just add the -f flag

pyquoter -f -q "quote" # Outputs quotes that contain the word "quote"

pyquoter -f -a "Abraham" # Outputs quotes with any author the word "Abraham" in their name

pyquoter -f -i 1 # Outputs the quote with an ID of 1

pyquoter -f -t inspirational # Outputs any quote tagged with the world inspirational

pyquoter -f # Outputs all the quotes

Sample output:

[3] Pyquoter is alright I guess
 - Josh 11/20/2020

Deleting quotes

If you have a quote that you think isn't up to par, you can delete it by referencing its ID

pyquoter --delete 1 # Deletes the quote with an ID of 1

Creating an Alias

Typing pyquoter may be a bit verbose so if you have a .bashrc add the line alias pq=pyquoter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.