termux-diffusion 1.4.0__tar.gz → 1.4.1__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.
Files changed (44) hide show
  1. termux_diffusion-1.4.1/PKG-INFO +104 -0
  2. termux_diffusion-1.4.1/README.md +67 -0
  3. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/pyproject.toml +2 -2
  4. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/setup.py +2 -2
  5. termux_diffusion-1.4.1/termux_diffusion.egg-info/PKG-INFO +104 -0
  6. termux_diffusion-1.4.0/PKG-INFO +0 -444
  7. termux_diffusion-1.4.0/README.md +0 -407
  8. termux_diffusion-1.4.0/termux_diffusion.egg-info/PKG-INFO +0 -444
  9. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/LICENSE +0 -0
  10. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/setup.cfg +0 -0
  11. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/__init__.py +0 -0
  12. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/_version.py +0 -0
  13. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/adapter.py +0 -0
  14. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/cli.py +0 -0
  15. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/control/__init__.py +0 -0
  16. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/control/component.py +0 -0
  17. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/control/status.py +0 -0
  18. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/core.py +0 -0
  19. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/data/bootstrap-manifest.json +0 -0
  20. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/data/release-public-keys.json +0 -0
  21. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/data/validated-vulkan-profiles.json +0 -0
  22. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/downloader.py +0 -0
  23. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/exceptions.py +0 -0
  24. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/hardware.py +0 -0
  25. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/hub.py +0 -0
  26. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/installer.py +0 -0
  27. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/locking.py +0 -0
  28. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/manifest.py +0 -0
  29. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/npu.py +0 -0
  30. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/platform.py +0 -0
  31. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/py.typed +0 -0
  32. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion/selftest.py +0 -0
  33. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion.egg-info/SOURCES.txt +0 -0
  34. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion.egg-info/dependency_links.txt +0 -0
  35. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion.egg-info/entry_points.txt +0 -0
  36. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion.egg-info/requires.txt +0 -0
  37. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/termux_diffusion.egg-info/top_level.txt +0 -0
  38. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_core.py +0 -0
  39. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_hardware.py +0 -0
  40. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_hub.py +0 -0
  41. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_installer.py +0 -0
  42. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_npu.py +0 -0
  43. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_platform.py +0 -0
  44. {termux_diffusion-1.4.0 → termux_diffusion-1.4.1}/tests/test_presets.py +0 -0
