The contents of PyPI, in numbers

Total files
1.05 Billion
78,977,739 unique
Total lines of text
328.3 Billion
328,316,044,764 to be precise
Total uncompressed size
56.4 TiB
That is ~42,223,601.024 floppy disks
Lines of code added per second
In the month 2023-08-01

This page contains a breakdown of the contents of PyPI from parsing the contents of packages. You can download PyPI locally to do your own analysis or run SQL queries on the data in your browser

Language Features

This data only counts unique projects, not versions. e.g if a project has published 10 versions in a month, each containing an async function, it will only be counted once.


list comp226,07249
generator expression121,22926
dict comp89,23219
set comp21,7465
async comp1,0640
try star220

Project Contents

This data only counts unique projects, not versions. e.g if a project has published 10 versions in a month, each with a file, it will only be counted once.

Secrets Detected

PyPI contains a lot of secrets.
Google API Key4,072
OpenAI API Key3,576
Tencent Cloud Secret ID1,901
Amazon AWS Secret Access Key1,644
Amazon AWS Access Key ID1,376
Google Cloud Private Key ID1,098
Slack API Token1,063
Telegram Bot Token868
Slack Incoming Webhook URL784
SendGrid API Key749
Mailgun API Key718
Mailchimp API Key676
Stripe API Key662
Twilio Account String Identifier576
Alibaba Cloud AccessKey Secret557


8.92 million


1 billion

PyPI is growing fast. If this dangerous expansion not stopped, our advanced machine learning models predict that in only 8 years the number of packages will outnumber human beings.

Witness this inevitable future

Binary files

This shows a breakdown of the binary files on PyPI, by extension. Binary files are the vast majority of the content on PyPI, accounting for nearly 75% of the uncompressed size.

extensiontotal filestotal sizeunique files
.so6,422,85619.8 TiB3,576,318
.pyd1,714,8984.0 TiB1,574,613
.dylib1,060,9732.7 TiB349,049
.dll1,269,5711.9 TiB372,842
No extension4,756,3651.9 TiB1,663,203
.2149,3241.4 TiB17,332
.0587,3681.2 TiB65,477
.jar413,636839.0 GiB42,574
.png24,864,915492.0 GiB766,189
.1285,148448.4 GiB39,087
.lib112,604430.8 GiB32,840
.exe195,016391.0 GiB44,737
.gz4,169,787380.5 GiB548,284
.tgz335,596358.3 GiB154,780
.736,788304.7 GiB2,497
Total46,374,84536.4 TiB9,249,822

Largest Projects by size

Tensorflow dominates this list with 8.9 TiB of uncompressed data, 16% of all data on PyPI.
project nameunique filestotal filestotal linestotal size
tf-nightly85,75020,242,4238,325,796,0682.3 TiB
tf-nightly-cpu80,84219,960,8248,080,533,3161.8 TiB
tf-nightly-gpu70,45711,657,7564,814,002,0481.4 TiB
lalsuite1,719,1539,969,5054,542,135,4541.1 TiB
tensorflow98,0077,661,7372,882,658,484864.7 GiB
paddlepaddle-gpu30,8592,000,670433,161,447856.7 GiB
tensorflow-io-nightly14,020927,623116,109,192742.5 GiB
tf-nightly-cpu-aws50,0898,442,5563,263,538,881689.3 GiB
tensorflow-gpu83,9324,276,5041,575,491,698638.0 GiB
catboost-dev32,526256,62066,348,683582.2 GiB
tf-nightly-intel77,1317,263,5102,958,885,573488.4 GiB
tensorflow-cpu55,8424,899,6811,903,928,312476.2 GiB
tf-nightly-macos25,6624,949,0692,355,608,468463.8 GiB
OpenVisus60,4843,708,820730,470,294437.1 GiB
graphscope-client36,3441,308,165150,594,869428.1 GiB
Total2,521,098107,525,46342,199,262,78713.1 TiB

Stats By Extensions

This only considers the last suffix of the file path as the extension
extensiontotal filestotal linestotal sizeunique files
.py456,728,414119,599,696,8534.4 TiB30,841,733
.h80,999,35824,415,640,993965.0 GiB694,077
No extension57,819,3717,675,192,0882.3 TiB15,567,174
.json52,429,29121,219,289,4691.0 TiB1,574,595
.hpp38,654,5797,961,407,270321.2 GiB278,531
.txt37,212,42517,250,193,968635.8 GiB3,298,205
.js30,955,87212,517,798,2791.0 TiB1,300,391
.png24,900,425899,161492.1 GiB768,803
.rst21,532,2521,350,969,85851.8 GiB1,230,077
.svg17,001,2831,362,585,247171.3 GiB314,827
.pyi16,361,8813,168,059,211104.8 GiB456,382
.html15,173,5612,831,448,659201.4 GiB1,586,932
.yaml11,699,3741,105,027,63039.7 GiB327,502
.pyc10,664,029276,45967.3 GiB4,970,135
.yml9,970,401717,493,39721.3 GiB298,112
Total882,102,516221,175,978,54211.7 TiB63,507,476