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:
In pypi-datasette-packages, only the datasette-sqlite-regex package is listed, but idk if this is picked up by datasette.io
package-stats seems to have a github action that scrapes package download data, source from datasette.io with this query%2C+%27+%27)+from+datasette_repos%0D%0Awhere+nameWithOwner+!%3D+%27simonw%2Fdatasette-app%27&_shape=arrayfirst). That queries the datasette_repos table, which only lists "asg017/sqlite-regex" and not datasette-sqlite-regex
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:
From https://datasette.io/plugins?sort=downloads-this-week , this reports
sqlite-regex
has the most downloads last week. But it's picking up thesqlite-regex
package, not thedatasette-sqlite-regex
package (which has like 1/5th of the downloads)It's a bit difficult to track down the source:
pypi-datasette-packages
, only thedatasette-sqlite-regex
package is listed, but idk if this is picked up by datasette.iopackage-stats
seems to have a github action that scrapes package download data, source fromdatasette.io
with this query%2C+%27+%27)+from+datasette_repos%0D%0Awhere+nameWithOwner+!%3D+%27simonw%2Fdatasette-app%27&_shape=arrayfirst). That queries thedatasette_repos
table, which only lists"asg017/sqlite-regex"
and notdatasette-sqlite-regex
I think the solution would be to add a new optional
pypi_package
key toplugin_repos.yml
, and to default to that over inferring the pypi package name from the repository name. That way, I can change thesqlite-regex
entry to something like: