Skip to main content

Python bindings for mahi-gui imgui and implot.

Project description

mahi-gui Python bindings

Build Status Build status

This module enables you to create mahi-gui applications with Dear ImGui and ImPlot using Python. Note that there currently are no bindings for NanoVG.

Usage is similar to mahi-gui, inherit your Application class from mahi_gui.Application and overwrite the methods _update(), _draw_opengl() (named draw() in C++ interface). To get you started have a look into the examples folder.

Almost all ImGui and ImPlot functions are available, please consult their documentations. You can even call OpenGL functions inside _draw_opengl() to draw custom stuff. If a functionality you require is not mapped feel free to request it or create a pull request.

The bindings are maintained by hand to get the best performance, especially when plotting large datasets.

Installation

The project is available in the Python Package Index PyPi, just run the following command:

pip install mahi-gui

If you are on a platform where no pre-compiled binaries are available or want to build from source you may need to resolve missing build dependencies.

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

mahi_gui-0.3.2.tar.gz (5.9 MB view hashes)

Uploaded source

Built Distributions

mahi_gui-0.3.2-cp39-cp39-win_amd64.whl (1.1 MB view hashes)

Uploaded cp39

mahi_gui-0.3.2-cp39-cp39-win32.whl (1.0 MB view hashes)

Uploaded cp39

mahi_gui-0.3.2-cp38-cp38-win_amd64.whl (1.1 MB view hashes)

Uploaded cp38

mahi_gui-0.3.2-cp38-cp38-win32.whl (1.0 MB view hashes)

Uploaded cp38

mahi_gui-0.3.2-cp37-cp37m-win_amd64.whl (1.1 MB view hashes)

Uploaded cp37

mahi_gui-0.3.2-cp37-cp37m-win32.whl (1.0 MB view hashes)

Uploaded cp37

mahi_gui-0.3.2-cp36-cp36m-win_amd64.whl (1.1 MB view hashes)

Uploaded cp36

mahi_gui-0.3.2-cp36-cp36m-win32.whl (1.0 MB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page