termuxapp 0.0.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.
@@ -0,0 +1,6 @@
1
+ __pycache__/
2
+ *.pyc
3
+ build/
4
+ dist/
5
+ *.egg-info/
6
+ .venv/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TermuxSupport
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: termuxapp
3
+ Version: 0.0.1
4
+ Summary: Simple test package to verify pip install works on Termux
5
+ Project-URL: Homepage, https://github.com/TermuxSupport/termux-packages
6
+ Author: TermuxSupport
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+
14
+ # termux-hello-check
15
+
16
+ Package sederhana untuk menguji apakah `pip install` berjalan normal di Termux.
17
+
18
+ ## Install
19
+
20
+ ```bash
21
+ pip install termux-hello-check
22
+ ```
23
+
24
+ ## Pakai
25
+
26
+ ```bash
27
+ termux-hello
28
+ ```
29
+
30
+ Atau:
31
+
32
+ ```bash
33
+ python -m termux_hello.cli
34
+ ```
35
+
36
+ Jika berhasil, akan muncul informasi versi Python, platform, dan konfirmasi instalasi sukses.
@@ -0,0 +1,23 @@
1
+ # termux-hello-check
2
+
3
+ Package sederhana untuk menguji apakah `pip install` berjalan normal di Termux.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install termux-hello-check
9
+ ```
10
+
11
+ ## Pakai
12
+
13
+ ```bash
14
+ termux-hello
15
+ ```
16
+
17
+ Atau:
18
+
19
+ ```bash
20
+ python -m termux_hello.cli
21
+ ```
22
+
23
+ Jika berhasil, akan muncul informasi versi Python, platform, dan konfirmasi instalasi sukses.
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ cd "$(dirname "$0")"
5
+
6
+ if [ -z "${PACKAGE_NAME:-}" ]; then
7
+ echo "ERROR: secret PACKAGE_NAME belum diset." >&2
8
+ exit 1
9
+ fi
10
+
11
+ if [ -z "${PYPI_API_TOKEN:-}" ]; then
12
+ echo "ERROR: secret PYPI_API_TOKEN belum diset." >&2
13
+ exit 1
14
+ fi
15
+
16
+ echo "Menggunakan nama paket: $PACKAGE_NAME"
17
+
18
+ sed "s/__PACKAGE_NAME__/${PACKAGE_NAME}/g" pyproject.toml.template > pyproject.toml
19
+
20
+ rm -rf dist build ./*.egg-info
21
+
22
+ python3 -m build
23
+
24
+ python3 -m twine upload dist/* -u __token__ -p "$PYPI_API_TOKEN"
25
+
26
+ echo "Selesai. Cek: https://pypi.org/project/${PACKAGE_NAME}/"
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "termuxapp"
7
+ version = "0.0.1"
8
+ description = "Simple test package to verify pip install works on Termux"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ requires-python = ">=3.7"
12
+ authors = [
13
+ { name = "TermuxSupport" }
14
+ ]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+
20
+ [project.urls]
21
+ Homepage = "https://github.com/TermuxSupport/termux-packages"
22
+
23
+ [project.scripts]
24
+ termux-hello = "termux_hello.cli:main"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = ["src/termux_hello"]
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "__PACKAGE_NAME__"
7
+ version = "0.0.1"
8
+ description = "Simple test package to verify pip install works on Termux"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ requires-python = ">=3.7"
12
+ authors = [
13
+ { name = "TermuxSupport" }
14
+ ]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+
20
+ [project.urls]
21
+ Homepage = "https://github.com/TermuxSupport/termux-packages"
22
+
23
+ [project.scripts]
24
+ termux-hello = "termux_hello.cli:main"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = ["src/termux_hello"]
@@ -0,0 +1 @@
1
+ __version__ = "0.0.1"
@@ -0,0 +1,19 @@
1
+ import platform
2
+ import sys
3
+
4
+ from . import __version__
5
+
6
+
7
+ def main():
8
+ print("=" * 40)
9
+ print(" termux-hello berhasil terinstall!")
10
+ print("=" * 40)
11
+ print(f"Versi paket : {__version__}")
12
+ print(f"Python : {sys.version.split()[0]}")
13
+ print(f"Platform : {platform.platform()}")
14
+ print(f"Sistem : {platform.system()}")
15
+ print("Jika Anda melihat pesan ini, artinya instalasi via pip berjalan sukses.")
16
+
17
+
18
+ if __name__ == "__main__":
19
+ main()