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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file windeklar-0.3.4.tar.gz
.
File metadata
- Download URL: windeklar-0.3.4.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d3851ec2fa4a8a257f935e35c1487f3f72a317a186ef62cc66b17f8f84114fd |
|
MD5 | eac11c1637ddba568c1f11035708f388 |
|
BLAKE2b-256 | 5eccc4a41c16d2e86ce6b0affe50a59c427f2245052e97d0782d322e64f710c8 |
File details
Details for the file windeklar-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: windeklar-0.3.4-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d67c0ef581e249302df2a3e9eec1999b2fe0af3b6b935056e3c740882c4dd4 |
|
MD5 | e492b5abc47e655f36716831a1adc1c2 |
|
BLAKE2b-256 | af90134fc707924d16da0f32b1d4b8b14b5b85c5f02325e3397d57105c67a941 |