designer-plugin-pystub 32.0.0__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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 disguise
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,48 @@
1
+ Metadata-Version: 2.4
2
+ Name: designer-plugin-pystub
3
+ Version: 32.0.0
4
+ Summary: Python stub file for designer_plugin module
5
+ Author-email: Taegyun Ha <taegyun.ha@disguise.one>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/disguise-one/Designer_Plugin_d3_pystub
8
+ Project-URL: Issues, https://github.com/disguise-one/Designer_Plugin_d3_pystub/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.11
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # Disguise Designer Plugin Pystub
17
+
18
+ Provides type hints and autocomplete support for all Designer objects available in the designer plugin system for [designer_plugin](https://github.com/disguise-one/python-plugin) module.
19
+
20
+ See [python-execution-api](https://developer.disguise.one/plugins/python-execution-api/) page for further details.
21
+
22
+ ## Get started
23
+
24
+ Install designer-plugin-pystub:
25
+
26
+ ```bash
27
+ pip install designer-plugin-pystub
28
+ ```
29
+
30
+ Then use the stub file with designer_plugin:
31
+ ```python
32
+ from designer_plugin.d3sdk import d3pythonscript
33
+ from typing import TYPE_CHECKING
34
+ if TYPE_CHECKING:
35
+ from designer_plugin.pystub.d3 import *
36
+
37
+ @d3pythonscript
38
+ def get_surface_uid(name: str) -> int:
39
+ surface: Screen2 = resourceManager.load(
40
+ Path(f'objects/screen2/{name}.apx'),
41
+ Screen2
42
+ )
43
+ return surface.uid
44
+ ```
45
+
46
+ ## License
47
+
48
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,33 @@
1
+ # Disguise Designer Plugin Pystub
2
+
3
+ Provides type hints and autocomplete support for all Designer objects available in the designer plugin system for [designer_plugin](https://github.com/disguise-one/python-plugin) module.
4
+
5
+ See [python-execution-api](https://developer.disguise.one/plugins/python-execution-api/) page for further details.
6
+
7
+ ## Get started
8
+
9
+ Install designer-plugin-pystub:
10
+
11
+ ```bash
12
+ pip install designer-plugin-pystub
13
+ ```
14
+
15
+ Then use the stub file with designer_plugin:
16
+ ```python
17
+ from designer_plugin.d3sdk import d3pythonscript
18
+ from typing import TYPE_CHECKING
19
+ if TYPE_CHECKING:
20
+ from designer_plugin.pystub.d3 import *
21
+
22
+ @d3pythonscript
23
+ def get_surface_uid(name: str) -> int:
24
+ surface: Screen2 = resourceManager.load(
25
+ Path(f'objects/screen2/{name}.apx'),
26
+ Screen2
27
+ )
28
+ return surface.uid
29
+ ```
30
+
31
+ ## License
32
+
33
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,30 @@
1
+ [build-system]
2
+ requires = ["setuptools >= 77.0.3"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "designer-plugin-pystub"
7
+ version = "32.0.0"
8
+ description = "Python stub file for designer_plugin module"
9
+ authors = [
10
+ { name = "Taegyun Ha", email = "taegyun.ha@disguise.one" }
11
+ ]
12
+ readme = "README.md"
13
+ requires-python = ">=3.11"
14
+ dependencies = []
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+ license = "MIT"
20
+ license-files = ["LICENSE*"]
21
+
22
+ [project.urls]
23
+ Homepage = "https://github.com/disguise-one/Designer_Plugin_d3_pystub"
24
+ Issues = "https://github.com/disguise-one/Designer_Plugin_d3_pystub/issues"
25
+
26
+ [dependency-groups]
27
+ dev = [
28
+ "twine>=6.2.0",
29
+ ]
30
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+