Skip to content

extensive search option #4964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
metulburr opened this issue Jan 14, 2018 · 2 comments
Closed

extensive search option #4964

metulburr opened this issue Jan 14, 2018 · 2 comments
Labels
C: list/show 'pip list' or 'pip show' C: search 'pip search' type: enhancement Improvements to functionality

Comments

@metulburr
Copy link

metulburr commented Jan 14, 2018

/request-review

I would like a feature where there is an extensive search result. For example searching pip

pip search pip results in

pip (9.0.1)                                          - The PyPA recommended
                                                       tool for installing
                                                       Python packages.
  INSTALLED: 9.0.1 (latest)
...

Whereas on the pypi page there is a LOT more info. Information like python version, upload dates, uploads, licenses, install or docs links, etc. It doesnt even give the link back to pypi, you have to go and make a separate search in pypi to get there. Whats the point of using pip search, i might as well always just go to pypi and search. It would be nice to have the information from pypi in the terminal from pip search.

I am not saying to add it to default pip search because that is a lot of info.

But even Ubuntu's package manager 'apt' allows the option for more information of their repos

metulburr@ubuntu:~$ sudo apt-cache show python3-bs4
Package: python3-bs4
Priority: optional
Section: python
Installed-Size: 341
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian Python Modules Team <[email protected]>
Architecture: all
Source: beautifulsoup4
Version: 4.4.1-1
Depends: python3:any (>= 3.3.2-2~)
Recommends: python3-chardet, python3-lxml
Filename: pool/main/b/beautifulsoup4/python3-bs4_4.4.1-1_all.deb
Size: 64080
MD5sum: d6973f42208ce358e6a0fb1c7407f4f1
SHA1: 0826fc1b486766746c0c1d3356d71734434e2675
SHA256: a766e2905bc9cb4e757a14d5dae6f8b9a1aa871b72fa12141bf22793ba8c93a6
Description-en: error-tolerant HTML parser for Python 3
 Beautiful Soup is a Python library for pulling data out of HTML and XML files.
 It works with your favorite parser to provide idiomatic ways of navigating,
 searching, and modifying the parse tree. It commonly saves programmers hours
 or days of work.
 .
 This package contains BeautifulSoup 4, for Python 3.x.
Description-md5: fb6bbcbf2610881d02572826329c9b94
Homepage: http://www.crummy.com/software/BeautifulSoup
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntu-sdk, ubuntukylin-desktop

pip show does give some of the info requested, but its only pertaining to packages installed. Its totally useless to uninstalled packages in pypi. And even then it still doesnt even give much info. Not even a link back to pypi to get the full info.

@pradyunsg pradyunsg added type: enhancement Improvements to functionality C: list/show 'pip list' or 'pip show' labels Jan 19, 2018
@pradyunsg
Copy link
Member

Hi @metulburr!

pip show pip might be what you're looking for. Linking back to PyPI isn't really a definite thing since pip doesn't really care about where you fetched stuff from after they have been installed (generally). The rest of the information is exposed by pip show.

Does the above resolve your concern? If not, what information are you looking for exactly?

As for pip search not being very helpful, that's a known issue and, as I understand, it'll improve... When Warehouse gets deployed, pip search will start giving saner results and there's also other issues with the actual implementation of search that need to be improved.

@chrahunt chrahunt added the C: search 'pip search' label Nov 10, 2019
@pradyunsg
Copy link
Member

Closing this due to lack of a response, and the lack of any movement on this.

x-ref: #5216

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: list/show 'pip list' or 'pip show' C: search 'pip search' type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

3 participants