psincraian / pepy

pepy is a site to get statistics information about any Python package.
https://pepy.tech
MIT License
781 stars 33 forks source link

Use new PyPI attribute to differentiate CI downloads from direct user downloads #693

Open joelostblom opened 3 weeks ago

joelostblom commented 3 weeks ago

The ability to differentiate automated installs from manual ones was recently added in pip and PyPI; see https://github.com/pypa/pip/issues/5499 and https://github.com/pypi/linehaul-cloud-function/issues/9 for details. It would be valuable to have this functionality available on pepy.tech to be able to see how many users are directly installing the package. A similar tool that added this recently was pypinfo and the approach can be seen here in case it is helpful https://github.com/ofek/pypinfo/pull/157

psincraian commented 1 week ago

Hey,

Thanks for the heads up. I will take a look and add it as many people is interested.