Skip to main content

A module that generates a structured Tk window frame from a text file.

Project description

TkSugar

A module that generates a structured Tk window frame from a text file.

from tksugar.generator import Generator

gen = Generator()
gen.string = """
_Tk:
  title: "TEST Window"
  geometry: 400x300
  _Frame:
    pack:
    _Label:
      text: "Hello"
      pack:
"""
window = gen.generate()
window.mainloop()

->

demo

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

tksugar-0.1.3.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

tksugar-0.1.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file tksugar-0.1.3.tar.gz.

File metadata

  • Download URL: tksugar-0.1.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for tksugar-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8fc7fa81327bd53cccf37f97fac5238ad9fe04549cb552d338cf30d4a7c8b8ab
MD5 5e214a28f1d56640636e65d60542423a
BLAKE2b-256 fa8e941277c65342c8a296971a15d30632976269b75609a84890e01930368e1b

See more details on using hashes here.

File details

Details for the file tksugar-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tksugar-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for tksugar-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be9076020260138669abab3d63ff834753c827fc73c88fd100f734c731614d6e
MD5 0a20255b0fc555cfa12038ea909eb058
BLAKE2b-256 791cfd4d47869b8a4f4ffd146e1936ac5679dc10f5f05d19a5d9e618c74038e0

See more details on using hashes here.

Supported by

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