Skip to main content

Cython-based Python bindings for dear imgui

Project description

completion Coverage Status Documentation Status

Builds:

  • Build status (Windows)

  • Build Status (OS X & Linux)

pyimgui

pyimgui is a Cython-based binding for the amazing dear imgui C++ library - a Bloat-free Immediate Mode Graphical User Interface.

Installation

pyimgui is available on PyPI so you can easily install it with pip:

pip install imgui[full]

Above command will install imgui package with additional dependencies for all built-in rendering backend integrations (pygame, cocos2d, etc.). If you don’t want to install all additional dependencies you can always use bare pip instal imgui command or select a specific set of extra requirements:

  • for GLFW3 backend use pip install imgui[pygame]

  • for GLFW3 backend use pip install imgui[glfw]

  • for SDL2 backend use pip install imgui[sdl2]

  • for Cocos2d backend use pip install imgui[cocos2d]

Package is distributed in form of built wheels so it does not require compilation on most operating systems. For more details about compatibility with diffferent OSes and Python versions see the Project ditribution section of this documentation page.

Project status

The imgui package provides support for the majority of core ImGui widgets and functionalities. Some low-level API elements and complex widgets (like plots) may be missing. We are working hard to provide 100% feature mapping of the core ImGui library. The completion badge shows up-to-date status of that goal.

Project distribution

This project has working build pipeline on Appveyor and Travis and builds succesfully for all major operating systems with different architectures:

  • Windows (32bit & 64bit)

  • Linux (32bit & 64bit)

  • OS X (universal build)

Right now we are ready to shipping the built wheels for these three systems (even for Linux using manylinux1 wheels). The build pipeline covers multiple Python versions:

  • py27

  • py33

  • py34

  • py35

  • py36

pyimgui provides documentation with multiple visual examples. Thanks to custom Sphinx extensions we are able to render GUI examples off screen directly from docstring snippets. These examples work also as automated functional tests. Documentation is hosted on pyimgui.readthedocs.io.

If none of these wheels work in your environment you can install the imgui package by compiling it directly from sdist distribution using one of following commands:

# will install Cython as extra dependency and compile from Cython sources
pip install imgui[Cython] --no-binary imgui

# will compile from pre-generated C++ sources
pip install imgui --no-binary imgui

Development tips

We have tried hard to make the process of bootstraping this project as simple as possible.

In order to build and install project locally ,ake sure you have created and activated virtual environment using virtualenv or python -m venv (for newer Python releases). Then you can just run:

make build

This command will bootstrap whole environment (pull git submodules, install dev requirements etc.) and build the project. make will automatically install imgui in the development/editable mode. Then you can run some examples found in the doc/examples directory in order to verify if project is working.

For building documentation and running tests you will need some additional requirements from doc/requirements-test.txt.

You can run tests with:

py.test

If you have any problems with building or installing the project just ask us for help by creating GitHub issue.

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

imgui-0.0.2.tar.gz (571.3 kB view details)

Uploaded Source

Built Distributions

