Pythonic bindings for imgui/implot
Project description
imviz
Pythonic bindings for the great imgui and implot libraries.
What?
The goal of this project is to create bindings, which map the immediate mode gui paradigm in a pythonic way, so that writing GUIs in python (especially visualization heavy ones, meaning plots and stuff) becomes easy.
Why?
While writing visualization tools for research, I (personally) found the different python bindings of imgui/implot somewhat unsatisfactory, because:
- pyimgui maps the api but does not include implot
- imgui_datascience seems abandoned and does not include implot
- dearpygui includes implot, but does not replicate the immediate mode paradigm in python
Who?
This is for the people who are too impatient to wait for matplotlib to render 10e5 data points. And for the people who are just completely unwilling (me) or utterly incapable (also me) to deal with application state management in PyQt (otherwise pyqtgraph would be fine).
How?
Installation
OpenGL libraries, GLFW, and GLEW are mandatory dependencies and are expected to be installed on the system.
On Ubuntu 22.04 OpenGL libraries are already installed and GLFW, GLEW can be installed with:
sudo apt-get install -y libglfw3-dev
sudo apt-get install -y libglew-dev
Via PyPI
For convenience a source distribution is available on PyPI. Install via pip:
python3 -m pip install imviz
From Source
The setup.py
script configures and builds the project via cmake, which in
turn downloads further required dependencies. An internet connection is
therefore necessary at build time.
The project can then be installed by executing the following command in the project root directory:
python3 -m pip install .
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
File details
Details for the file imviz-0.2.9.tar.gz
.
File metadata
- Download URL: imviz-0.2.9.tar.gz
- Upload date:
- Size: 580.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275840c824fd74eaee6afeea54b6d77de996503512cb1035a366d4104cfb9b76 |
|
MD5 | a00b717fd25e209265beed3c06d23792 |
|
BLAKE2b-256 | 12c5bfa1889927b79ecbfab592fd5ae1654b48c2ca32f6fa568b1c47ce568c80 |