SearchPyPI is a Python script designed to quickly search and open multiple PyPI (Python Package Index) search results in your default web browser.
- Efficiently retrieves top search results from PyPI.
- Opens multiple search result links in separate browser tabs.
- Customizable: Set the number of search results to open in tabs.
-
Clone the repository:
git clone https://github.com/benrandom/searchpypi.git
-
Install the required dependencies:
pip install -r requirements.txt
Execute the script in your terminal or command prompt, passing the desired search term as an argument:
python3 searchpypi.py <search term> [--tabs NUM_TABS]
Replace <search term>
with the keyword you want to search for on PyPI. You can also specify the number of browser tabs to open with the --tabs
option. If not specified, the default value is 5.
To see all available options, you can use the --help
option:
python3 searchpypi.py --help
To search for packages related to "web scraping" and open 10 tabs:
python3 searchpypi.py web scraping --tabs 10
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature-name
. - Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin feature-name
. - Submit a pull request.
For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE file for details.