Skip to content
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

add search subcommand #249

Closed
zachvalenta opened this issue Oct 22, 2019 · 2 comments
Closed

add search subcommand #249

zachvalenta opened this issue Oct 22, 2019 · 2 comments

Comments

@zachvalenta
Copy link

How would this feature be useful?

tldr it would be cool if users could search a subset of PyPI packages that were CLIs

$ pipx search lint

flake8
pylint
$ pipx search dependencies

poetry
pipenv

On one hand, pip already offers search functionality. But it could be improved in a couple ways that would help pipx as a project:

  • surfacing CLIs
  • smarter search e.g. when I pip search postgres, pgcli doesn't come up in the results despite being arguably the best Postgres CLI. I don't know if this is a problem with pip's search, how packages are tagged in PyPI, or lack of tagging from packages maintainers.

Describe the solution you'd like

high-level I imagine we could port pip's existing search and utilize PyPI tags to filter down to just CLI pkgs

@LostAccount
Copy link

This is the one feature I would love, to search. I hope this comment and support for the original comment is well received.

In my view being able to search the pypi index would be most welcome indeed.

Kind regards
— Alex

@uranusjr
Copy link
Member

I think this ultimately goes to pypi/warehouse#284. tl;dr: PyPI does not offer a way to do what you (and we!) want, and we will need to wait for them to have something before this can ever happen.

I would recommend closing this as a "won't fix" or "upstream" for now, since there is really nothing pipx can do here in the foreseeable future, and this ticket would likely be long forgotten by the time there is something actionable 😞

@cs01 cs01 closed this as completed May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants