pydear 🦌
ImGui wrapper generated by clang.cindex.
Works in conjunction with PyOpenGL and glfw.
PreBuild wheel
Only Python-3.10 (Windows 64bit) is provided. It was developed on Windows and worked on Linux as well.
Included Bindings
A luajit-like style using ctypes. Pointer arguments are passed by an array of length 1.
p_open = (ctypes.c_bool * 1)(True)
ImGui.Begin('name', p_open)
Also, all C structs are defined as ctypes.Struct generated using clang.cindex.
class ImGuiIO(ctypes.Structure):
_fields_=[
("ConfigFlags", ctypes.c_int32), # Int32Type: int,
("BackendFlags", ctypes.c_int32), # Int32Type: int,
The ImGUi backend is provided in a pure Python module pydear.backends.
Currently only glfw and OpenGL3 exist.
Most bindings are available, except for functions that have callback and va_list as arguments.
ImGui-1.87 docking branch
https://github.com/ocornut/imgui
ImNodes
https://github.com/Nelarius/imnodes
NanoVG modified
https://github.com/ousttrue/picovg/
Detail
https://ousttrue.github.io/pydear/
Build
Code generation
https://github.com/ousttrue/rawtypes
Package check
py -m pip wheel .
twine check pydear-1.12.1-cp310-cp310-linux_x86_64.whl
Metadata
Release files for pydear 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydear-2.1.0.tar.gz | 315.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydear-2.1.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
Total release size: 1.2 MB
Release files / pydear-2.1.0.tar.gz
| Download URL | pydear-2.1.0.tar.gz |
|---|---|
| Size | 315.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3beb3d15942c1a9de63395d947d96bb0fa29c89a7c629c42bbd86ac4ab2ea361
|
|
BLAKE2b-256 checksum How to use checksums |
68ee209ffeb1f529c7825a6750a2ca40a920396e3de4d6c3c12e7f0b531d7fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.13
|
Release files / pydear-2.1.0-cp310-cp310-win_amd64.whl
| Download URL | pydear-2.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 883.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cbec011a32d3839fded11a798d970c050efe86f7165dc8528dc548d8aa20e4b2
|
|
BLAKE2b-256 checksum How to use checksums |
951f4d14166636e84fc1bda715a206b58ea2730533ec8a632c1698ec50b6219a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.13
|