pypi / linehaul

ARCHIVED, replaced by https://github.com/pypa/linehaul-cloud-function/
https://github.com/pypa/linehaul-cloud-function/
Apache License 2.0
70 stars 38 forks source link

Add 404 / failed install statistics #49

Open Julian opened 5 years ago

Julian commented 5 years ago

Hi!

It might be interesting to be able to query through failed installation data, if such a thing is possible.

I.e. -- to view pip install foo by volume, for foo a non-existing package, or existing package with no uploaded files.

di commented 5 years ago

This would probably also provide some interesting data on potential typosquats.

pradyunsg commented 5 years ago

I think it would be possible to do this, using the simple API stats and download stats, to determine names that were hit on the simple index but not downloaded?

That’s assuming PyPI is sending in a note to linehaul even when it sends a 404. Not sure if that’s the case though.