4 ms·
Why does it not suffice to examine 'pip install Django' metrics from PyPI? That would be a reliable indicator of the relative popularity of the package against
by czep 10y ago
Why does it not suffice to examine 'pip install Django' metrics from PyPI? That would be a reliable indicator of the relative popularity of the package against other packages in a level playing field.
While it would overcount the number of true installations of projects using Django, judging by the number of times I spin up a VM for testing, I would still argue that would be a better metric than a custom GA integration for which you'd have no relevant point of comparison. Even if they were to make this opt-out, what would they compare it to?
A: "Based on our custom GA developer tracking, we count 400,000 new Django projects this month."
B: "Django is the 4th most frequently installed third party Python package, based on the Python package index."
Personally I'd trust statement B more than A. No one can independently verify statement A.
- folz 10y agoI've seen many CI environments take forever because they download Django from pypi and forget to cache it. Downloads != usage.
- icebraining 10y agoBut if that CI server creates a VM or container and uses runserver, you have the same problem.
- JshWright 10y agoHow so? The analytics service would dedup the IP address.
- quesera 10y agoVery large businesses with dozens of Django installs could be behind a single IP address.
- deleted 10y ago[deleted]
- JshWright 10y agoThat may not be a problem if all you care about is the number of organizations.
- icebraining 10y agoSure, hence the same problems of downloading, not more.
- JshWright 10y agoI still don't follow... If they want to track runserver calls, they presumably realize that there will be frequent runserver calls in the context of developing/testing an application. I would think they would care more about the number of unique IP addresses those runserver 'runs' are coming from.
- andreareina 10y agoThe exact scale would be incorrect, but since counting errors can be expected to happen the same way for other packages in the same space, it's still enough to see relative popularity, growth in usage, etc.
- ubernostrum 10y agoAs others note, the issue with PyPI and other download metrics is there are tools which frequently download the full set of requirements for a project in order to run their tasks, and those downloads shouldn't be counted.
- kdeldycke 10y agoPyPi metrics are disabled for a while. At least for the legacy site: https://github.com/pypa/pypi-legacy/issues/484#issuecomment-234138865 https://github.com/pypa/pypi-legacy/issues/484#issuecomment-...