Skip to main content

Create winforms in an easy, declarative way. Specially suited for Robotics applications

Project description

Description

A simple, declarative oriented framework to create WinForms in Python.

While it can be used for all kinds of forms, it was created with the purpose of being applied in Robotics, where the need to visualize complex algorithms and, above all, observe the effect of parameter changes is very common.

The forms are defined in a declarative way in an YAML (layouts, widgets, toolbar, menus, etc.) and used in a Python program with just a few lines of code.

How to use it

To create a WinForm it is necessary to create two files:

  • a declaration file (*.yaml) that define the WinForm (menu bar, toolbar, layouts, widgets, etc.)
  • a python file (with the same name) that handles all the WinForm logic (events, drawing, etc.)

For a complete form see view_example.yaml to understand how the form is defined and view_example.py how it is used.

If you run python view_example.py the form is:

winform_example

In case a simple graph is needed look at view_simple_graph.py.

Examples

Form used to visualize a PID controller for control the speed of a car

Screen Shot 2023-07-12 at 6 22 05 PM

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

windeklar-0.4.3.tar.gz (174.2 kB view details)

Uploaded Source

Built Distribution

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

windeklar-0.4.3-py3-none-any.whl (157.4 kB view details)

Uploaded Python 3

File details

Details for the file windeklar-0.4.3.tar.gz.

File metadata

  • Download URL: windeklar-0.4.3.tar.gz
  • Upload date:
  • Size: 174.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for windeklar-0.4.3.tar.gz
Algorithm Hash digest
SHA256 d83aa8f5b5beeadb21776971b11bfaae1dd90f7bfa11a49d62f1939045366061
MD5 c0f41fbbb83f906d871f8dac14b72dee
BLAKE2b-256 e298904b76100d887c520939eda82ee218217e855187034080bf97b19258fe51

See more details on using hashes here.

File details

Details for the file windeklar-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: windeklar-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 157.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for windeklar-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de590ca2d18ae25bb24efc6ee31b66820263b7170366543684d6730685b5b8b8
MD5 b935ac90ef3aa0077240ce85dcf5393f
BLAKE2b-256 9c11f1ef67b40fbf2514480a0e6519adea0483c9fcc1f96bc14deabf8854bb2a

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