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, controls, 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, controls, 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.2.6.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

windeklar-0.2.6-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: windeklar-0.2.6.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for windeklar-0.2.6.tar.gz
Algorithm Hash digest
SHA256 e9371d431ed0d5c0e513bc90b8ce6bb1cc9a4f536ccb889a0203e028f6770f60
MD5 716460e0cdcf4a3b1b19e7efa6a46db5
BLAKE2b-256 8a18f4ff49c59bcd7c26629faaca2c087bb96e847e13498451bcf8c4cecad9c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windeklar-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for windeklar-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 88c7ca12723ef972e68f981ab4a0b4242a977ea38c44a649fb2c0235a71a0bd5
MD5 47d066c56e11fe840f2ef342291d6e16
BLAKE2b-256 6bd5c4dbda4227b958a957615c754970fba67c085cb5642351b4e11e4e91baf9

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