adrn / astropy-sustainability

Generate figures related to software sustainability & Astropy on a regular schedule.
https://adrian.pw/astropy-sustainability
MIT License
0 stars 2 forks source link

Incorporate pypi download statistics #8

Open adrn opened 2 years ago

adrn commented 2 years ago

More generally, as recommended by @pllim, it would be useful to compare "number of committers" to "number of users". It's hard to quantify the number of users, but the number of pypi downloads should scale with the number of users, right? https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads/

pllim commented 2 years ago

Hard to say... PyPI downloads also include CI services and so on.

adrn commented 2 years ago

But more CI services hitting pypi could be an indication of more users, right? Hm...yea it would be hard. Any other ideas for tracking number of users?

pllim commented 2 years ago

That is the million dollar question... @larrybradley might have ideas.

larrybradley commented 2 years ago

We've been struggling to define good metrics on the number of users. Short of adding telemetry to the code (which I absolutely do not want to do!), I don't know of a good way. pypistats downloads are an overestimate due to CI services, bots, etc. Publication citations are surely a gross underestimation. RTD google analytics can also give you a relative indication of users.