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
Search by entry point #1677
Comments
Entry points and scripts! This feature would be great to find which PyPi package(s) exposes, say, the |
Thanks for the ideas, @graingert and @zopieux, and my apologies on the delayed reply! For context: the folks working on Warehouse have gotten funding to concentrate on improving and deploying it, and have kicked off work towards our development roadmap -- the most urgent task is to improve Warehouse to the point where we can redirect pypi.python.org to pypi.org so the site is more sustainable and reliable. Since this feature isn't something that the legacy site has, I've moved it to a future milestone. But it is an interesting idea. Where within the package metadata would Warehouse be able to find the strings you'd like people to be able to search for? Thanks and sorry again for the wait. |
Thanks for the feedback @brainwane! As for the metadata we would like to be searchable, this would imply parsing:
|
+1! This would be an awesome feature for warehouse, which will benefit any framework that builds a plugin system based around entry points. For example, packages that are pytest plugins advertise the fact by registering an entry point in the group named "pytest11". Here's an example in Unfortunately, there is currently no way (at least not that I know of) to tell if a package is a pytest plugin without actually downloading the source code and looking. There's nothing mentioning "pytest11" in here (built by flit), and nothing in there (built by setuptools) either. I am hoping the next version of Metadata for Python Software Packages can ratify entry points so that we can really move forward here. |
@wimglenn the stdlib now defines entry_points: https://docs.python.org/3/library/importlib.metadata.html#entry-points and the pypa defines it here: https://packaging.python.org/specifications/entry-points/ |
@graingert That is nice to see but it doesn't seem to offer anything new for the purposes of this issue, i.e. searching of PyPI packages based on their entry points. |
various modules use entry_points to register plugins etc. It would be neat if users could search by these strings.
eg a search for all the packages that use 'flake8.extension' entrypoint
The text was updated successfully, but these errors were encountered: