Created
February 26, 2021 07:42
-
-
Save morrisalp/b0147cf8673d03236d7628e6db5195e3 to your computer and use it in GitHub Desktop.
Minimal Bash command for searching for Pip packages, now that 'pip search' no longer works. Usage: `./search-pip.sh pyngrok`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget -O - https://pypi.org/simple/ 2>/dev/null | grep "$1" | grep -Po "(?<=>).*(?=<)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment