Skip to content

Instantly share code, notes, and snippets.

@morrisalp
Created February 26, 2021 07:42
Show Gist options
  • Save morrisalp/b0147cf8673d03236d7628e6db5195e3 to your computer and use it in GitHub Desktop.
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`
#!/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