PythonSTB commited on
Commit
efedbf4
Β·
verified Β·
1 Parent(s): d949cce

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +231 -0
README.md ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ # PythonSTB PyPI 3.12 By Rimi
4
+
5
+ ### Python 3.12 Wheels for Android
6
+
7
+ [![Python 3.12](https://img.shields.io/badge/Python-3.12-blue?logo=python&logoColor=white)](https://www.python.org/)
8
+ [![Android](https://img.shields.io/badge/Android-24+-green?logo=android&logoColor=white)](https://developer.android.com)
9
+ [![Arch](https://img.shields.io/badge/Arch-arm64_+_x86__64-orange)](https://huggingface.co/PythonSTB/pypi312/tree/main)
10
+ [![License](https://img.shields.io/badge/License-Proprietary-yellow.svg)](LICENSE)
11
+
12
+ </div>
13
+
14
+ ---
15
+
16
+ ## Overview
17
+
18
+ A **PEP 503 compliant** simple repository hosting **Python 3.12 Wheels By Rimi** for Android.
19
+
20
+ Wheels built info:
21
+ - **Android API 24+** minimum
22
+ - **Dual architecture**: `arm64_v8a` (real devices) + `x86_64` (emulators)
23
+
24
+ ---
25
+
26
+ ## Quick Start
27
+
28
+ ### Install via pip
29
+
30
+ ```bash
31
+ pip install --extra-index-url https://huggingface.co/PythonSTB/pypi312/resolve/main/ <package>
32
+ ```
33
+
34
+ ### Example: Install numpy
35
+
36
+ ```bash
37
+ pip install --extra-index-url https://huggingface.co/PythonSTB/pypi312/resolve/main/ numpy
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Available Packages
43
+
44
+ | Package | Architectures | Description |
45
+ |---------|---------------|-------------|
46
+ | aiohttp | arm64_v8a, x86_64 | Async HTTP client/server |
47
+ | bcrypt | arm64_v8a, x86_64 | Password hashing |
48
+ | blosc | arm64_v8a, x86_64 | Compression |
49
+ | cffi | arm64_v8a, x86_64 | C FFI |
50
+ | duckdb | arm64_v8a, x86_64 | Analytical database |
51
+ | greenlet | arm64_v8a, x86_64 | Lightweight coroutines |
52
+ | lxml | arm64_v8a, x86_64 | XML/HTML parsing |
53
+ | matplotlib | arm64_v8a, x86_64 | Plotting library |
54
+ | numpy | arm64_v8a, x86_64 | Numerical computing |
55
+ | opencv | arm64_v8a, x86_64 | Computer vision |
56
+ | pandas | arm64_v8a, x86_64 | Data analysis |
57
+ | pillow | arm64_v8a, x86_64 | Image processing |
58
+ | psutil | arm64_v8a, x86_64 | System monitoring |
59
+ | pydantic | arm64_v8a, x86_64 | Data validation |
60
+ | PyNaCl | arm64_v8a, x86_64 | Networking crypto |
61
+ | PyYAML | arm64_v8a, x86_64 | YAML parser |
62
+ | scikit-image | arm64_v8a, x86_64 | Image algorithms |
63
+ | scipy | arm64_v8a, x86_64 | Scientific computing |
64
+ | tkinter | arm64_v8a, x86_64 | GUI toolkit (Tcl/Tk 8.6) |
65
+ | + many more | | [See full list below](https://huggingface.co/PythonSTB/pypi312/tree/main) |
66
+
67
+ <details>
68
+ <summary><h2>Some of Package List</h2></summary>
69
+
70
+ | Package | Architectures |
71
+ |---------|---------------|
72
+ | aiohttp | arm64_v8a, x86_64 |
73
+ | blosc | arm64_v8a, x86_64 |
74
+ | brotli | arm64_v8a, x86_64 |
75
+ | cchardet | arm64_v8a, x86_64 |
76
+ | contourpy | arm64_v8a, x86_64 |
77
+ | duckdb | arm64_v8a, x86_64 |
78
+ | greenlet | arm64_v8a, x86_64 |
79
+ | lightgbm | arm64_v8a, x86_64 |
80
+ | markupsafe | arm64_v8a, x86_64 |
81
+ | msgpack | arm64_v8a, x86_64 |
82
+ | numpy | arm64_v8a, x86_64 |
83
+ | orjson | arm64_v8a, x86_64 |
84
+ | pillow | arm64_v8a, x86_64 |
85
+ | propcache | arm64_v8a, x86_64 |
86
+ | psycopg2 | arm64_v8a, x86_64 |
87
+ | pyaudio | arm64_v8a, x86_64 |
88
+ | PyNaCl | arm64_v8a, x86_64 |
89
+ | pyzmq | arm64_v8a, x86_64 |
90
+ | rpds-py | arm64_v8a, x86_64 |
91
+ | scipy | arm64_v8a, x86_64 |
92
+ | ujson | arm64_v8a, x86_64 |
93
+ | wrapt | arm64_v8a, x86_64 |
94
+ | yarl | arm64_v8a, x86_64 |
95
+
96
+ </details>
97
+
98
+ ---
99
+
100
+ ## Repository Structure
101
+
102
+ ```
103
+ pypi312/
104
+ └── wheels/ ← PEP 503 index root
105
+ β”œβ”€β”€ numpy/
106
+ β”‚ β”œβ”€β”€ Test_NumPy.py
107
+ β”‚ β”œβ”€β”€ numpy-2.5.2-cp312-cp312-android_24_arm64_v8a.whl
108
+ β”‚ β”œβ”€β”€ numpy-2.5.2-cp312-cp312-android_24_x86_64.whl
109
+ β”‚ └── NUMPY_USER_GUIDE.txt
110
+ β”œβ”€β”€ pandas/
111
+ β”‚ β”œβ”€β”€ Test_Pandas.py
112
+ β”‚ β”œβ”€β”€ pandas-2.3.3-cp312-cp312-android_24_arm64_v8a.whl
113
+ β”‚ β”œβ”€β”€ pandas-2.3.3-cp312-cp312-android_24_x86_64.whl
114
+ β”‚ └── PANDAS_USER_GUIDE.txt
115
+ └── <package>/
116
+ β”œβ”€β”€ Test_Scrtip.py
117
+ β”œβ”€β”€ <package>-<version>-<tags>.whl
118
+ └── USER_GUIDE.txt
119
+ ```
120
+
121
+ ---
122
+
123
+ ## Installation Guide
124
+
125
+ ### Option A: Extra Index URL (Recommended)
126
+
127
+ ```bash
128
+ pip install --extra-index-url https://huggingface.co/PythonSTB/pypi312/resolve/main/ <package>
129
+ ```
130
+
131
+ ### Option B: Find-Links (Per Package)
132
+
133
+ ```bash
134
+ pip install --find-links https://huggingface.co/PythonSTB/pypi312/resolve/main/<package>/ <package>
135
+ ```
136
+
137
+ ### Option C: Global pip Configuration
138
+
139
+ **Windows** (`%APPDATA%\pip\pip.ini`):
140
+ ```ini
141
+ [global]
142
+ extra-index-url = https://huggingface.co/PythonSTB/pypi312/resolve/main/
143
+ ```
144
+
145
+ **Linux/macOS** (`~/.pip/pip.conf`):
146
+ ```ini
147
+ [global]
148
+ extra-index-url = https://huggingface.co/PythonSTB/pypi312/resolve/main/
149
+ ```
150
+
151
+ Install plain `pip install <package>`.
152
+
153
+ ---
154
+
155
+ ## Android App Integration
156
+
157
+ ### Python Code Example
158
+
159
+ ```python
160
+ import subprocess
161
+ import sys
162
+
163
+ HF_INDEX = "https://huggingface.co/PythonSTB/pypi312/resolve/main/"
164
+
165
+ subprocess.check_call([
166
+ sys.executable, "-m", "pip", "install",
167
+ "--extra-index-url", HF_INDEX,
168
+ "numpy",
169
+ "pandas",
170
+ "duckdb",
171
+ ])
172
+ ```
173
+
174
+ ### PipManager (PythonSTB)
175
+
176
+ PipManager is a built-in package manager for installing Python packages on Android.
177
+
178
+ **How to use:**
179
+
180
+ 1. Open PipManager from the home screen
181
+ 2. Type package name(s) in the text field β€” **space separated** for multiple packages
182
+ 3. Click **INSTALL**
183
+
184
+ **Examples:**
185
+
186
+ | Input | What it does |
187
+ |-------|--------------|
188
+ | `requests` | Install requests |
189
+ | `requests[socks]` | Install with extras |
190
+ | `numpy pandas duckdb` | Install 3 packages at once |
191
+ | `colorama pyyaml six` | Install multiple small packages |
192
+
193
+ **Options:**
194
+ - **Upgrade** β€” upgrade to latest version
195
+ - **Reinstall** β€” force reinstall
196
+ - **Uninstall** β€” remove a package
197
+ - **NoDeps** β€” install without dependencies
198
+ - **NoCache** β€” install without using the cache
199
+
200
+ **Features:**
201
+ - Live pip output in built-in terminal
202
+ - Smart detection β€” skips install if already installed
203
+ - Auto-logs: `βœ…` success, `❌` failure, `πŸ’‘` hints for common issues
204
+ - Supports version specifiers: `numpy==2.5.2`, `pandas>=2.0`
205
+
206
+ ---
207
+
208
+ ## Package Naming (PEP 503)
209
+
210
+ | Rule | Example |
211
+ |------|---------|
212
+ | Folder name: **lowercase** | `PyNaCl` β†’ `pynacl` |
213
+ | Replace `[_.,]` with `-` | `my_package` β†’ `my-package` |
214
+ | Wheel filename: **keep original case** | `PyNaCl-1.5.0-...whl` |
215
+
216
+ ---
217
+
218
+ ## License
219
+
220
+ PROPRIETARY
221
+
222
+ ---
223
+
224
+ <div align="center">
225
+
226
+ **Built with care for the Android Python community**<br>
227
+ **Creator and Coder by RIMI Dev**
228
+
229
+ [Python](https://www.python.org/) β€’ [Android](https://developer.android.com)
230
+
231
+ </div>