Skip to main content

Search anything on main browser directly from terminal

Project description

WbSearch

Search anything on main browser directly from terminal (both words and links).

Installation:

$ pip install wbsearch

Usage:

$ wbsearch argument

Replace argument with your own research. In case you want to search multiple words, you may need to use "" before each space, or use double quotes around, depending on your operating system.

Save a keyword:

$ wbsearch --set keyword link

$ wbsearch -s keyword link

Replace keyword with your own keyword, and link with your own link. This method allows to locally set constant keywords. The same method allows to edit the content of the keyword, simply entering the kewyord and then the new associated link

Remove a keyword:

$ wbsearch --remove keyword

$ wbsearch -r keyword

Replace keyword with the keyword you want to remove from wbsearch user keywords.

Display saved keywords:

$ wbsearch --keywords

$ wbsearch -k

Shows all the saved keywords.

Help:

$ wbsearch --help

Type this command to get help.

Examples:

  • Search a link:

    $ wbsearch https://www.github.com/
    
  • Search a word:

    $ wbsearch python
    
  • Set a keyword:

    $ wbsearch --set github https://www.github.com/
    
    $ wbsearch -s pypi https://pypi.org/
    
  • Use a keyword:

    $ wbsearch github 
    

    Opens the link associated with the keyword "github"

  • Display all the saved keywords:

    $ wbsearch -k
      
    output:
    
      Saved keywords:
          github -> https://www.github.com/
          pypi -> https://pypi.org/
    
  • Remove a keyword:

    $ wbsearch --remove github
    
    $ wbsearch -r pypi
    
  • Get help:

    $ wbsearch --help
      
    output:
    
        Usage: wbsearch [OPTIONS] [ARGUMENT]
    
          Argument: url, word(s) or keyword. To search multiple words, wrap them
          around with double quotes or put "\" before each space
    
          Version: 2.2.1
    
        Options:
          -s, --set TEXT     Set keywords to access your links
          -r, --remove TEXT  Remove a keyword
          -k, --keywords     Show all the saved keywords
          --help             Show this message and exit.
    

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

wbsearch-2.3.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

wbsearch-2.3.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file wbsearch-2.3.1.tar.gz.

File metadata

  • Download URL: wbsearch-2.3.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for wbsearch-2.3.1.tar.gz
Algorithm Hash digest
SHA256 abdc6ae34470b7e04e805576d45e1de28a234c50c139c502841b1dd0af1ffb8c
MD5 152a5159a554f00742d849798dbff16a
BLAKE2b-256 f93b4dfaf45fb5e23dd104653758cfb76f6dfbf1f96170fc63c61ed689929d70

See more details on using hashes here.

File details

Details for the file wbsearch-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: wbsearch-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for wbsearch-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80475b85c9ce51da61593b781ecc3c5c0d21ef501434716cfe394e8da903765c
MD5 f1fa8806385bfee390c216c91bee4957
BLAKE2b-256 58949f2641acf2aa2b7b7eb8c19fff541b8aed76da85d26653a61bf37dcbec1c

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