Comments (3)
The with_mirrors and without_mirrors are not mutually exclusive sets of download counts like the other segmentations provided. In fact, the without_mirrors downloads are a subset of the downloads in with_mirrors.
Some entities will create a mirror, or clone, of the PyPI repository using a tool like bandersnatch for the sake of security or availability. This means that their mirror repository regularly syncs with PyPI by downloading all of the python packages available. Those downloads are recorded by PyPI with bandersnatch as the user-agent. pypistats.org filters downloads from known mirrors from the version and system segmentations on the website. You will see also that on days in which you release a new version of your package there will be many more downloads from mirrors, as active mirrors will sync with PyPI by downloading those new releases.
The existence of mirrors means that the downloads provided by PyPI and BigQuery add uncertainty to the actual usage of python packages. One might expect that mirrors will mask end-user downloads for more commonly used packages while simultaneously inflating the download counts of less common ones. We can't really be sure because the mirrors don't report subsequent downloads back to PyPI.
Downloads by mirrors are intentionally excluded from download breakdowns on pypistats.org because they do not represent end-users of the software. Instead, they serve as an alternative provider to other end-users on a separate (sometimes private) network.
We can, however, assume that PyPI serves a significant proportion of the python community's packaging downloads. Hopefully significant enough that the quantities provided here are relevant to package maintainers and representative of their users. There are other distributors like conda which also serve python packages, but their download data is not available like PyPI's as far as I'm aware, and thus are not incorporated in this website.
If you prefer to have download counts that include mirrors, I'm pretty sure that @hugovk 's pypistats package can provide that information.
from pypistats.org.
In some cases mirrors account for a large number of downloads. See here, which is using the same source data:
If you sum the with (a+b) and without (a) figures, you count the without figures twice (a+b+a).
from pypistats.org.
Thanks for the clear statements @hugovk @crflynn.
Closing.
from pypistats.org.
Related Issues (20)
- pypistats reporting 502 HOT 1
- Missing data since ~2021-03-22 HOT 6
- Package Not Showing HOT 1
- Wheel statistics
- [feature requeset] downloads per user
- Website is not functioning HOT 2
- CORS Headers Issue HOT 1
- Intermittent 429 RATE LIMIT EXCEEDED HOT 4
- API: 404 is returned for some endpoints but not others
- Download stats dropped close to 0 since 2011-11-24? HOT 5
- broken links to Google BigQuery
- [feature request] new endpoint: `/api/top`
- Sort python versions in natural ordering
- [feature request] Toggle last 30/60/90 days for all the graphs
- List dependent packages
- Feature request: get most recent data including mirrors
- optional dependencies are incorrect HOT 2
- Add `<package name>` on page's title
- No Download Statistics pre-2016 on Google BigQuery HOT 1
- Ignore Metadata Files From Download Stats
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypistats.org.