Loading...
Loading...
Updated November 8, 2026
A download in EnsemblAI is one logged request for one package distribution file. It measures automated installation traffic — not people, and not installations that succeeded. Most of it is machines: CI runners, container builds, mirrors, and dependency resolvers all produce downloads, and one developer running one build can produce many.
bigquery-public-data.pypi.file_downloads. This is the same source behind PyPI’s own statistics.We aggregate to daily, weekly, and monthly grains. A month is only final once it is complete, so the current month is always shown as partial and is never used for month-over-month comparisons.
We count requests for real distribution artifacts: .whl, .tar.gz, and .zip. We do not count:
.metadata files that installers fetch under PEP 658 to resolve dependencies without downloading the package itself. A sidecar fetch is a resolver step, not a download..asc, .egg, and installer formats such as .exe, .msi, and .rpm.We do not strip mirror or CI traffic. It is real installation demand, and removing it would make our numbers incomparable with every other public source. We expose it instead: the installer, CI, operating system, architecture, and country breakdowns show how much of a package’s volume is automation, and where it comes from.
The architecture split counts the CPU name the client reports. x86_64 is x86_64 as Linux and macOS report it; ARM is arm64 and aarch64. Windows clients report AMD64 and ARM64 and are counted in neither, so about 5% of PyPI downloads fall outside both columns: Windows (about 2.6%), clients that report no CPU, and rarer chips such as ppc64le and riscv64 (measured over one day, September 2026). Read the split as Linux and macOS hardware. The API returns the rest as other_arch_downloads, so x86_64, ARM and other add up to the total (6.2% of PyPI downloads were other in August 2026).
On August 24, 2026, PyPI stopped logging any request that isn’t a real distribution file. That changed what PyPI records, not what anyone actually does — but because metadata sidecars had grown to roughly 40% of all logged rows, it makes every PyPI package look like it lost about a third of its downloads overnight. PyPI’s announcement has the details.
PyPI did not rewrite its historical logs, so this would otherwise have left a permanent artificial cliff in the middle of every chart. Rather than annotate around it, we recounted: every month from July 2023 — when sidecars first appear in meaningful volume — through the present has been rebuilt counting distribution files only.
The result is one continuous series. Three things are worth knowing:
If you compare our PyPI figures against a source that has not recounted, expect it to match us before July 2023 and to read higher from then through August 2026, by a margin that tracks sidecar adoption. That gap is its overcount, not our undercount: those rows were metadata fetches, not installations. From September 2026 the two agree again, because PyPI itself stopped logging sidecars — which is also why an un-recounted series shows a ~35% drop at that date that never happened in reality. npm is unaffected by any of this.
On some days npm’s download statistics report zero downloads for every package at once. That is an outage of npm’s own counting, not a day nobody installed anything, and npm fills only some of these days in later, sometimes weeks afterwards, sometimes never. Left as zero, each such day makes its week and month read low by up to a quarter and breaks every trend across it.
So we estimate those days, so that every npm week and month is complete and can be compared with the ones around it. Each package’s estimate is modelled from its own recent daily pattern, with holidays taken into account. Tested against every real day from 2019 to October 2026, a month with a few estimated days is typically within about 1% of its real total. On the three days npm has since published (September 3, October 13 and October 21, 2026), our estimates for the whole registry were between 2.9% and 6.4% below npm’s real totals for those days.
estimated_days and the estimated part of a package’s total as estimated_downloads, and a chart’s CSV download carries both columns.Days estimated so far: June 22, 2020; July 22, 2022; November 3, 2023; September 7, 8 and 15, 2026; and October 6, 14, 15, 19, 20 and 21, 2026. npm later filled in September 3 and October 13, 2026, so those are real numbers. npm published October 21, 2026 on November 9; its real numbers replace our estimate at the next weekly update.
If a number looks wrong, tell us — corrections are reviewed by hand. Reach us at support@ensemblai.com.