ThongCoder commited on
Commit
f9f3bf6
·
verified ·
1 Parent(s): 1de0329

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -3
README.md CHANGED
@@ -1,3 +1,48 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - code
5
+ pretty_name: PyPI Mirror
6
+ ---
7
+
8
+ # 🐍 PyPI Mirror on Hugging Face
9
+
10
+ This dataset provides a partial mirror of [PyPI](https://pypi.org), hosted on Hugging Face for research, offline usage, and reproducibility.
11
+
12
+ ## 📦 Contents
13
+ - Popular Python packages (e.g. `numpy`, `pandas`, `torch`, `transformers`, `scikit-learn`, `matplotlib`, `jupyterlab`)
14
+ - Multiple versions retained for historical compatibility
15
+ - Organized in a folder structure similar to PyPI:
16
+ ```
17
+ /simple/<package_name>/index.html # Simple API index
18
+ /packages/<package_name>/<version>/<filename>
19
+ ```
20
+ ## 🔧 Usage
21
+
22
+ ### 1. Configure pip
23
+ You can point `pip` to this mirror by editing `~/.pip/pip.conf` (Linux/macOS) or `%APPDATA%\pip\pip.ini` (Windows):
24
+ ```ini
25
+ [global]
26
+ index-url = https://huggingface.co/datasets/<username>/pypi-mirror/resolve/main/simple
27
+ ```
28
+
29
+ Or use it per-install:
30
+ ```
31
+ pip install numpy --index-url https://huggingface.co/datasets/ThongCoder/pypi-mirror/resolve/main/simple
32
+ ```
33
+
34
+ ### 2. Direct downloads
35
+ All wheels and source distributions are also accessible via HTTPS:
36
+ ```
37
+ wget https://huggingface.co/datasets/ThongCoder/pypi-mirror/resolve/main/packages/numpy/1.24.4/numpy-1.24.4-cp310-cp310-manylinux.whl
38
+ ```
39
+ ⚖️ License
40
+
41
+ This mirror repo itself is under the MIT License.
42
+
43
+ Individual packages retain their original upstream licenses (BSD, Apache, MIT, etc.).
44
+
45
+ 🚨 Disclaimer
46
+
47
+ This is not an official PyPI service.
48
+ Use it at your own risk. For production, prefer the official [PyPI](https://pypi.org). This mirror is for high-speed downloads.