tgdkblack 0.1.44__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,97 @@
1
+ Metadata-Version: 2.4
2
+ Name: tgdkblack
3
+ Version: 0.1.44
4
+ Summary: TGDKBLACK Modular + LibPanther - Rust cdylib wrapped for Python - BFE-TGDK-022ST
5
+ Author: TGDKBLACK
6
+ License: BFE-TGDK-022ST
7
+ Keywords: rust,cdylib,panther,tgdkblack,ffi
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Rust
11
+ Classifier: Operating System :: POSIX :: Linux
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+
15
+ # TGDKBLACK v0.1.44
16
+
17
+
18
+
19
+ **Modular + LibPanther - BFE-TGDK-022ST**
20
+
21
+
22
+
23
+ Rust `cdylib` (`libtgdkblack.so` 508K) wrapped for Python. Flat structure, auto-mods via `./cl`.
24
+
25
+
26
+
27
+ ## Install
28
+
29
+
30
+
31
+ ```bash
32
+
33
+ pip install tgdkblack
34
+
35
+ ```
36
+
37
+
38
+
39
+ ## Build from source (Termux / Linux)
40
+
41
+
42
+
43
+ ```bash
44
+
45
+ cd ~/tgdkblack
46
+
47
+ ./cl --fix
48
+
49
+ make lib
50
+
51
+ # builds src/lib/target/release/libtgdkblack.so 508K
52
+
53
+
54
+
55
+ cd python
56
+
57
+ pip install -e .
58
+
59
+ ```
60
+
61
+
62
+
63
+ ## Usage
64
+
65
+
66
+
67
+ ```python
68
+
69
+ import tgdkblack
70
+
71
+
72
+
73
+ print(tgdkblack.version()) # TGDKBLACK 0.1.44
74
+
75
+ print(tgdkblack.reach("target")) # REACH_OK:target
76
+
77
+ print(tgdkblack.grab("handle")) # GRAB_OK:handle
78
+
79
+ print(tgdkblack.panther_stalk("prey")) # STALK:prey
80
+
81
+ print(tgdkblack.panther_roar()) # ROAR
82
+
83
+ print(tgdkblack.add_numbers(2, 3)) # 5
84
+
85
+ print(tgdkblack.panther_claws("target", 2)) # CLAWS:target 2
86
+
87
+ ```
88
+
89
+
90
+
91
+ ## Flat lib structure
92
+
93
+
94
+
95
+ - `src/lib/lib.rs` (2.7K) is source of truth with `// START AUTO MODS` / `// END AUTO MODS`
96
+
97
+ - `tgdkblack/src/lib/lib.rs` is mirror (fixed 15 bytes bug)
@@ -0,0 +1,83 @@
1
+ # TGDKBLACK v0.1.44
2
+
3
+
4
+
5
+ **Modular + LibPanther - BFE-TGDK-022ST**
6
+
7
+
8
+
9
+ Rust `cdylib` (`libtgdkblack.so` 508K) wrapped for Python. Flat structure, auto-mods via `./cl`.
10
+
11
+
12
+
13
+ ## Install
14
+
15
+
16
+
17
+ ```bash
18
+
19
+ pip install tgdkblack
20
+
21
+ ```
22
+
23
+
24
+
25
+ ## Build from source (Termux / Linux)
26
+
27
+
28
+
29
+ ```bash
30
+
31
+ cd ~/tgdkblack
32
+
33
+ ./cl --fix
34
+
35
+ make lib
36
+
37
+ # builds src/lib/target/release/libtgdkblack.so 508K
38
+
39
+
40
+
41
+ cd python
42
+
43
+ pip install -e .
44
+
45
+ ```
46
+
47
+
48
+
49
+ ## Usage
50
+
51
+
52
+
53
+ ```python
54
+
55
+ import tgdkblack
56
+
57
+
58
+
59
+ print(tgdkblack.version()) # TGDKBLACK 0.1.44
60
+
61
+ print(tgdkblack.reach("target")) # REACH_OK:target
62
+
63
+ print(tgdkblack.grab("handle")) # GRAB_OK:handle
64
+
65
+ print(tgdkblack.panther_stalk("prey")) # STALK:prey
66
+
67
+ print(tgdkblack.panther_roar()) # ROAR
68
+
69
+ print(tgdkblack.add_numbers(2, 3)) # 5
70
+
71
+ print(tgdkblack.panther_claws("target", 2)) # CLAWS:target 2
72
+
73
+ ```
74
+
75
+
76
+
77
+ ## Flat lib structure
78
+
79
+
80
+
81
+ - `src/lib/lib.rs` (2.7K) is source of truth with `// START AUTO MODS` / `// END AUTO MODS`
82
+
83
+ - `tgdkblack/src/lib/lib.rs` is mirror (fixed 15 bytes bug)
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "tgdkblack"
7
+ version = "0.1.44"
8
+ description = "TGDKBLACK Modular + LibPanther - Rust cdylib wrapped for Python - BFE-TGDK-022ST"
9
+ readme = "README.md"
10
+ license = {text = "BFE-TGDK-022ST"}
11
+ authors = [{name = "TGDKBLACK"}]
12
+ keywords = ["rust", "cdylib", "panther", "tgdkblack", "ffi"]
13
+ classifiers = [
14
+ "Development Status :: 4 - Beta",
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Rust",
17
+ "Operating System :: POSIX :: Linux",
18
+ ]
19
+ requires-python = ">=3.8"
20
+
21
+ [tool.setuptools]
22
+ package-dir = {"" = "python"}
23
+
24
+ [tool.setuptools.packages.find]
25
+ where = ["python"]
26
+
27
+ [tool.setuptools.package-data]
28
+ tgdkblack = ["lib/*.so", "*.so"]
29
+
30
+ [project.scripts]
31
+ tgdkblack-cli = "tgdkblack.cli:main"
32
+
@@ -0,0 +1,10 @@
1
+ def main():
2
+ import tgdkblack
3
+ print(tgdkblack.version())
4
+ print(tgdkblack.libpanther_version())
5
+ print(tgdkblack.reach("demo"))
6
+ print(tgdkblack.panther_roar())
7
+ print(f"lib path: {tgdkblack._lib_path}")
8
+
9
+ if __name__ == "__main__":
10
+ main()
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.4
2
+ Name: tgdkblack
3
+ Version: 0.1.44
4
+ Summary: TGDKBLACK Modular + LibPanther - Rust cdylib wrapped for Python - BFE-TGDK-022ST
5
+ Author: TGDKBLACK
6
+ License: BFE-TGDK-022ST
7
+ Keywords: rust,cdylib,panther,tgdkblack,ffi
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Rust
11
+ Classifier: Operating System :: POSIX :: Linux
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+
15
+ # TGDKBLACK v0.1.44
16
+
17
+
18
+
19
+ **Modular + LibPanther - BFE-TGDK-022ST**
20
+
21
+
22
+
23
+ Rust `cdylib` (`libtgdkblack.so` 508K) wrapped for Python. Flat structure, auto-mods via `./cl`.
24
+
25
+
26
+
27
+ ## Install
28
+
29
+
30
+
31
+ ```bash
32
+
33
+ pip install tgdkblack
34
+
35
+ ```
36
+
37
+
38
+
39
+ ## Build from source (Termux / Linux)
40
+
41
+
42
+
43
+ ```bash
44
+
45
+ cd ~/tgdkblack
46
+
47
+ ./cl --fix
48
+
49
+ make lib
50
+
51
+ # builds src/lib/target/release/libtgdkblack.so 508K
52
+
53
+
54
+
55
+ cd python
56
+
57
+ pip install -e .
58
+
59
+ ```
60
+
61
+
62
+
63
+ ## Usage
64
+
65
+
66
+
67
+ ```python
68
+
69
+ import tgdkblack
70
+
71
+
72
+
73
+ print(tgdkblack.version()) # TGDKBLACK 0.1.44
74
+
75
+ print(tgdkblack.reach("target")) # REACH_OK:target
76
+
77
+ print(tgdkblack.grab("handle")) # GRAB_OK:handle
78
+
79
+ print(tgdkblack.panther_stalk("prey")) # STALK:prey
80
+
81
+ print(tgdkblack.panther_roar()) # ROAR
82
+
83
+ print(tgdkblack.add_numbers(2, 3)) # 5
84
+
85
+ print(tgdkblack.panther_claws("target", 2)) # CLAWS:target 2
86
+
87
+ ```
88
+
89
+
90
+
91
+ ## Flat lib structure
92
+
93
+
94
+
95
+ - `src/lib/lib.rs` (2.7K) is source of truth with `// START AUTO MODS` / `// END AUTO MODS`
96
+
97
+ - `tgdkblack/src/lib/lib.rs` is mirror (fixed 15 bytes bug)
@@ -0,0 +1,11 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ python/tgdkblack/cli.py
5
+ python/tgdkblack/libtgdkblack.so
6
+ python/tgdkblack.egg-info/PKG-INFO
7
+ python/tgdkblack.egg-info/SOURCES.txt
8
+ python/tgdkblack.egg-info/dependency_links.txt
9
+ python/tgdkblack.egg-info/entry_points.txt
10
+ python/tgdkblack.egg-info/top_level.txt
11
+ python/tgdkblack/lib/libtgdkblack.so
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tgdkblack-cli = tgdkblack.cli:main
@@ -0,0 +1 @@
1
+ tgdkblack
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ from setuptools import setup, find_packages
2
+ setup(
3
+ package_dir={"": "python"},
4
+ packages=find_packages(where="python"),
5
+ package_data={"tgdkblack": ["lib/*.so", "*.so"]},
6
+ include_package_data=True,
7
+ )