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 version
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
Hold the command or ctrl key to click on the folder icons as a hyperlink.
Dependencies
- bs4
- rich
- requests
Updates log
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pip_search-0.0.12.tar.gz
.
File metadata
- Download URL: pip_search-0.0.12.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.36.1 importlib-metadata/4.8.3 keyring/18.0.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89c78c36b4907ceb8e6b6313dc8759bf9dce80fbf5ee5f1d57445ea5c5a820d7 |
|
MD5 | f9c80287f1fc933a22303e5191555ea2 |
|
BLAKE2b-256 | 8285c153c48647a7a286be694484bd4bab6124cf15267f12b91080e279cd1227 |
File details
Details for the file pip_search-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: pip_search-0.0.12-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.36.1 importlib-metadata/4.8.3 keyring/18.0.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cf42fd808e12a11a1fe55f9c8bf6a9be172f77bad6afeb4de2be1e59158821 |
|
MD5 | 6f81558bc6df09133079396e837024f7 |
|
BLAKE2b-256 | e900421b95ed1d61adf0355602af8d78afbe1f20fe1dd844d110151e84f78ea4 |