@@ -0,0 +1,104 @@
1
+ Metadata-Version: 2.4
2
+ Name: termux-diffusion
3
+ Version: 1.4.1
4
+ Summary: On-device Stable Diffusion runtime utilizing device resources for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)
5
+ Home-page: https://github.com/uno-km/termux-diffusion
6
+ Author: uno-km (AMEVA Foundation)
7
+ Author-email: "uno-km (AMEVA Foundation)" <hosequelbo@gmail.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/uno-km/termux-diffusion
10
+ Project-URL: Documentation, https://uno-km.github.io/termux-diffusion/
11
+ Project-URL: npm Package, https://www.npmjs.com/package/termux-diffusion
12
+ Project-URL: Bug Tracker, https://github.com/uno-km/termux-diffusion/issues
13
+ Project-URL: Source, https://github.com/uno-km/termux-diffusion
14
+ Keywords: stable-diffusion,diffusion,termux,android,samsung-galaxy,edge-ai,on-device-ai,image-generation,gguf,arm64,bionic-libc,snapdragon,exynos,text-to-image,txt2img,mobile-ai,quantization,generative-ai,vulkan,opencl,offline-ai,private-ai,ai-art,comfyui-alternative,webui-alternative
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Operating System :: Android
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
27
+ Classifier: Topic :: Multimedia :: Graphics
28
+ Requires-Python: >=3.8
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: ameva-vulkan-runtime>=1.0.0
32
+ Dynamic: author
33
+ Dynamic: classifier
34
+ Dynamic: home-page
35
+ Dynamic: license-file
36
+ Dynamic: requires-python
37
+
38
+ # Termux-Diffusion
39
+
40
+ [![PyPI](https://img.shields.io/pypi/v/termux-diffusion.svg?style=flat-square&color=0369a1)](https://pypi.org/project/termux-diffusion/)
41
+ [![Python](https://img.shields.io/pypi/pyversions/termux-diffusion.svg?style=flat-square)](https://pypi.org/project/termux-diffusion/)
42
+ [![npm](https://img.shields.io/npm/v/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
43
+ [![npm downloads](https://img.shields.io/npm/dm/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
44
+ [![License](https://img.shields.io/badge/License-Apache_2.0-004499.svg?style=flat-square)](https://github.com/uno-km/termux-diffusion)
45
+
46
+ > **디바이스 리소스를 활용한 Android Termux 네이티브 온디바이스 Stable Diffusion 런타임**
47
+ > *Native On-Device Stable Diffusion Runtime Utilizing Device Resources for Android Termux*
48
+
49
+ ---
50
+
51
+ ## 📌 Architecture & Overview
52
+
53
+ 안드로이드 순정 Bionic libc 상에서 디바이스 리소스를 활용하여 ARMv8.2-A DotProd/FP16 SIMD 벡터 연산(Cortex-A78 x4: 61초)을 통해 이미지를 생성하고 삼성 갤러리에 자동 반영합니다.
54
+
55
+ Executes quantized Stable Diffusion models utilizing device resources with ARMv8.2-A DotProd/FP16 SIMD vector execution (Cortex-A78 x4 61s) and direct Samsung Gallery indexing.
56
+
57
+ ---
58
+
59
+ ## 🚀 Installation & Quickstart
60
+
61
+ ### Python (PyPI)
62
+ ```bash
63
+ pip install termux-diffusion
64
+ ```
65
+ ```python
66
+ import termux_diffusion as td
67
+
68
+ # 1. Generate image on Android hardware
69
+ image_path = td.generate(
70
+ prompt="Cyberpunk Seoul city at night, neon lights, 8k",
71
+ model="sd-turbo",
72
+ steps=4
73
+ )
74
+ print(f"Generated and saved to Gallery: {image_path}")
75
+
76
+ ```
77
+
78
+ ### Node.js / TypeScript (npm)
79
+ ```bash
80
+ npm install termux-diffusion
81
+ ```
82
+ ```typescript
83
+ import { generate } from "termux-diffusion";
84
+
85
+ const result = await generate({
86
+ prompt: "Cyberpunk Seoul city at night, neon lights, 8k",
87
+ model: "sd-turbo",
88
+ steps: 4
89
+ });
90
+ console.log("Image created:", result.outputPath);
91
+
92
+ ```
93
+
94
+ ---
95
+
96
+ ## 📖 Official Documentation & Benchmarks
97
+ - [Official Architecture & API Reference](https://uno-km.vercel.app/lib/diffusion/)
98
+ - [Ecosystem Metrics & Registry Stats](https://uno-km.vercel.app/foundation/metrics)
99
+ - [AMEVA Open-Source Foundation Portal](https://uno-km.vercel.app/foundation/index.html)
100
+
101
+ ---
102
+
103
+ ## 📄 License
104
+ Licensed under the Apache-2.0 License. Copyright (c) 2026 Eunho Kim ([@uno-km](https://github.com/uno-km)).
@@ -0,0 +1,67 @@
1
+ # Termux-Diffusion
2
+
3
+ [![PyPI](https://img.shields.io/pypi/v/termux-diffusion.svg?style=flat-square&color=0369a1)](https://pypi.org/project/termux-diffusion/)
4
+ [![Python](https://img.shields.io/pypi/pyversions/termux-diffusion.svg?style=flat-square)](https://pypi.org/project/termux-diffusion/)
5
+ [![npm](https://img.shields.io/npm/v/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
6
+ [![npm downloads](https://img.shields.io/npm/dm/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
7
+ [![License](https://img.shields.io/badge/License-Apache_2.0-004499.svg?style=flat-square)](https://github.com/uno-km/termux-diffusion)
8
+
9
+ > **디바이스 리소스를 활용한 Android Termux 네이티브 온디바이스 Stable Diffusion 런타임**
10
+ > *Native On-Device Stable Diffusion Runtime Utilizing Device Resources for Android Termux*
11
+
12
+ ---
13
+
14
+ ## 📌 Architecture & Overview
15
+
16
+ 안드로이드 순정 Bionic libc 상에서 디바이스 리소스를 활용하여 ARMv8.2-A DotProd/FP16 SIMD 벡터 연산(Cortex-A78 x4: 61초)을 통해 이미지를 생성하고 삼성 갤러리에 자동 반영합니다.
17
+
18
+ Executes quantized Stable Diffusion models utilizing device resources with ARMv8.2-A DotProd/FP16 SIMD vector execution (Cortex-A78 x4 61s) and direct Samsung Gallery indexing.
19
+
20
+ ---
21
+
22
+ ## 🚀 Installation & Quickstart
23
+
24
+ ### Python (PyPI)
25
+ ```bash
26
+ pip install termux-diffusion
27
+ ```
28
+ ```python
29
+ import termux_diffusion as td
30
+
31
+ # 1. Generate image on Android hardware
32
+ image_path = td.generate(
33
+ prompt="Cyberpunk Seoul city at night, neon lights, 8k",
34
+ model="sd-turbo",
35
+ steps=4
36
+ )
37
+ print(f"Generated and saved to Gallery: {image_path}")
38
+
39
+ ```
40
+
41
+ ### Node.js / TypeScript (npm)
42
+ ```bash
43
+ npm install termux-diffusion
44
+ ```
45
+ ```typescript
46
+ import { generate } from "termux-diffusion";
47
+
48
+ const result = await generate({
49
+ prompt: "Cyberpunk Seoul city at night, neon lights, 8k",
50
+ model: "sd-turbo",
51
+ steps: 4
52
+ });
53
+ console.log("Image created:", result.outputPath);
54
+
55
+ ```
56
+
57
+ ---
58
+
59
+ ## 📖 Official Documentation & Benchmarks
60
+ - [Official Architecture & API Reference](https://uno-km.vercel.app/lib/diffusion/)
61
+ - [Ecosystem Metrics & Registry Stats](https://uno-km.vercel.app/foundation/metrics)
62
+ - [AMEVA Open-Source Foundation Portal](https://uno-km.vercel.app/foundation/index.html)
63
+
64
+ ---
65
+
66
+ ## 📄 License
67
+ Licensed under the Apache-2.0 License. Copyright (c) 2026 Eunho Kim ([@uno-km](https://github.com/uno-km)).
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "termux-diffusion"
7
- version = "1.4.0"
8
- description = "Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)"
7
+ version = "1.4.1"
8
+ description = "On-device Stable Diffusion runtime utilizing device resources for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
11
11
  license = { text = "MIT" }
@@ -11,8 +11,8 @@ if os.path.exists(readme_path):
11
11
 
12
12
  setup(
13
13
  name="termux-diffusion",
14
- version="1.4.0",
15
- description="Production On-Device AI Image Generation Framework for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)",
14
+ version="1.4.1",
15
+ description="On-device Stable Diffusion runtime utilizing device resources for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)",
16
16
  long_description=long_description,
17
17
  long_description_content_type="text/markdown",
18
18
  author="uno-km (AMEVA Foundation)",
@@ -0,0 +1,104 @@
1
+ Metadata-Version: 2.4
2
+ Name: termux-diffusion
3
+ Version: 1.4.1
4
+ Summary: On-device Stable Diffusion runtime utilizing device resources for Android Termux & Samsung Galaxy (Dual-Engine Python & Node.js)
5
+ Home-page: https://github.com/uno-km/termux-diffusion
6
+ Author: uno-km (AMEVA Foundation)
7
+ Author-email: "uno-km (AMEVA Foundation)" <hosequelbo@gmail.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/uno-km/termux-diffusion
10
+ Project-URL: Documentation, https://uno-km.github.io/termux-diffusion/
11
+ Project-URL: npm Package, https://www.npmjs.com/package/termux-diffusion
12
+ Project-URL: Bug Tracker, https://github.com/uno-km/termux-diffusion/issues
13
+ Project-URL: Source, https://github.com/uno-km/termux-diffusion
14
+ Keywords: stable-diffusion,diffusion,termux,android,samsung-galaxy,edge-ai,on-device-ai,image-generation,gguf,arm64,bionic-libc,snapdragon,exynos,text-to-image,txt2img,mobile-ai,quantization,generative-ai,vulkan,opencl,offline-ai,private-ai,ai-art,comfyui-alternative,webui-alternative
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Operating System :: Android
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
27
+ Classifier: Topic :: Multimedia :: Graphics
28
+ Requires-Python: >=3.8
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: ameva-vulkan-runtime>=1.0.0
32
+ Dynamic: author
33
+ Dynamic: classifier
34
+ Dynamic: home-page
35
+ Dynamic: license-file
36
+ Dynamic: requires-python
37
+
38
+ # Termux-Diffusion
39
+
40
+ [![PyPI](https://img.shields.io/pypi/v/termux-diffusion.svg?style=flat-square&color=0369a1)](https://pypi.org/project/termux-diffusion/)
41
+ [![Python](https://img.shields.io/pypi/pyversions/termux-diffusion.svg?style=flat-square)](https://pypi.org/project/termux-diffusion/)
42
+ [![npm](https://img.shields.io/npm/v/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
43
+ [![npm downloads](https://img.shields.io/npm/dm/termux-diffusion.svg?style=flat-square&color=b91c1c)](https://www.npmjs.com/package/termux-diffusion)
44
+ [![License](https://img.shields.io/badge/License-Apache_2.0-004499.svg?style=flat-square)](https://github.com/uno-km/termux-diffusion)
45
+
46
+ > **디바이스 리소스를 활용한 Android Termux 네이티브 온디바이스 Stable Diffusion 런타임**
47
+ > *Native On-Device Stable Diffusion Runtime Utilizing Device Resources for Android Termux*
48
+
49
+ ---
50
+
51
+ ## 📌 Architecture & Overview
52
+
53
+ 안드로이드 순정 Bionic libc 상에서 디바이스 리소스를 활용하여 ARMv8.2-A DotProd/FP16 SIMD 벡터 연산(Cortex-A78 x4: 61초)을 통해 이미지를 생성하고 삼성 갤러리에 자동 반영합니다.
54
+
55
+ Executes quantized Stable Diffusion models utilizing device resources with ARMv8.2-A DotProd/FP16 SIMD vector execution (Cortex-A78 x4 61s) and direct Samsung Gallery indexing.
56
+
57
+ ---
58
+
59
+ ## 🚀 Installation & Quickstart
60
+
61
+ ### Python (PyPI)
62
+ ```bash
63
+ pip install termux-diffusion
64
+ ```
65
+ ```python
66
+ import termux_diffusion as td
67
+
68
+ # 1. Generate image on Android hardware
69
+ image_path = td.generate(
70
+ prompt="Cyberpunk Seoul city at night, neon lights, 8k",
71
+ model="sd-turbo",
72
+ steps=4
73
+ )
74
+ print(f"Generated and saved to Gallery: {image_path}")
75
+
76
+ ```
77
+
78
+ ### Node.js / TypeScript (npm)
79
+ ```bash
80
+ npm install termux-diffusion
81
+ ```
82
+ ```typescript
83
+ import { generate } from "termux-diffusion";
84
+
85
+ const result = await generate({
86
+ prompt: "Cyberpunk Seoul city at night, neon lights, 8k",
87
+ model: "sd-turbo",
88
+ steps: 4
89
+ });
90
+ console.log("Image created:", result.outputPath);
91
+
92
+ ```
93
+
94
+ ---
95
+
96
+ ## 📖 Official Documentation & Benchmarks
97
+ - [Official Architecture & API Reference](https://uno-km.vercel.app/lib/diffusion/)
98
+ - [Ecosystem Metrics & Registry Stats](https://uno-km.vercel.app/foundation/metrics)
99
+ - [AMEVA Open-Source Foundation Portal](https://uno-km.vercel.app/foundation/index.html)
100
+
101
+ ---
102
+
103
+ ## 📄 License
104
+ Licensed under the Apache-2.0 License. Copyright (c) 2026 Eunho Kim ([@uno-km](https://github.com/uno-km)).