Skip to main content

A composable tag system for use with DearPyGUI

Project description

DpgMagicTag

A composable tag system useable with DearPyGUI

Motivation

DearPyGUI allows memorable tags for items but they are required to be strings. Often, especially when creating reusable components which might appear more than once in an application, I found myself using some variation of the following pattern:

base_tag = some_unique_string_generator()
with dpg.window(tag = base_tag + 'window'):
    with dpg.button(tag = base_tag + 'left_button')
    ...

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

dpgmagictag-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

dpgmagictag-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file dpgmagictag-0.1.0.tar.gz.

File metadata

  • Download URL: dpgmagictag-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for dpgmagictag-0.1.0.tar.gz
Algorithm Hash digest
SHA256 00f61a50d673c67a7229f9ce1820c39f29a8e1e68fb5d69796de0e324f3f7055
MD5 b190e90bdaca235b2a299ad08cf0fcda
BLAKE2b-256 a6816c26323b742680832c42abe53d824dd3ac5197dd03bdceef390034b63484

See more details on using hashes here.

File details

Details for the file dpgmagictag-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dpgmagictag-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87fe57a5a657889ff7842e5aa2f3bb65e170e28651a121500c69bc59cbc8989d
MD5 e74cb06fedd738cf331e6e7ca427d9cb
BLAKE2b-256 6c4abb25ced4de6dce07f58c5bb2daac12ee7499a52a2c49c4a0f1dad84ce1fb

See more details on using hashes here.

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