Skip to main content

A command line utility to search from command line using various search options and then open browser to see the results.

Project description

A command line utility to open browser for when you want to search something across various search options

Description

This is a simple utility to open browser from command line when you want to search something from various search options. Currently, it supports DuckDuckGo. But quickly, will plan to add the following options as well :

  • DuckDuckGo (“ddg”)
  • GOOGLE (“g”)
  • WIKIPEDIA (“w”)
  • WIRECUTTER (“wc”)
  • AMAZON (“a”)
  • CREATIVE_COMMONS (“cc”)
  • IMDB (“imdb”)
  • SWIGGY (“sw”)

Installation

Run the following command to install clisy

pip install clisy

Once clisy is installed, you get a command line utility called clisycp.

Usage

It is simple command line utility. To see the usage, you can type the following

clisycp -h

Alternatively, here is the usage from version 0.0.3 so far

usage: clisycp [-h]
           [--ddg <query_string> | -g <query_string> | -w <query_string> | --wc <query_string> | -a <query_string> | --cci <query_string> | --imdb <query_string> | --sw <query_string>]
           [-v] [-vv]

CLI Search

optional arguments:
  -h, --help            show this help message and exit
  --ddg <query_string>, --duck-duck-go <query_string>
                        Search in DuckDuckGo
  -g <query_string>, --google <query_string>
                        Search in Google
  -w <query_string>, --wikipedia <query_string>
                        Search in Wikipedia
  --wc <query_string>, --wirecutter <query_string>
                        Search in Wirecutter
  -a <query_string>, --amazon <query_string>
                        Search in Amazon
  --cci <query_string>, --creative-commons-image <query_string>
                        Image Search in Creative Commons
  --imdb <query_string>
                        Search in IMDb
  --sw <query_string>, --swiggy <query_string>
                        Search in Swiggy
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose   set loglevel to DEBUG

Note

This project has been set up using PyScaffold 4.0.2. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for clisy, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size clisy-0.0.4-py2.py3-none-any.whl (11.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size clisy-0.0.4.tar.gz (17.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page