search-cli-pro
A simple cross-platform CLI tool to search the web directly from your terminal. Supports multiple search engines, interactive preview, and opens results in your favorite browser.
Features
-
Search across Google, Bing, DuckDuckGo, YouTube, Wikipedia, GitHub, Reddit, StackOverflow, and more.
-
Interactive mode for DuckDuckGo, wikipedia, github , arxiv : preview top results, select multiple links, and open them at once.
-
Works on macOS, Linux, and Windows.
-
Optionally specify which browser to open (-a) — Safari, Chrome, Firefox, etc.
-
Automatically clears the terminal before/after searches for a clean interface.
-
Lightweight and easy to use.
Installation
pip install search-cli-pro
Or install directly from source:
git clone https://github.com/Hrishi11572/search-cli-pro.git
cd search-cli-pro
pip install -e .
Usage
Search google:
search google "What's the weather today?"
Search Youtube:
search youtube "lofi hip hop beats"
Search wikipedia:
search wikipedia "Python programming"
Open with Safari (macOS):
search google "machine learning" -a Safari
Interactive mode (DuckDuckGo , Wikipedia, Github , arxiv)
search duckduckgo "python dataclasses" -i
List supported search engines:
search --list
Supported Search Engines
search-cli-pro currently supports the following engines:
General search / news
- Google: search google "query"
- Bing: search bing "query"
- DuckDuckGo: search duckduckgo "query"
- Yahoo: search yahoo "query"
- Qwant (privacy-focused): search qwant "query"
Academic / Scientific
- Google Scholar: search scholar "query"
- arXiv: search arxiv "query"
- PubMed: search pubmed "query"
- Wikipedia: search wikipedia "query"
Shopping / Marketplaces
- Amazon: search amazon "query"
- eBay: search ebay "query"
Social Media
- Twitter: search twitter "query"
- Instagram: search instagram "query"
Q&A / Forums
- Quora: search quora "query"
- Reddit: search reddit "query"
Programming / Developer
- PyPI: search pypi "query"
- npm: search npm "query"
- StackOverflow: search stackoverflow "query"
- GitHub: search github "query"
Maps / Travel
- Google Maps: search maps "query"
Video / Streaming
- Vimeo: search vimeo "query"
- YouTube: search youtube "query"
Platform notes
- macOS : Supports custom browsers via -a
- Linux : Tries given browser, falls back to default if not found
- Windows : Opens in default browser (custom -a not supported yet)
Development
Clone the repo and install in editable mode:
git clone https://github.com/Hrishi11572/search-cli-pro.git
cd search-cli-pro
pip install -e .
Then run:
search google "python argparse"
search duckduckgo "machine learning" -i
License
MIT License - free to use, modify and share
Metadata
Release files for search-cli-pro 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| search_cli_pro-0.1.5.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| search_cli_pro-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / search_cli_pro-0.1.5.tar.gz
| Download URL | search_cli_pro-0.1.5.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03e6c6c25518a0af751dc0f75bb736809f2a2ce5ef6fc0b7934c4d9dbeeab01c
|
|
BLAKE2b-256 checksum How to use checksums |
9564ea2066a5a175ebf5ebd84cf01c5ea0ffa3122485fbf93584aa822aaf792c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / search_cli_pro-0.1.5-py3-none-any.whl
| Download URL | search_cli_pro-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c45350b7496cb128f48c7e1d8213b6c07b77b86163ca70409c9d5080a81dcb9c
|
|
BLAKE2b-256 checksum How to use checksums |
940e2f3456b4cca910835ccefa78ec7b9debbceb8bc80765f2876ad92e2f7da4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for search-cli-pro 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.