piwheels stats 2021Q3
Posted by Ben NuttallIn the period of July – September 2021, 7,047,854 packages were downloaded from piwheels, bringing the total to 55,657,694. This has saved 33 years in the period, and 558 years in total! There were 48,256,952 pip searches, 875,834 project page hits, 397,834 web page hits and 1,094,432 project JSON downloads in the period.
There were 7 days surpassing 100k downloads, a peak of over 120k, and averaged at 76k per day:
Downloads saved around between 10 and 11 years per month. It seems this is falling, presumably due to more downloads coming from faster platforms (Pi 3/4 vs 1/Zero).
The top 10 downloads were:
- requests (116,496)
- six (102,660)
- numpy (100,423)
- pip (98,708)
- idna (94,551)
- importlib-metadata (93,747)
- urllib3 (91,259)
- certifi (87,703)
- typing-extensions (85,543)
- pillow (83,796)
The top 10 pip searches were:
- pip (7,423,597)
- wheel (4,427,701)
- setuptools (3,375,412)
- pyrogram (1,762,252)
- future (742,655)
- youtube-dl (664,821)
- pyngrok (645,709)
- speedtest-cli (399,889)
- six (379,356)
- requests (377,486)
The top 10 project page hits were:
- lilurl (2,401)
- numpy (1,354)
- opencv-python (1,102)
- opencv-contrib-python (1,044)
- scipy (1,006)
- scikit-image (653)
- tensorflow (559)
- imagecodecs (523)
- cryptography (474)
- pandas (437)
The top 10 project JSON downloads were:
- awscrt (20,679)
- numpy (458)
- opencv-contrib-python (107)
- v2ray-runtime-windows (104)
- requests-toolkit (103)
- github-http-api (96)
- bevy-events (95)
- newrelic-plugins-agent (95)
- v2ray-runtime (92)
- protobuf (91)
See the JSON API page for more information on using this API.
Platforms
Linux makes up over 99.9% of all searches so I’ve discounted the rest. Raspberry Pi OS and Debian are now combined (due to Raspberry Pi OS identifying itself as Debian). This group obviously dominates with over 99%. Ubuntu remains in third place with only 0.6%, although we don’t officially support it.
Buster accounts for 93% of PiOS/Debian usage and Stretch accounts for just 7%:
armv7l (Pi 2/3/4 platform) is still a majority architecture with 93% of searches from Arm devices (76% of which is from armv7l). We now get more hits from aarch64 users than x86_64 and armv6l combined. It seems usage of the 64-bit OS image is on the rise (now 20% of Arm usage), although we do not as yet provide aarch64 wheels.
Python 3 has a supermajority of usage, and 3.7 (the version provided by the current stable distro) has the highest share with 69%. Python 2.7 comes second with 15%, followed by 3.8 and 3.9. Generally most users are using the Python provided by the current Debian stable – which was due to change this summer, so we’ll start to see a rise in Python 3.9 usage as soon as Raspberry Pi OS Bullseye is released for which could become the leader by the end of the year.
We’re also logging pip and setuptools versions:
Note that 18.1 is pre-installed in Buster, and 9.0.1 is pre-installed in Stretch. 20.1.1 is a recently released version, so likely the most common for people who update their pip.
Similarly, setuptools 40.8.0 is what’s pre-installed in Buster, but the version of pip in Stretch doesn’t send the setuptools version (33.1.1) in the user agent like it does in newer versions.
We see about 4TB of bandwidth each month, peaking at 4.2TB in April. The breakdown of bandwidth in the period is 76% pip downloads, 3% pip searches, a tiny amount (0.13%) of website traffic (project pages, JSON, etc) and the rest (surprisingly high, 20%) comprising mostly of wheel downloads from browsers (not pip):
And broken down by month:
Check out the source of this post in a Jupyter notebook: github.com/piwheels/stats/blob/master/2021q3.ipynb