From https://datasette.io/plugins?sort=downloads-this-week , this reports sqlite-regex has the most downloads last week. But it's picking up the sqlite-regex package, not the datasette-sqlite-regex package (which has like 1/5th of the downloads)
It's a bit difficult to track down the source:
I think the solution would be to add a new optional pypi_package key to plugin_repos.yml, and to default to that over inferring the pypi package name from the repository name. That way, I can change the sqlite-regex entry to something like:
- repo: asg017/sqlite-regex
pypi_package: datasette-sqlite-regex
tags:
- SQLite Extension
From https://datasette.io/plugins?sort=downloads-this-week , this reports
sqlite-regexhas the most downloads last week. But it's picking up thesqlite-regexpackage, not thedatasette-sqlite-regexpackage (which has like 1/5th of the downloads)It's a bit difficult to track down the source:
pypi-datasette-packages, only thedatasette-sqlite-regexpackage is listed, but idk if this is picked up by datasette.iopackage-statsseems to have a github action that scrapes package download data, source fromdatasette.iowith this query. That queries thedatasette_repostable, which only lists"asg017/sqlite-regex"and notdatasette-sqlite-regexI think the solution would be to add a new optional
pypi_packagekey toplugin_repos.yml, and to default to that over inferring the pypi package name from the repository name. That way, I can change thesqlite-regexentry to something like: