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-pp37-pypy37_pp73-manylinux2010_x86_64.whl (1.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mahi_gui-0.3.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl (1.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mahi_gui-0.3.2-pp36-pypy3_72-manylinux2010_x86_64.whl (1.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

mahi_gui-0.3.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

mahi_gui-0.3.2-cp39-cp39-manylinux2010_x86_64.whl (1.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

mahi_gui-0.3.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

mahi_gui-0.3.2-cp38-cp38-manylinux2010_x86_64.whl (1.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

mahi_gui-0.3.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

mahi_gui-0.3.2-cp37-cp37m-manylinux2010_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

mahi_gui-0.3.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

mahi_gui-0.3.2-cp36-cp36m-manylinux2010_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

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