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.

Source Distribution

clisy-0.0.4.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

clisy-0.0.4-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file clisy-0.0.4.tar.gz.

File metadata

  • Download URL: clisy-0.0.4.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for clisy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5d00689d80e9dde0d7cb20d8a92595bf64ba412b335504a3fa584de45ba9b4b7
MD5 73c79c9df5144c8a82bd21d94bbe77d6
BLAKE2b-256 d5743dd74c658d58060905806f7b17599a595ffc9f45c3e5848e74fb8ad943e2

See more details on using hashes here.

File details

Details for the file clisy-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: clisy-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for clisy-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a64a8da06d8d623c96c88319366da0aec0d50399e7a3c2d94e9988be8a4ff7c8
MD5 de4c8c95f32b6996712868920b3e9c31
BLAKE2b-256 124fc44cc34c55cac3bd06a1de91ec9880ef0023bfa6f47a45f565cff319ab9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page