Skip to main content

Python stub file for designer_plugin module

Project description

Disguise Designer Plugin Pystub

Provides type hints and autocomplete support for all Designer objects available in the designer plugin system for designer_plugin module.

See python-execution-api page for further details.

Get started

Install designer-plugin-pystub:

pip install designer-plugin-pystub

Then use the stub file with designer_plugin:

from designer_plugin.d3sdk import d3pythonscript
from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from designer_plugin.pystub.d3 import *

@d3pythonscript
def get_surface_uid(name: str) -> int:
    surface: Screen2 = resourceManager.load(
        Path(f'objects/screen2/{name}.apx'),
        Screen2
    )
    return surface.uid

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

designer_plugin_pystub-32.0.0.tar.gz (193.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

designer_plugin_pystub-32.0.0-py3-none-any.whl (194.3 kB view details)

Uploaded Python 3

File details

Details for the file designer_plugin_pystub-32.0.0.tar.gz.

File metadata

  • Download URL: designer_plugin_pystub-32.0.0.tar.gz
  • Upload date:
  • Size: 193.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for designer_plugin_pystub-32.0.0.tar.gz
Algorithm Hash digest
SHA256 b99c089f02b8b12078b1ccd05741caa21ec0a6cd261025767a50d8d042dfecd5
MD5 9f1a6aec533cf79202e2e9eb979bfa00
BLAKE2b-256 7d6836643c3ad2f06f393a582ab04fb2e7bd8fe01edeed9d06fae004bc3dcb13

See more details on using hashes here.

Provenance

The following attestation bundles were made for designer_plugin_pystub-32.0.0.tar.gz:

Publisher: release.yml on disguise-one/Designer_Plugin_pystub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file designer_plugin_pystub-32.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for designer_plugin_pystub-32.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53f73a31a9dde7ae3a5ad69993ccdf15716c87574b4d812139d67e290d91bb22
MD5 c2b41010c9a58cdb2b5ba057e866e187
BLAKE2b-256 fba81f7a7468c831428c2a7e6d22eb941657b533bcd40701ed19b71e506dd52b

See more details on using hashes here.

Provenance

The following attestation bundles were made for designer_plugin_pystub-32.0.0-py3-none-any.whl:

Publisher: release.yml on disguise-one/Designer_Plugin_pystub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page