Skip to main content

Search

Project description

Search CLI

Small tools to interface with search engine form the command line that has tight integration with the linux X clipboard.

For python 3 installs:

sudo apt install surfraw surfraw-extra xclip python3-tk

For python 2

sudo apt install surfraw surfraw-extra xclip python-tk

install with pip install . or pip install search-cli

Programs:

  • search or sr: Search from the command line with a backoff to search for what ever is on your clipboard if you don't type anything
  • search_highlighted: Search for the highlighted span.
  • search_gui: Create a text input box and search for entered text with <Enter>
  • search_gui_highlighted: Same as above but seeded with the currently highlighted text.

search_highlighted, search_gui, and search_gui_highlighted are ideal for keybinding.

When the search bar loses focus (you click away) it will automatically close. If you don't like this behavior you can set SR_CLOSE_LOSS_FOCUS to no to stop it.

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

search-cli-0.0.6.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file search-cli-0.0.6.tar.gz.

File metadata

  • Download URL: search-cli-0.0.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for search-cli-0.0.6.tar.gz
Algorithm Hash digest
SHA256 e637935d7011d380f2b9177de5174598f025563879574cde930dd820280bfa7d
MD5 3ac5b9f3dbbd5f6d67d7cda0569f7912
BLAKE2b-256 c0decd4f441f82da87c6c7f1928fb4408d5f11c9359aeea6c2c7b200d9b0e97d

See more details on using hashes here.

Supported by

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