Skip to content

Add API to search for packages matching a pattern #5231

@jaraco

Description

@jaraco

What's the problem this feature will solve?

I'd like to find all packages named "svg.*". Currently, searching for svg or svg. or svg.* or svg\. or "svg." all returns 3.7k results matching "svg" in a paged HTML form and the API limits results to 100 results. So it's not possible (as far as I can tell) to search for packages only matching a particular name without manually clicking through hundreds of HTML results.

Describe the solution you'd like

I can imagine a few solutions:

  • Enable (or document) more complex search patterns, or perform more sophisticated filtering after paring down the results from the index.
  • Add a UI element that allows returning all results.
  • Enable an API that allows for iterating over pages of results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIs/feedsblockedIssues we can't or shouldn't get to yetsearchOpensearch, search filters, and so on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions