Size of Python package set over time

I got curious how much the Python package set increased in size over time, so I decided to collect the data and plot it.

Generated using

Back in 2015 there were actually more packages available than the graph shows. Back then many packages were in all-packages.nix instead. Since then, packages that belong in the Python set were moved there, bindings were added, and of course new packages were added.


How many of those are leaf packages?
How many leaf packages can be replaced by pypi2nix or similar generators?