imgui-0.0.2-cp36-cp36m-win_amd64.whl (768.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

imgui-0.0.2-cp36-cp36m-win32.whl (681.5 kB view details)

Uploaded CPython 3.6m Windows x86

imgui-0.0.2-cp36-cp36m-manylinux1_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6m

imgui-0.0.2-cp36-cp36m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.6m

imgui-0.0.2-cp36-cp36m-macosx_10_11_x86_64.whl (855.8 kB view details)

Uploaded CPython 3.6m macOS 10.11+ x86-64

imgui-0.0.2-cp35-cp35m-win_amd64.whl (767.2 kB view details)

Uploaded CPython 3.5m Windows x86-64

imgui-0.0.2-cp35-cp35m-win32.whl (680.9 kB view details)

Uploaded CPython 3.5m Windows x86

imgui-0.0.2-cp35-cp35m-manylinux1_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.5m

imgui-0.0.2-cp35-cp35m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.5m

imgui-0.0.2-cp34-cp34m-win_amd64.whl (749.5 kB view details)

Uploaded CPython 3.4m Windows x86-64

imgui-0.0.2-cp34-cp34m-win32.whl (674.3 kB view details)

Uploaded CPython 3.4m Windows x86

imgui-0.0.2-cp34-cp34m-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.4m

imgui-0.0.2-cp34-cp34m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.4m

imgui-0.0.2-cp34-cp34m-macosx_10_11_x86_64.whl (854.9 kB view details)

Uploaded CPython 3.4m macOS 10.11+ x86-64

imgui-0.0.2-cp33-cp33m-win_amd64.whl (749.5 kB view details)

Uploaded CPython 3.3m Windows x86-64

imgui-0.0.2-cp33-cp33m-win32.whl (674.3 kB view details)

Uploaded CPython 3.3m Windows x86

imgui-0.0.2-cp33-cp33m-manylinux1_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.3m

imgui-0.0.2-cp33-cp33m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.3m

imgui-0.0.2-cp33-cp33m-macosx_10_11_x86_64.whl (831.0 kB view details)

Uploaded CPython 3.3m macOS 10.11+ x86-64

imgui-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl (2.0 MB view details)

Uploaded CPython 2.7mu

imgui-0.0.2-cp27-cp27mu-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7mu

imgui-0.0.2-cp27-cp27m-win_amd64.whl (750.6 kB view details)

Uploaded CPython 2.7m Windows x86-64

imgui-0.0.2-cp27-cp27m-win32.whl (667.6 kB view details)

Uploaded CPython 2.7m Windows x86

imgui-0.0.2-cp27-cp27m-manylinux1_x86_64.whl (2.0 MB view details)

Uploaded CPython 2.7m

imgui-0.0.2-cp27-cp27m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7m

imgui-0.0.2-cp27-cp27m-macosx_10_11_x86_64.whl (851.7 kB view details)

Uploaded CPython 2.7m macOS 10.11+ x86-64

File details

Details for the file imgui-0.0.2.tar.gz.

File metadata

  • Download URL: imgui-0.0.2.tar.gz
  • Upload date:
  • Size: 571.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for imgui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1416268b45b0ce13d7879c921bb3cb2f43db9572c209e88d09e5c7278cc5cb8b
MD5 2636fc65084a8b0ad70d0271547f0ae9
BLAKE2b-256 4b7c1b8648ea33fd21d836b45ac755e87dfd32d4e082048806f539d4e58ee103

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 488517554c6f5db70e6cfa2b6aaa5ac8723b9efc72d8457cefc31bbb0727e901
MD5 f4e14ce0abd16b7a098e78c2f195e42f
BLAKE2b-256 27f8b6ff6457087507c3341f0d04376c8172dcf493e5d1ef6b519ee427de3201

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9ee44a2fd703ec6ad06b22f683cbec6bbe4b2d6162f81c44a7dee1499cc16667
MD5 3355ee9fc42478fe6dcd6c9b2bc9b7e9
BLAKE2b-256 7180c3c0b0920e99d5422e39a3fff6cfe5025aa059a6b451c96331a6eaaa253e

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e256a83f234a73e8bb91850983bf75f5e01edd8600c5f0cdcabbb8285973b2b9
MD5 7727122bf4c2dbb98886fe516b0f4ca9
BLAKE2b-256 ff59445ab63a0cbc62dbc6994bcb6c5fbe7bc81ffd35af260dceb9065390f86e

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6bdf7a673815f88147b75a0ce813c6b925d8a24b7c18afc29531ac96add8c4e5
MD5 a083180de833751b067904adf6d05364
BLAKE2b-256 ec4ef6edfdbda5912e83bf9e18bd565a3b79ff5305aa6810b865049c3f79518a

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp36-cp36m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 febac001da1d250603a6a500a0521695871c9e835e8db2b91d0809085141042b
MD5 c85f7506e48382ccd9b7c939c4b029e1
BLAKE2b-256 159f61bb3e4289f8791d69de1303be111696a7c8b9f5559b9496eb5b998d638e

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 68025aea319958122b0cdce26c371e325d93ccabcb82d595d360e30edcf518f7
MD5 462862f408ec5eeb4f57745c14e4af8a
BLAKE2b-256 5548d98e22a8c605fb8d5e5a4451eb4bcf3ed691d4ed6d79fe1b7c54cbe85e89

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 363399e90872dd7cd886a02a4cc82f46dac3c01f3e06fc0a2e1b8a89431558ba
MD5 8fe2502ce50035ddafa73398a71c1387
BLAKE2b-256 42afa4e5e2b59877398662acb9ba2fd83546d9fe367b967130f86862d766c289

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 152b23a28e3167d3c92dfabc31abf47852f0d3612fb317e69e620073393b241d
MD5 ae92394a2fdf5158e5f297e4979048a5
BLAKE2b-256 3538a683a493c6686bb892a003413c6b785bbe4d2a1933472ffd77c0ef6f4e79

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c2502204f8ea6d5594cf43c9e64f206486b79e88e23762ad3114a63cd5682f83
MD5 08596926af7892c5879585f3e19b102e
BLAKE2b-256 bf83f9bdb5858134bb2899c55bb0362066e3311af081680c00b5c03e11ad0dc9

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 63fd3a2720fce4950793fef141859587df66f2690926c6d94842ce85ac1fd8a9
MD5 75dc45d0d2036d7ec4a31c41986d3dcf
BLAKE2b-256 f560894263a400a643174cd48d9770f71b53a1d601a9a935e2300fdbc09dd1a8

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 f7461fbbb95005067136101f4d2f29aff3c067b2cc5f48f31f6b2dc6a35d0e99
MD5 0ee817aa7ca81745f0008f11defc1dca
BLAKE2b-256 6f8433c83dff59e43713414ddcc132cbbab20b3a5e53faa71bf27b4debc60202

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c9a16dcbabdaab1698fd16878e0ce35157e73e3af92a7b2f9df92a6c08627a5b
MD5 ddc5a3f7fe4c70050f589662e68d4a00
BLAKE2b-256 57ed7d98dd6a9bc77f18c644ad33fc71ca17eb4f68861cdb7345e444bf3f9cd1

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7bbd7e7a047368e93fad8ac1b44602e16486b1caa2687695f66eae1ffd6803ec
MD5 42051374c4518c67f27eb2aeae8e0bd9
BLAKE2b-256 d1089e4dccaf7ac1ff2624d475879c201eac5e92a6fc439a0104dc285b24fcfe

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp34-cp34m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp34-cp34m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 a9f77663984eb53003fb19f6463ddecca6a4a1fc55f7b89ee203c733836176ca
MD5 c733053f411858d9a83256c99333d18c
BLAKE2b-256 3a742e2b0e3f949c7ec922e2b8322fe7e943e19137754259eeb3749cd5495167

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 30e0aa1a6e37c1f1fdb249c9cf6f9cdb7c647ddb3cc7273ef636278167b07eb7
MD5 3259525706ec5c27d3bfb597af7956a3
BLAKE2b-256 c26e9c0e2d230100c307f0b39be10f8821d542cb3eb49f99f841fdc746a5ddcd

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 72a4e244464d9dcf7adca07f0347370ecb4a2addb9f3b3873e8831519994613b
MD5 f7d27c307ac7f369dd286ca5c0dcedd6
BLAKE2b-256 7c3781b18e12ea13ca6b2f08e256a2d6be15c322c70ec2847bd0e289b1102af4

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 afa8100969edc791d843b49781cc6466a38621abef6ae536acab084a4183bcaf
MD5 c4ec5f0a1bc2efbe549ef929832a81a8
BLAKE2b-256 a23a1d6af8fceb36f802e87687ddb227246ad91a5eb0cb0a63c3e26f6a2321ec

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 38e4e3a6b51d33465ce25654ffdd887838ebab068ce0c9c3f0da7f90d4f1de3a
MD5 262db3151148ac158f4ed4d3514a2753
BLAKE2b-256 d3cbfedc0736fd417f5e4a5a47e1f5ad52a841377c1fa393bbd739243a3f975f

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp33-cp33m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp33-cp33m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 7e0385264afc3380ecd0551bbf1d210059fcac86393355baa419e5d0f54f72b6
MD5 1cae7f7b3dcc8d4042953b130f30de05
BLAKE2b-256 85ac4a175ce81e98898ace5d9f217be6812e3e99027e094dbd0f9e17fdd5981d

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c7340c37025e57926514a72f8eab84853a36cbb6d57467b92b67ea1ef07116cb
MD5 3027ed1db6e88b180c7d16eae2c87b05
BLAKE2b-256 4318b3947bdfb325bcb30388ab4cbab54d45eeaa12ac0d7d5b9f45d4e42b0515

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 afe3d0a5afc73605af7c351615a3ecdf21a8c89a91c668628b172fbff1a4154d
MD5 3ec362587cb85954675dfe6cf00510a9
BLAKE2b-256 6837cc2dd98455023362343f72bf016cb8b5fc871918a43288cdcdf199928845

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 879b574b387545f52e8fb835f34f27cbab2226a6167e4a8689ded81a43679b84
MD5 1d078ed1f0caa4175d7819365edf1660
BLAKE2b-256 8a904c46f15c70a476658917418d4b6938f9711d7e98711556a21e1d1d7a6234

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 9f453c9b90fa53b4a613256e1b00d5ea35c1dd123d1201d5b927549f3badf5e8
MD5 bf1cf7361750d34ff0589dacc8135503
BLAKE2b-256 323a38b83baab67124c2f1226031d8dc92970aee5eb4f6b522a0882df12d60cb

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5fa86e37be7839f15aab7f28f668686c0689a2d6b5b2d06164a87c40fa1d95b6
MD5 7b39c0de9a1d963cec54718f35d99156
BLAKE2b-256 c1596274030b29fc4659c0395e1890ecb38a936f2e35a141295d2583b408d8a5

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 41d347c858b073e6a7ec0ec96f161002e05df00c3096100e325e7bb68fc15317
MD5 c319521ba57730b50e35184b483a6bc2
BLAKE2b-256 cb266aaf34f9c800c8e82beaf48cf4373bf60fa4f983e5cd4b6cc59005493260

See more details on using hashes here.

File details

Details for the file imgui-0.0.2-cp27-cp27m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.0.2-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 b1461c9eb6ad2102313276e315f3788b4b7fb4a71e3f5fb0f53c0675c5c637b0
MD5 a011bb56d076813aa88c5210ee3594a7
BLAKE2b-256 97c148cfaf31da81f25117f3f792dce1ed836bd5148de2fc63e5816b3f178a73

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