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.6.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for minitk-0.9.6.tar.gz
Algorithm Hash digest
SHA256 b89c5e5a8498c9b627f1741bc1a0328d7e08e5f1c2e7b60a7033fd54803d0664
MD5 e223e8a01e3f02295360f696cbffdd3b
BLAKE2b-256 63f858986152ceb3283f7819cbc4cf164072d870139e3b6aef58ad1574deb6e9

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