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.0.0.tar.gz (200.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-33.0.0-py3-none-any.whl (214.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: designer_plugin_pystub-33.0.0.tar.gz
  • Upload date:
  • Size: 200.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-33.0.0.tar.gz
Algorithm Hash digest
SHA256 a60f15bbe9199f119c01f7de7f2bd86a13118e2f18aa64609aeb2f5e3e38f713
MD5 17822afc73598839e4c4f8b53cc7014c
BLAKE2b-256 d27d71e4d3de0ffb382a69d7bb28e9064038c81687c4d5569b370c9a16e580fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for designer_plugin_pystub-33.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c0608cb63070fe62bbe8dc0d2bb5efbdfad19f2a4add4cb757d2d3b0ac286e1
MD5 4a23fd00941c08393324fa7c0257f794
BLAKE2b-256 49322c7a11de7eebf1548dc37c3b2c8bbe31f9aa9adf71747c94677a28ddd895

See more details on using hashes here.

Provenance

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