termux-diffusion 1.1.1__tar.gz → 1.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {termux_diffusion-1.1.1/termux_diffusion.egg-info → termux_diffusion-1.3.2}/PKG-INFO +50 -13
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/README.md +46 -10
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/pyproject.toml +66 -54
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/setup.py +65 -63
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/__init__.py +93 -94
- termux_diffusion-1.3.2/termux_diffusion/_version.py +1 -0
- termux_diffusion-1.3.2/termux_diffusion/cli.py +259 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/core.py +696 -528
- termux_diffusion-1.3.2/termux_diffusion/data/bootstrap-manifest.json +15 -0
- termux_diffusion-1.3.2/termux_diffusion/data/release-public-keys.json +10 -0
- termux_diffusion-1.3.2/termux_diffusion/data/validated-vulkan-profiles.json +263 -0
- termux_diffusion-1.3.2/termux_diffusion/downloader.py +78 -0
- termux_diffusion-1.3.2/termux_diffusion/exceptions.py +89 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/hardware.py +225 -53
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/hub.py +63 -19
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/installer.py +207 -17
- termux_diffusion-1.3.2/termux_diffusion/locking.py +96 -0
- termux_diffusion-1.3.2/termux_diffusion/manifest.py +126 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/npu.py +5 -5
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/platform.py +15 -1
- termux_diffusion-1.3.2/termux_diffusion/selftest.py +149 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2/termux_diffusion.egg-info}/PKG-INFO +50 -13
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion.egg-info/SOURCES.txt +11 -1
- termux_diffusion-1.3.2/termux_diffusion.egg-info/requires.txt +1 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/tests/test_core.py +550 -514
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/tests/test_hardware.py +121 -121
- termux_diffusion-1.3.2/tests/test_installer.py +78 -0
- termux_diffusion-1.3.2/tests/test_presets.py +128 -0
- termux_diffusion-1.1.1/termux_diffusion/cli.py +0 -157
- termux_diffusion-1.1.1/termux_diffusion/exceptions.py +0 -35
- termux_diffusion-1.1.1/tests/test_installer.py +0 -30
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/LICENSE +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/setup.cfg +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion/py.typed +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion.egg-info/dependency_links.txt +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion.egg-info/entry_points.txt +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/termux_diffusion.egg-info/top_level.txt +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/tests/test_hub.py +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/tests/test_npu.py +0 -0
- {termux_diffusion-1.1.1 → termux_diffusion-1.3.2}/tests/test_platform.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: termux-diffusion
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)
|
|
5
5
|
Home-page: https://github.com/uno-km/termux-diffusion
|
|
6
|
-
Author: uno-km (
|
|
7
|
-
Author-email: "uno-km (
|
|
6
|
+
Author: uno-km (AMEVA Foundation)
|
|
7
|
+
Author-email: "uno-km (AMEVA Foundation)" <hosequelbo@gmail.com>
|
|
8
8
|
License: MIT
|
|
9
9
|
Project-URL: Homepage, https://github.com/uno-km/termux-diffusion
|
|
10
10
|
Project-URL: Documentation, https://uno-km.github.io/termux-diffusion/
|
|
@@ -28,6 +28,7 @@ Classifier: Topic :: Multimedia :: Graphics
|
|
|
28
28
|
Requires-Python: >=3.8
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
+
Requires-Dist: ameva-vulkan-runtime>=1.0.0
|
|
31
32
|
Dynamic: author
|
|
32
33
|
Dynamic: classifier
|
|
33
34
|
Dynamic: home-page
|
|
@@ -39,15 +40,29 @@ Dynamic: requires-python
|
|
|
39
40
|
**Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy**
|
|
40
41
|
*Dual-Engine Architecture (Python & Node.js / TypeScript) with Native Bionic ARM64 Tensor Acceleration*
|
|
41
42
|
|
|
42
|
-
[](https://uno-km.vercel.app/lib/diffusion/)
|
|
44
|
+
[](https://pypi.org/project/termux-diffusion/)
|
|
45
|
+
[](https://www.npmjs.com/package/termux-diffusion)
|
|
46
|
+
[](https://opencollective.com/ameva-fund)
|
|
47
|
+
[](https://github.com/sponsors/uno-km)
|
|
48
|
+
[](LICENSE)
|
|
49
|
+
[](https://uno-km.vercel.app/docs/foundation/)
|
|
50
|
+
|
|
51
|
+
<br/>
|
|
52
|
+
|
|
53
|
+
**[📖 Official Documentation Site (13 Languages)](https://uno-km.vercel.app/lib/diffusion/)** • **[🌌 AMEVA Foundation](https://uno-km.vercel.app/docs/foundation/)** • **[⚡ Quickstart](#1-quick-scenario-playbook)** • **[🏛️ Architecture](#2-why-termux-diffusion-architectural-pillars)** • **[📊 Benchmarks](#3-empirical-benchmarks)**
|
|
48
54
|
|
|
49
55
|
---
|
|
50
56
|
|
|
57
|
+
|
|
58
|
+
### Platform Support Matrix & Validation Scope
|
|
59
|
+
|
|
60
|
+
| Scope Level | Hardware & OS Target | Backend Status | On-Device Compilation |
|
|
61
|
+
| :--- | :--- | :--- | :--- |
|
|
62
|
+
| **Validated** | **Galaxy S21 (Exynos 2100 / Android)** | **Prebuilt CPU (`armv8.2-a+dotprod+fp16`)** | **0 Processes (Instant)** |
|
|
63
|
+
| **Candidate** | **Broad Android ARM64 (`arm64-v8a`)** | **Prebuilt CPU Baseline** | **0 Processes (Instant)** |
|
|
64
|
+
| **Experimental** | **Mali-G78 Hardware GPU** | **Vulkan Playbook (`V0`-`V3` Hardware Enumerated)** | **Experimental Track** |
|
|
65
|
+
|
|
51
66
|
## 1. Quick Scenario Playbook
|
|
52
67
|
|
|
53
68
|
### [Install] Scenario 1: Clean Install (Fresh Setup on Android Termux)
|
|
@@ -61,7 +76,7 @@ termux-setup-storage
|
|
|
61
76
|
|
|
62
77
|
# 2. Install Toolchains & Provision Native Engine
|
|
63
78
|
pkg update -y && pkg install python clang make cmake git termux-api wget vulkan-loader vulkan-headers vulkan-tools -y
|
|
64
|
-
pip install termux-diffusion && termux-diffusion
|
|
79
|
+
pip install termux-diffusion && termux-diffusion install
|
|
65
80
|
```
|
|
66
81
|
|
|
67
82
|
#### [Node.js] Node.js / TypeScript:
|
|
@@ -74,6 +89,11 @@ pkg update -y && pkg install nodejs-lts clang make cmake git termux-api wget vul
|
|
|
74
89
|
npm install -g termux-diffusion && npx termux-diffusion install
|
|
75
90
|
```
|
|
76
91
|
|
|
92
|
+
#### [Universal] One-Line Automated Bootstrap (curl):
|
|
93
|
+
```bash
|
|
94
|
+
curl -sL https://raw.githubusercontent.com/uno-km/termux-diffusion/main/scripts/install.sh | bash
|
|
95
|
+
```
|
|
96
|
+
|
|
77
97
|
---
|
|
78
98
|
|
|
79
99
|
### [Instant] Scenario 2: Instant Generation (Ready to Run)
|
|
@@ -164,7 +184,7 @@ Each model architecture has distinct mathematical requirements for denoising ste
|
|
|
164
184
|
| **`"sdxs"`** | `sdxs-512-tinySDdistilled_Q8_0` (651 MB) | 1-Step Distilled | **1 ~ 2** | **1.0** | `euler_a` (default) | **Ultra-Fast Mobile (1-2s): Clean & crisp, zero noise** |
|
|
165
185
|
| **`"anime"`** | `DreamShaper8_LCM_q4_0` (1.55 GB) | LCM 4~8-Step | **4 ~ 8** | **1.5 ~ 2.0** | `lcm` (default / karras) | **Sharp 2D/2.5D Anime: Clear line art & rich cel-shading** |
|
|
166
186
|
| **`"realistic"`** | `realisticVisionV60B1_v51HyperVAE_Q4_k` (1.55 GB) | Full SD1.5 Photoreal | **20 ~ 25** | **6.5 ~ 7.5** | `dpm2` / `euler_a` (karras) | **Ultra-Detailed Realism: Skin pores, realistic eyes, cinematic** |
|
|
167
|
-
| **`"
|
|
187
|
+
| **`"standard"`** *(alias: `"speed"`)* | `stable-diffusion-v1-5-Q4_1` (1.68 GB) | SD1.5 Base Q4_1 | **15 ~ 20** | **6.0 ~ 7.0** | `euler_a` / `dpm++2m` (karras) | **General Drafting: Balanced speed & composition fidelity** |
|
|
168
188
|
| **`"turbo"`** | `stable-diffusion-v1-5-pruned-emaonly_Q4_0` (1.49 GB) | SD1.5 Base Pruned | **15 ~ 20** | **6.0 ~ 7.0** | `euler_a` / `dpm++2m` (karras) | **Lightweight SD1.5: Fast base generation** |
|
|
169
189
|
|
|
170
190
|
> ⚠️ **Golden Rule for Distilled Models (`sdxs`, `turbo` ADD, `anime` LCM):**
|
|
@@ -396,12 +416,29 @@ adb shell "/system/bin/device_config put activity_manager max_phantom_processes
|
|
|
396
416
|
|
|
397
417
|
## 8. The AMEVA Mobile AI & Automation Ecosystem
|
|
398
418
|
|
|
399
|
-
* **[Termux-Playwright](https://github.com/uno-km/termux-playwright
|
|
419
|
+
* **[Termux-Playwright](https://github.com/uno-km/termux-playwright)** ([PyPI](https://pypi.org/project/termux-playwright/) | [npm](https://www.npmjs.com/package/termux-playwright) | [Official Docs](https://uno-km.github.io/termux-playwright/)): Production headless Chromium browser automation for Android Termux.
|
|
400
420
|
* **Python:** `pip install termux-playwright && termux-playwright-install`
|
|
401
421
|
* **Node.js:** `npm install -g termux-playwright && npx termux-playwright install`
|
|
402
422
|
|
|
403
423
|
---
|
|
404
424
|
|
|
405
|
-
## 9.
|
|
425
|
+
## 9. Disclaimer
|
|
426
|
+
|
|
427
|
+
> *This project is an independent open-source library developed for the Android Termux environment. It is not officially affiliated with, endorsed by, or sponsored by the Termux project, stability.ai, or Google LLC.*
|
|
428
|
+
|
|
429
|
+
---
|
|
430
|
+
|
|
431
|
+
## 10. License
|
|
406
432
|
|
|
407
433
|
Released under the **MIT License**. Maintained by **uno-km (Eunho Kim)**.
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## 💖 Sponsorship & Community Backing
|
|
439
|
+
|
|
440
|
+
AMEVA is an independent open-source public good governed under the **AMEVA Open-Source Foundation (AOSF)**. All sponsorship funds are 100% publicly audited and dedicated to physical ARM64 testbeds and CI/CD GPU runners.
|
|
441
|
+
|
|
442
|
+
- **Open Collective (Non-Profit 501(c)(6))**: [https://opencollective.com/ameva-fund](https://opencollective.com/ameva-fund)
|
|
443
|
+
- **GitHub Sponsors**: [https://github.com/sponsors/uno-km](https://github.com/sponsors/uno-km)
|
|
444
|
+
- **Official Foundation Portal**: [https://uno-km.vercel.app/docs/foundation/sponsorship.html](https://uno-km.vercel.app/docs/foundation/sponsorship.html)
|
|
@@ -3,15 +3,29 @@
|
|
|
3
3
|
**Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy**
|
|
4
4
|
*Dual-Engine Architecture (Python & Node.js / TypeScript) with Native Bionic ARM64 Tensor Acceleration*
|
|
5
5
|
|
|
6
|
-
[](https://uno-km.vercel.app/lib/diffusion/)
|
|
7
|
+
[](https://pypi.org/project/termux-diffusion/)
|
|
8
|
+
[](https://www.npmjs.com/package/termux-diffusion)
|
|
9
|
+
[](https://opencollective.com/ameva-fund)
|
|
10
|
+
[](https://github.com/sponsors/uno-km)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
[](https://uno-km.vercel.app/docs/foundation/)
|
|
13
|
+
|
|
14
|
+
<br/>
|
|
15
|
+
|
|
16
|
+
**[📖 Official Documentation Site (13 Languages)](https://uno-km.vercel.app/lib/diffusion/)** • **[🌌 AMEVA Foundation](https://uno-km.vercel.app/docs/foundation/)** • **[⚡ Quickstart](#1-quick-scenario-playbook)** • **[🏛️ Architecture](#2-why-termux-diffusion-architectural-pillars)** • **[📊 Benchmarks](#3-empirical-benchmarks)**
|
|
12
17
|
|
|
13
18
|
---
|
|
14
19
|
|
|
20
|
+
|
|
21
|
+
### Platform Support Matrix & Validation Scope
|
|
22
|
+
|
|
23
|
+
| Scope Level | Hardware & OS Target | Backend Status | On-Device Compilation |
|
|
24
|
+
| :--- | :--- | :--- | :--- |
|
|
25
|
+
| **Validated** | **Galaxy S21 (Exynos 2100 / Android)** | **Prebuilt CPU (`armv8.2-a+dotprod+fp16`)** | **0 Processes (Instant)** |
|
|
26
|
+
| **Candidate** | **Broad Android ARM64 (`arm64-v8a`)** | **Prebuilt CPU Baseline** | **0 Processes (Instant)** |
|
|
27
|
+
| **Experimental** | **Mali-G78 Hardware GPU** | **Vulkan Playbook (`V0`-`V3` Hardware Enumerated)** | **Experimental Track** |
|
|
28
|
+
|
|
15
29
|
## 1. Quick Scenario Playbook
|
|
16
30
|
|
|
17
31
|
### [Install] Scenario 1: Clean Install (Fresh Setup on Android Termux)
|
|
@@ -25,7 +39,7 @@ termux-setup-storage
|
|
|
25
39
|
|
|
26
40
|
# 2. Install Toolchains & Provision Native Engine
|
|
27
41
|
pkg update -y && pkg install python clang make cmake git termux-api wget vulkan-loader vulkan-headers vulkan-tools -y
|
|
28
|
-
pip install termux-diffusion && termux-diffusion
|
|
42
|
+
pip install termux-diffusion && termux-diffusion install
|
|
29
43
|
```
|
|
30
44
|
|
|
31
45
|
#### [Node.js] Node.js / TypeScript:
|
|
@@ -38,6 +52,11 @@ pkg update -y && pkg install nodejs-lts clang make cmake git termux-api wget vul
|
|
|
38
52
|
npm install -g termux-diffusion && npx termux-diffusion install
|
|
39
53
|
```
|
|
40
54
|
|
|
55
|
+
#### [Universal] One-Line Automated Bootstrap (curl):
|
|
56
|
+
```bash
|
|
57
|
+
curl -sL https://raw.githubusercontent.com/uno-km/termux-diffusion/main/scripts/install.sh | bash
|
|
58
|
+
```
|
|
59
|
+
|
|
41
60
|
---
|
|
42
61
|
|
|
43
62
|
### [Instant] Scenario 2: Instant Generation (Ready to Run)
|
|
@@ -128,7 +147,7 @@ Each model architecture has distinct mathematical requirements for denoising ste
|
|
|
128
147
|
| **`"sdxs"`** | `sdxs-512-tinySDdistilled_Q8_0` (651 MB) | 1-Step Distilled | **1 ~ 2** | **1.0** | `euler_a` (default) | **Ultra-Fast Mobile (1-2s): Clean & crisp, zero noise** |
|
|
129
148
|
| **`"anime"`** | `DreamShaper8_LCM_q4_0` (1.55 GB) | LCM 4~8-Step | **4 ~ 8** | **1.5 ~ 2.0** | `lcm` (default / karras) | **Sharp 2D/2.5D Anime: Clear line art & rich cel-shading** |
|
|
130
149
|
| **`"realistic"`** | `realisticVisionV60B1_v51HyperVAE_Q4_k` (1.55 GB) | Full SD1.5 Photoreal | **20 ~ 25** | **6.5 ~ 7.5** | `dpm2` / `euler_a` (karras) | **Ultra-Detailed Realism: Skin pores, realistic eyes, cinematic** |
|
|
131
|
-
| **`"
|
|
150
|
+
| **`"standard"`** *(alias: `"speed"`)* | `stable-diffusion-v1-5-Q4_1` (1.68 GB) | SD1.5 Base Q4_1 | **15 ~ 20** | **6.0 ~ 7.0** | `euler_a` / `dpm++2m` (karras) | **General Drafting: Balanced speed & composition fidelity** |
|
|
132
151
|
| **`"turbo"`** | `stable-diffusion-v1-5-pruned-emaonly_Q4_0` (1.49 GB) | SD1.5 Base Pruned | **15 ~ 20** | **6.0 ~ 7.0** | `euler_a` / `dpm++2m` (karras) | **Lightweight SD1.5: Fast base generation** |
|
|
133
152
|
|
|
134
153
|
> ⚠️ **Golden Rule for Distilled Models (`sdxs`, `turbo` ADD, `anime` LCM):**
|
|
@@ -360,12 +379,29 @@ adb shell "/system/bin/device_config put activity_manager max_phantom_processes
|
|
|
360
379
|
|
|
361
380
|
## 8. The AMEVA Mobile AI & Automation Ecosystem
|
|
362
381
|
|
|
363
|
-
* **[Termux-Playwright](https://github.com/uno-km/termux-playwright
|
|
382
|
+
* **[Termux-Playwright](https://github.com/uno-km/termux-playwright)** ([PyPI](https://pypi.org/project/termux-playwright/) | [npm](https://www.npmjs.com/package/termux-playwright) | [Official Docs](https://uno-km.github.io/termux-playwright/)): Production headless Chromium browser automation for Android Termux.
|
|
364
383
|
* **Python:** `pip install termux-playwright && termux-playwright-install`
|
|
365
384
|
* **Node.js:** `npm install -g termux-playwright && npx termux-playwright install`
|
|
366
385
|
|
|
367
386
|
---
|
|
368
387
|
|
|
369
|
-
## 9.
|
|
388
|
+
## 9. Disclaimer
|
|
389
|
+
|
|
390
|
+
> *This project is an independent open-source library developed for the Android Termux environment. It is not officially affiliated with, endorsed by, or sponsored by the Termux project, stability.ai, or Google LLC.*
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
394
|
+
## 10. License
|
|
370
395
|
|
|
371
396
|
Released under the **MIT License**. Maintained by **uno-km (Eunho Kim)**.
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
---
|
|
400
|
+
|
|
401
|
+
## 💖 Sponsorship & Community Backing
|
|
402
|
+
|
|
403
|
+
AMEVA is an independent open-source public good governed under the **AMEVA Open-Source Foundation (AOSF)**. All sponsorship funds are 100% publicly audited and dedicated to physical ARM64 testbeds and CI/CD GPU runners.
|
|
404
|
+
|
|
405
|
+
- **Open Collective (Non-Profit 501(c)(6))**: [https://opencollective.com/ameva-fund](https://opencollective.com/ameva-fund)
|
|
406
|
+
- **GitHub Sponsors**: [https://github.com/sponsors/uno-km](https://github.com/sponsors/uno-km)
|
|
407
|
+
- **Official Foundation Portal**: [https://uno-km.vercel.app/docs/foundation/sponsorship.html](https://uno-km.vercel.app/docs/foundation/sponsorship.html)
|
|
@@ -1,54 +1,66 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "termux-diffusion"
|
|
7
|
-
version = "1.
|
|
8
|
-
description = "Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.8"
|
|
11
|
-
license = { text = "MIT" }
|
|
12
|
-
authors = [
|
|
13
|
-
{ name = "uno-km (
|
|
14
|
-
]
|
|
15
|
-
keywords = [
|
|
16
|
-
"stable-diffusion",
|
|
17
|
-
"diffusion",
|
|
18
|
-
"termux",
|
|
19
|
-
"android",
|
|
20
|
-
"samsung-galaxy",
|
|
21
|
-
"edge-ai",
|
|
22
|
-
"on-device-ai",
|
|
23
|
-
"image-generation",
|
|
24
|
-
"gguf",
|
|
25
|
-
"arm64",
|
|
26
|
-
"bionic-libc",
|
|
27
|
-
"snapdragon",
|
|
28
|
-
"exynos",
|
|
29
|
-
"text-to-image",
|
|
30
|
-
"txt2img",
|
|
31
|
-
"mobile-ai",
|
|
32
|
-
"quantization",
|
|
33
|
-
"generative-ai",
|
|
34
|
-
"vulkan",
|
|
35
|
-
"opencl",
|
|
36
|
-
"offline-ai",
|
|
37
|
-
"private-ai",
|
|
38
|
-
"ai-art",
|
|
39
|
-
"comfyui-alternative",
|
|
40
|
-
"webui-alternative"
|
|
41
|
-
]
|
|
42
|
-
dynamic = ["classifiers"]
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "termux-diffusion"
|
|
7
|
+
version = "1.3.2"
|
|
8
|
+
description = "Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "uno-km (AMEVA Foundation)", email = "hosequelbo@gmail.com" }
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"stable-diffusion",
|
|
17
|
+
"diffusion",
|
|
18
|
+
"termux",
|
|
19
|
+
"android",
|
|
20
|
+
"samsung-galaxy",
|
|
21
|
+
"edge-ai",
|
|
22
|
+
"on-device-ai",
|
|
23
|
+
"image-generation",
|
|
24
|
+
"gguf",
|
|
25
|
+
"arm64",
|
|
26
|
+
"bionic-libc",
|
|
27
|
+
"snapdragon",
|
|
28
|
+
"exynos",
|
|
29
|
+
"text-to-image",
|
|
30
|
+
"txt2img",
|
|
31
|
+
"mobile-ai",
|
|
32
|
+
"quantization",
|
|
33
|
+
"generative-ai",
|
|
34
|
+
"vulkan",
|
|
35
|
+
"opencl",
|
|
36
|
+
"offline-ai",
|
|
37
|
+
"private-ai",
|
|
38
|
+
"ai-art",
|
|
39
|
+
"comfyui-alternative",
|
|
40
|
+
"webui-alternative"
|
|
41
|
+
]
|
|
42
|
+
dynamic = ["classifiers"]
|
|
43
|
+
dependencies = [
|
|
44
|
+
"ameva-vulkan-runtime>=1.0.0",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[project.urls]
|
|
48
|
+
Homepage = "https://github.com/uno-km/termux-diffusion"
|
|
49
|
+
Documentation = "https://uno-km.github.io/termux-diffusion/"
|
|
50
|
+
"npm Package" = "https://www.npmjs.com/package/termux-diffusion"
|
|
51
|
+
"Bug Tracker" = "https://github.com/uno-km/termux-diffusion/issues"
|
|
52
|
+
"Source" = "https://github.com/uno-km/termux-diffusion"
|
|
53
|
+
|
|
54
|
+
[project.scripts]
|
|
55
|
+
termux-diffusion = "termux_diffusion.cli:main"
|
|
56
|
+
termux-diffusion-install = "termux_diffusion.cli:run_install_cli"
|
|
57
|
+
termux-diffusion-doctor = "termux_diffusion.cli:run_doctor_cli"
|
|
58
|
+
|
|
59
|
+
[tool.setuptools.package-data]
|
|
60
|
+
termux_diffusion = [
|
|
61
|
+
"data/*.json",
|
|
62
|
+
"data/*.pub"
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
[tool.pytest.ini_options]
|
|
66
|
+
testpaths = ["tests"]
|
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
import os
|
|
2
|
-
from setuptools import find_packages, setup
|
|
3
|
-
|
|
4
|
-
here = os.path.abspath(os.path.dirname(__file__))
|
|
5
|
-
|
|
6
|
-
long_description = ""
|
|
7
|
-
readme_path = os.path.join(here, "README.md")
|
|
8
|
-
if os.path.exists(readme_path):
|
|
9
|
-
with open(readme_path, encoding="utf-8") as f:
|
|
10
|
-
long_description = f.read()
|
|
11
|
-
|
|
12
|
-
setup(
|
|
13
|
-
name="termux-diffusion",
|
|
14
|
-
version="1.
|
|
15
|
-
description="Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)",
|
|
16
|
-
long_description=long_description,
|
|
17
|
-
long_description_content_type="text/markdown",
|
|
18
|
-
author="uno-km (
|
|
19
|
-
author_email="hosequelbo@gmail.com",
|
|
20
|
-
url="https://github.com/uno-km/termux-diffusion",
|
|
21
|
-
project_urls={
|
|
22
|
-
"Documentation": "https://uno-km.github.io/termux-diffusion/",
|
|
23
|
-
"npm Package": "https://www.npmjs.com/package/termux-diffusion",
|
|
24
|
-
"Bug Tracker": "https://github.com/uno-km/termux-diffusion/issues",
|
|
25
|
-
"Source": "https://github.com/uno-km/termux-diffusion",
|
|
26
|
-
},
|
|
27
|
-
keywords=[
|
|
28
|
-
"stable-diffusion", "diffusion", "termux", "android", "samsung-galaxy",
|
|
29
|
-
"edge-ai", "on-device-ai", "image-generation", "gguf", "arm64",
|
|
30
|
-
"bionic-libc", "snapdragon", "exynos", "text-to-image", "txt2img",
|
|
31
|
-
"mobile-ai", "quantization", "generative-ai", "vulkan", "opencl",
|
|
32
|
-
"offline-ai", "private-ai", "ai-art", "comfyui-alternative", "webui-alternative"
|
|
33
|
-
],
|
|
34
|
-
packages=find_packages(),
|
|
35
|
-
package_data={
|
|
36
|
-
"termux_diffusion": ["py.typed"],
|
|
37
|
-
},
|
|
38
|
-
include_package_data=True,
|
|
39
|
-
python_requires=">=3.8",
|
|
40
|
-
install_requires=[
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"termux-diffusion
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"Programming Language :: Python :: 3
|
|
57
|
-
"Programming Language :: Python :: 3.
|
|
58
|
-
"Programming Language :: Python :: 3.
|
|
59
|
-
"Programming Language :: Python :: 3.
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
1
|
+
import os
|
|
2
|
+
from setuptools import find_packages, setup
|
|
3
|
+
|
|
4
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
|
5
|
+
|
|
6
|
+
long_description = ""
|
|
7
|
+
readme_path = os.path.join(here, "README.md")
|
|
8
|
+
if os.path.exists(readme_path):
|
|
9
|
+
with open(readme_path, encoding="utf-8") as f:
|
|
10
|
+
long_description = f.read()
|
|
11
|
+
|
|
12
|
+
setup(
|
|
13
|
+
name="termux-diffusion",
|
|
14
|
+
version="1.3.2",
|
|
15
|
+
description="Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)",
|
|
16
|
+
long_description=long_description,
|
|
17
|
+
long_description_content_type="text/markdown",
|
|
18
|
+
author="uno-km (AMEVA Foundation)",
|
|
19
|
+
author_email="hosequelbo@gmail.com",
|
|
20
|
+
url="https://github.com/uno-km/termux-diffusion",
|
|
21
|
+
project_urls={
|
|
22
|
+
"Documentation": "https://uno-km.github.io/termux-diffusion/",
|
|
23
|
+
"npm Package": "https://www.npmjs.com/package/termux-diffusion",
|
|
24
|
+
"Bug Tracker": "https://github.com/uno-km/termux-diffusion/issues",
|
|
25
|
+
"Source": "https://github.com/uno-km/termux-diffusion",
|
|
26
|
+
},
|
|
27
|
+
keywords=[
|
|
28
|
+
"stable-diffusion", "diffusion", "termux", "android", "samsung-galaxy",
|
|
29
|
+
"edge-ai", "on-device-ai", "image-generation", "gguf", "arm64",
|
|
30
|
+
"bionic-libc", "snapdragon", "exynos", "text-to-image", "txt2img",
|
|
31
|
+
"mobile-ai", "quantization", "generative-ai", "vulkan", "opencl",
|
|
32
|
+
"offline-ai", "private-ai", "ai-art", "comfyui-alternative", "webui-alternative"
|
|
33
|
+
],
|
|
34
|
+
packages=find_packages(),
|
|
35
|
+
package_data={
|
|
36
|
+
"termux_diffusion": ["py.typed", "data/*.json", "data/*.pub"],
|
|
37
|
+
},
|
|
38
|
+
include_package_data=True,
|
|
39
|
+
python_requires=">=3.8",
|
|
40
|
+
install_requires=[
|
|
41
|
+
"ameva-vulkan-runtime>=1.0.0",
|
|
42
|
+
],
|
|
43
|
+
entry_points={
|
|
44
|
+
"console_scripts": [
|
|
45
|
+
"termux-diffusion = termux_diffusion.cli:main",
|
|
46
|
+
"termux-diffusion-install = termux_diffusion.cli:run_install_cli",
|
|
47
|
+
"termux-diffusion-doctor = termux_diffusion.cli:run_doctor_cli",
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
classifiers=[
|
|
51
|
+
"Development Status :: 5 - Production/Stable",
|
|
52
|
+
"Intended Audience :: Developers",
|
|
53
|
+
"License :: OSI Approved :: MIT License",
|
|
54
|
+
"Operating System :: POSIX :: Linux",
|
|
55
|
+
"Operating System :: Android",
|
|
56
|
+
"Programming Language :: Python :: 3",
|
|
57
|
+
"Programming Language :: Python :: 3.8",
|
|
58
|
+
"Programming Language :: Python :: 3.9",
|
|
59
|
+
"Programming Language :: Python :: 3.10",
|
|
60
|
+
"Programming Language :: Python :: 3.11",
|
|
61
|
+
"Programming Language :: Python :: 3.12",
|
|
62
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
63
|
+
"Topic :: Multimedia :: Graphics",
|
|
64
|
+
],
|
|
65
|
+
)
|