Skip to content

SearchPyPI is a Python script designed to quickly search and open multiple PyPI (Python Package Index) search results in your default web browser.

License

Notifications You must be signed in to change notification settings

benrandom/pypi_searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SearchPyPI

SearchPyPI is a Python script designed to quickly search and open multiple PyPI (Python Package Index) search results in your default web browser.

Table of Contents

Features

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/benrandom/searchpypi.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

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

Example

To search for packages related to "web scraping" and open 10 tabs:

python3 searchpypi.py web scraping --tabs 10

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature-name.
  3. Commit your changes: git commit -am 'Add some feature'.
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

SearchPyPI is a Python script designed to quickly search and open multiple PyPI (Python Package Index) search results in your default web browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages