Skip to main content

Minimalist non blocking control panel for parameters

Project description

minitk

Minimalist non blocking control panel for parameters

Installation

sudo apt install python3-tk
pip install minitk

Usage

Here is a simple example:

import minitk

def say_hello():
    print('hello')

control_panel = minitk.ControlPanel()
control_panel.create_button('Say hello', say_hello)
control_panel.create_check_button('Status')
control_panel.create_slider('Value', 0, 10)
control_panel.create_menu('Options', ['a', 'b', 'c'])

while True:
    control_panel.update()

More examples are available under examples/

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

minitk-0.9.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file minitk-0.9.2.tar.gz.

File metadata

  • Download URL: minitk-0.9.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.7.0 requests/2.25.1 setuptools/69.1.1 requests-toolbelt/0.9.1 tqdm/4.66.1 CPython/3.8.18

File hashes

Hashes for minitk-0.9.2.tar.gz
Algorithm Hash digest
SHA256 eb6f8482694fbbafdb11eb4b23b9a09fedf23b31378f01b1ff965f8c251287df
MD5 10fa8e2d4b0ddad27bc46ebd0fecc0b9
BLAKE2b-256 97185dd3190677997fbb610f6bde69081e7a8b582a9a0c3f7d909509c49b13bf

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