File size: 1,557 Bytes
f9f3bf6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
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/<package_name>/index.html # Simple API index
/packages/<package_name>/<version>/<filename>
```
## 🔧 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/<username>/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.