services / pypi

PyPI (pypi.org, files.pythonhosted.org) IP ranges

Not published. This vendor states that IP allowlisting is not the supported way to secure this integration.

what the vendor says

Both pypi.org and files.pythonhosted.org resolve into Fastly's published ranges (verified 2026-07-30: 151.101.0.223 and 151.101.128.223, inside 151.101.0.0/16), so pinning them would allowlist the whole CDN rather than PyPI.

Source: https://api.fastly.com/public-ip-list. That page is where this entry comes from, so you can check it rather than take our word for it.

what to do instead

Pick the control the vendor actually supports, and keep it scoped to the one workload that needs it:

the rest of your stack

One unpinnable dependency does not stop you pinning the others. The catalog covers the vendors that do publish official ranges, and the vendor report scores how well each one publishes.