Skip to main content

A package to search like pip used to, via PyPi

Project description

pip_search

Wrapping the needs of a "pip search" command necessity through PyPi.org

Installation & Usage

Install with pip install pip_search

Use with pip_search anything

You can specify sorting options :

  • pip_search -s name
  • pip_search -s released

To use as the traditional pip search <keywords> method, add this alias to your .zshrc, .bashrc, .bash_profile, etc.

alias pip='function _pip(){
    if [ $1 = "search" ]; then
        pip_search "$2";
    else pip "$@";
    fi;
};_pip'

For fish users, run on fish shell:

function pip --wraps="pip"
    set command $argv[1]
    set -e argv[1]
    switch "$command"
        case 'search'
            pip_search $argv
        case '*'
            command pip $command $argv
    end
end

funcsave pip

Then run with pip search

https://raw.githubusercontent.com/kkatayama/pip_search/master/screenshot.png

Hold the command or ctrl key to click on the folder icons as a hyperlink.

Dependencies

  • bs4
  • rich
  • requests

Updates log

  • 0.0.14

    • Passing through CAPTCHA
  • 0.0.13

    • Updated for version info
  • 0.0.12

    • Updated to comply with new PyPi.org format
  • 0.0.11

    • Added date format options
  • 0.0.10

    • Added sorting options
    • Changes thanks to @dsoares and @genevera
  • 0.0.9

    • Hotfix for Python 3.8 to 3.10 compatibility
    • Changes thanks to @jiyeqian
  • 0.0.8 (deleted for compatibility issues with python 3.8 to 3.10)

    • Updated for better compatibility and better display
    • Changes thanks to @RCristiano
  • 0.0.7

    • Merge from pip_search_color, colorized output with hyperlink features
    • Changes thanks to @kkatayama
  • 0.0.6

    • Parsing with beautiful soup, allowing results with one package to be parsed
    • Changes thanks to @nsultova
  • 0.0.4

    • Adding multiple keywords support
    • Adding usage info
    • Changes thanks to @Maxz44

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

pip_search-0.0.14.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

pip_search-0.0.14-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pip_search-0.0.14.tar.gz.

File metadata

  • Download URL: pip_search-0.0.14.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for pip_search-0.0.14.tar.gz
Algorithm Hash digest
SHA256 2d20b923162d01a0d151e172eaa42bc7465d11d2db8eb87c756753bc1a854436
MD5 73f111260413fb73ecf52252be6a9df2
BLAKE2b-256 74fb1eb3c6bb460cf3dd6cac10734aeadb3594e472bcf9789f96ba9d30c52969

See more details on using hashes here.

File details

Details for the file pip_search-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: pip_search-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for pip_search-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8a6109ef4de18f389227618793559c5279f96edf6986db121eac48ef72b543
MD5 3c53241fe90062492de4ffd7c9564661
BLAKE2b-256 284658315c0a3ed4e3e5223855a8bf1977abd2cf3c70b048c8c91bc7a8bafc6c

See more details on using hashes here.

Supported by

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