--- license: mit tags: - code pretty_name: PyPI Mirror --- # 🐍 PyPI Mirror on Hugging Face This dataset provides a partial mirror of [PyPI](https://pypi.org), hosted on Hugging Face for research, offline usage, and reproducibility. ## 📦 Contents - Popular Python packages (e.g. `numpy`, `pandas`, `torch`, `transformers`, `scikit-learn`, `matplotlib`, `jupyterlab`) - Multiple versions retained for historical compatibility - Organized in a folder structure similar to PyPI: ``` /simple//index.html # Simple API index /packages/// ``` ## 🔧 Usage ### 1. Configure pip You can point `pip` to this mirror by editing `~/.pip/pip.conf` (Linux/macOS) or `%APPDATA%\pip\pip.ini` (Windows): ```ini [global] index-url = https://huggingface.co/datasets//pypi-mirror/resolve/main/simple ``` Or use it per-install: ``` pip install numpy --index-url https://huggingface.co/datasets/ThongCoder/pypi-mirror/resolve/main/simple ``` ### 2. Direct downloads All wheels and source distributions are also accessible via HTTPS: ``` wget https://huggingface.co/datasets/ThongCoder/pypi-mirror/resolve/main/packages/numpy/1.24.4/numpy-1.24.4-cp310-cp310-manylinux.whl ``` ⚖️ License This mirror repo itself is under the MIT License. Individual packages retain their original upstream licenses (BSD, Apache, MIT, etc.). 🚨 Disclaimer This is not an official PyPI service. Use it at your own risk. For production, prefer the official [PyPI](https://pypi.org). This mirror is for high-speed downloads.