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 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-33.1.0.tar.gz (202.5 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-33.1.0-py3-none-any.whl (216.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for designer_plugin_pystub-33.1.0.tar.gz
Algorithm Hash digest
SHA256 1fa80d8da04d1e59efbd399a95d8503e49eb6b2c21fb72064073df3a309fa820
MD5 e5c72536118a8df26b7d3afbb5fd1e32
BLAKE2b-256 0818765b8841406463271ad950d6cf9a75c0bf9276ce16830fc21984eb3bf53d

See more details on using hashes here.

Provenance

The following attestation bundles were made for designer_plugin_pystub-33.1.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-33.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for designer_plugin_pystub-33.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9455535a461e70a72d273a01899509c8f832fd16a11775d002347cd561993c8d
MD5 6a2d029805f6015729e5c5b6cb7c61c7
BLAKE2b-256 8e4fede47777a273fde77a933af5d316da86b05a125732583e6ce79a38321270

See more details on using hashes here.

Provenance

The following attestation bundles were made for designer_plugin_pystub-33.1.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