Python Mirror (PyPI registry, pip) in Iran
Python mirror (PyPI registry, pip) — For Python package installs in Iran, Rasanegaar Mirror keeps the PyPI index close to your projects and CI.
About PyPI
PyPI is the official Python package index — almost every data and web project depends on pip install. Wheels from pypi.org can be slow or flaky.
A local index shortens dependency installs in CI and on laptops; every package download moves real traffic.
PyPI mirror in Iran
The PyPI mirror in Iran at mirror.rasanegaar.com/pypi plays that local index role so pip pulls from Rasanegaar’s software repository.
See also the landing page at /repos/pypi/.
On Rasanegaar Mirror
https://mirror.rasanegaar.com/pypi/Manual steps
- Set pip index-url to the Rasanegaar PyPI mirror:
pip.confhttps://mirror.rasanegaar.com/pypi/simple - Or set the environment variable:
PIP_INDEX_URL=https://mirror.rasanegaar.com/pypi/simple - Try a test install:
pip install requests
Updating PyPI in Iran
Python package installs and upgrades in Iran via the local mirror show up in CI and on laptops — when pypi.org answers slowly.
After switching, do not change pins; only the download origin changes.