-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to measure adoption of Pip? Does anyone still use easy_install? PyPI census #58
Comments
Using pypa/linehaul we're able to compute these statistics. @dstufft can share some of the numbers easily enough. The tl;dr; is most folks are using pip, and it looks like most uses of easy_install these days come from |
Google BigQuery is useful. :) The following query gives the result of how many downloads from PyPI happened from various clients (and their versions), in the past month: SELECT
details.installer.name, details.installer.version, COUNT(*) as download_count
FROM
TABLE_DATE_RANGE(
[the-psf:pypi.downloads],
DATE_ADD(CURRENT_TIMESTAMP(), -1, "month"),
CURRENT_TIMESTAMP()
)
GROUP BY
details.installer.name, details.installer.version
ORDER BY
download_count DESC, details.installer.name ASC, details.installer.version DESC
LIMIT
100 Running this at May 17, 2018, 12:05:13 PM IST, I got: Click to expand
Aggregated install-specific counts (I misplaced the query):
Well, almost. :)
Looks like setuptools is still a player in PyPI downloads.
It's ~1% of just pip 10.0.1's usage and 0.45% of pip's usage. I've not inspected package-specific/format-specific details though. |
1 similar comment
Google BigQuery is useful. :) The following query gives the result of how many downloads from PyPI happened from various clients (and their versions), in the past month: SELECT
details.installer.name, details.installer.version, COUNT(*) as download_count
FROM
TABLE_DATE_RANGE(
[the-psf:pypi.downloads],
DATE_ADD(CURRENT_TIMESTAMP(), -1, "month"),
CURRENT_TIMESTAMP()
)
GROUP BY
details.installer.name, details.installer.version
ORDER BY
download_count DESC, details.installer.name ASC, details.installer.version DESC
LIMIT
100 Running this at May 17, 2018, 12:05:13 PM IST, I got: Click to expand
Aggregated install-specific counts (I misplaced the query):
Well, almost. :)
Looks like setuptools is still a player in PyPI downloads.
It's ~1% of just pip 10.0.1's usage and 0.45% of pip's usage. I've not inspected package-specific/format-specific details though. |
^ this was fun. |
This is super cool.
Does pipenv not identify itself separately from pip?
…On Wed, May 16, 2018, 11:52 PM Pradyun Gedam ***@***.***> wrote:
^ this was fun.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPUc4JzAfhc9ktr_h_npmI1qEG0mbN3ks5tzR4_gaJpZM4DNOqT>
.
|
It uses pip to communicate with PyPI so, I don't see how we can separate the two. :/ |
Hrm, there should be some way for us to do that. WDYT, @kennethreitz? |
Not that I know of. We just script pip. |
@pypa/pip-committers would it be possible to add an environment variable to override / augment pip's user-agent that pipenv could set? I think it's extremely valuable for us to be able to measure pipenv adoption. |
that's a @dstufft question :) |
Fairly trivial change to pip to make this happen pypa/pip#5424 If accepted, I'll also send a PR to pipenv to set this when invoking pip. |
The
pythonwheels.com
site measures the adoption of new tech by package maintainers.From the other direction, it would be interesting to measure the adoption of packaging tech by users.
It might be possible to learn this from PyPI with the right logging. Pip and easy_install have distinct http user agents which include their precise version numbers.
The text was updated successfully, but these errors were encountered: