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.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.13.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

pip_search-0.0.13-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pip_search-0.0.13.tar.gz
Algorithm Hash digest
SHA256 7575286ce2437a71f5d7cdde7a84e1f082e83d77793541109d776c4f95903c97
MD5 76b2d741ebe4a5d6d225b53a044f7072
BLAKE2b-256 58f892abc623d3b6f3b198ea27cd34f219cb2c929ede644b10f57207e9034d2d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pip_search-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 fc1e162843dc50b2b95c90465f8b525e40eb17e1af5c91855a806d896777459d
MD5 8226010184b5b0e07ba58ad66ddf5bce
BLAKE2b-256 eadc66004dbcbc2ca30b8fdf471ad968aaaf6e771ff1235ca6f915d9b6fd1f75

See more details on using hashes here.

Supported by

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