Skip to main content

Cython-based Python bindings for dear imgui

Project description

[![completion](https://img.shields.io/badge/completion-66%25%20%28270%20of%20409%29-blue.svg)](https://github.com/swistakm/pyimgui) [![Coverage Status](https://coveralls.io/repos/github/swistakm/pyimgui/badge.svg?branch=master)](https://coveralls.io/github/swistakm/pyimgui?branch=master) [![Documentation Status](https://readthedocs.org/projects/pyimgui/badge/?version=latest)](https://pyimgui.readthedocs.io/en/latest/?badge=latest)

Builds:

# pyimgui

pyimgui is a Cython-based binding for the amazing [dear imgui](https://github.com/ocornut/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

imgui package integrates easily with various graphic backends and Python-based game engines. Each backend requires one or more additional packages. You can install them with imgui using pip’s extras feature:

  • for GLFW3 backend use pip install imgui[glfw]

  • for SDL2 backend use pip install imgui[sdl2]

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](https://pyimgui.readthedocs.io/en/latest/index.html).

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 ducumentation 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.1.tar.gz (571.2 kB view details)

Uploaded Source

Built Distributions

imgui-0.0.1-cp36-cp36m-win_amd64.whl (768.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

imgui-0.0.1-cp36-cp36m-win32.whl (681.4 kB view details)

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

imgui-0.0.1-cp36-cp36m-macosx_10_11_x86_64.whl (855.6 kB view details)

Uploaded CPython 3.6m macOS 10.11+ x86-64

imgui-0.0.1-cp35-cp35m-win_amd64.whl (767.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

imgui-0.0.1-cp35-cp35m-win32.whl (680.7 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

imgui-0.0.1-cp34-cp34m-win_amd64.whl (749.3 kB view details)

Uploaded CPython 3.4m Windows x86-64

imgui-0.0.1-cp34-cp34m-win32.whl (674.2 kB view details)

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

imgui-0.0.1-cp34-cp34m-macosx_10_11_x86_64.whl (854.8 kB view details)

Uploaded CPython 3.4m macOS 10.11+ x86-64

imgui-0.0.1-cp33-cp33m-win_amd64.whl (749.4 kB view details)

Uploaded CPython 3.3m Windows x86-64

imgui-0.0.1-cp33-cp33m-win32.whl (674.2 kB view details)

Uploaded CPython 3.3m Windows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

imgui-0.0.1-cp33-cp33m-macosx_10_11_x86_64.whl (830.9 kB view details)

Uploaded CPython 3.3m macOS 10.11+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

imgui-0.0.1-cp27-cp27m-win_amd64.whl (750.5 kB view details)

Uploaded CPython 2.7m Windows x86-64

imgui-0.0.1-cp27-cp27m-win32.whl (667.5 kB view details)

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

imgui-0.0.1-cp27-cp27m-macosx_10_11_x86_64.whl (851.5 kB view details)

Uploaded CPython 2.7m macOS 10.11+ x86-64

File details

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

File metadata

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

File hashes

Hashes for imgui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c387c8f563d4ffb00ceee3b94153adcff4542c72b284fb42466ac913f444a74b
MD5 7273602c4d0d5f535ea1fbe83a41c83f
BLAKE2b-256 24ec49de7567ee8c4b12edee674ad602dcf25fe3634851a602817f851c38fd93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5ee5278c8d2032e953d690f0763ce2386159a4a15ae0871ef60f1f4a2709ffcf
MD5 d6a12808f3615ea632f94809234436a6
BLAKE2b-256 87b49315721d4b88ffa2bd53a574116fef832acc101186df9ac7ab56a0e458a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 968f2d9679783a3806a1826ce1a4a61cc25fe9f85edf0ff10c4f4af9aba1caea
MD5 9cb40533983c16597196ebc8c2606451
BLAKE2b-256 b01e8ba8ff7a450c8e8c6ee7baf082a040df9f8d4ab14bd6f41f5ade13783403

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 74a610740a2d37186f6050b841469081a38c539da71ebdc6a60128c292166bbc
MD5 ef937d1a9dc4d20bad5d5230cb3519ec
BLAKE2b-256 39d07148a84e43fccc8e6533e0a64327277cbbc30a46f82ea2a0dd3c250dbaa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ab933016defe3900ca5054ad635a0e3c1ed3dbb6bd891aaec768b9d8ee5c1a84
MD5 d9e6d453c969522e7f54952b7e31ba88
BLAKE2b-256 9342709ac5f9d75fa943e2b4c237c98a61ab023b0386178a0648c594259ee810

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 5ee16a5dcce6c9036e98dc86e9e1576aa6559feb882c0d93368d2f9b3806b678
MD5 a28a494dd438db3753433d52f11eed24
BLAKE2b-256 2f00ca75f0195376599fc1b08657b143576c6f8ee622898fd67ff68e67a2fa2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 bca58d8bb9eef0b518d570848c36745c1df3be4d6984c56218d4cad9675153fa
MD5 007a05fb7902317c528c4b87947deee1
BLAKE2b-256 f16d6300e7c3fd30185ad1c79984c4e57f1b592417bddf530cc12ab8817c3baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 cffe972deeb2db34d24fb5e0cffe1762e31eee8a6aecf5d6a01010fc5e05e2ae
MD5 d55bc84a9caad369a8bd593b26073928
BLAKE2b-256 fc6d06f987190998eaa1db0a56a76eb2df40d9ad19a7e52d3990914052b2c114

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 79ef2be509d4c41498786522d56537803d74dccfb32fca4c48abf162d22b5d91
MD5 b04bc5be2969300c18ddad6cc7e024bf
BLAKE2b-256 9e62baacec5efd4637a5fff82dae732fe5d658efdc907b807bd9311b386c0c11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c346c905954ba13b899a6c3a2f19e083c5e6cef7191c54ce0298ecc29fd16877
MD5 590180d9d183793b8ab858e4fc64f103
BLAKE2b-256 86b089d0621afddda6be0b45a0d12041ac98e87987ce8bfe5e3ef2ef80d2c796

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 023d9d513c618367947832603c73f7f3f3aeff9637056cadfbd15af452a0b7ea
MD5 497014354fd14b92b6e62252f1a7952a
BLAKE2b-256 8c2b5768a06b5a8c7c6bafd4988277d323dcedd3b8dc051234df26ca3d723e15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 4aaefa309efa4cdeb32d30e0d2a49072ca8792d64f5e7c788c9057795a5d9196
MD5 8381bef1912ac5b8a981654ec8e3316c
BLAKE2b-256 f8f98edb097eaf796cea5e6f7e493991240092d5efc799c25d8c0e662ffa65b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dd252af26a46b7e2d8d2a6af9045afc14e163a963acf8a8a79173c698c2a6fcf
MD5 0ff34b4ffc33952cc7cee3dda9d2df45
BLAKE2b-256 af59e469d22d17f1eb2233d128e0b94d9b236aa15146ee711cbecadd7221f042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3625f722234a51eec095af9920f0bcf643921622ef21a39152736c89018de683
MD5 e095fe347e2cbf18acd516325e5a9002
BLAKE2b-256 adeb98ca141723973e8337ce910dbc5988535cb1c04a2a1a7a8c4fdfc0ccf913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp34-cp34m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 1a94a25ab7c34b4f19eb5a918da6d789573febff54f987da400c91912bc1c953
MD5 7cf21ae1709b260b735a268d2ef53176
BLAKE2b-256 dfd11062f53806e43d7eefada45b6fba89ef978f20167ae0bdc0e1849d52a5e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 9bf792cc915be92fb2146deec6ec07d3e7d77d3ea545cd17cf3f3db597e4374c
MD5 d6eff77fa76ad5aeae6b8f96c8bceff2
BLAKE2b-256 4ba05001d56549f597301e38fcd537919d9e04323a793bc208c9aebd05d9c156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 e70fc40551d4961031afa5d166841a97aa3b89f283c60ad8697c7c7b20d764f3
MD5 e0d702d941d3e1526ee0b177fed7870d
BLAKE2b-256 f49816be2e8cb880c3cc14c09eb330da3556b25231557994485360b7b41909a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b057c19db17b72c9e693424c3d9cb12a70796abf0c1614b7b07bf779207099b4
MD5 2f5cf33512f7df21ea6995fae9301b20
BLAKE2b-256 ef5838bf2dfaf9da2a91ea098a4900b193910ef2d6bcfeaaade15a1d34773087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0d87f10b81b627d190fc698b2a6ef73e83d883d9eda680e5b99f72c301bd2952
MD5 8a34d6df452a759fbc37897262766257
BLAKE2b-256 73b4a16628d30a216fb705d15bce07e464737f101a31b45962271ea07d8a487b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp33-cp33m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 594d7ef68b019bc6fc733a0cf7900198a5813c462646028db437c53cbb422116
MD5 78893f2bc6d9e7921038cbd6b0510e06
BLAKE2b-256 d08e2811d234e1bed15af752639473ad0272c82f44863e2397b8cf7c734b50bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 416bdf6a7759912a73135f14fd534a9abc0eda7cebc000ff02c4a0bc3acc8c65
MD5 973e529615d53e1e95be43650b12ce0c
BLAKE2b-256 69e40e41edb8fcb779c22a9541598e6bad48aaea9dbd5ef38eceaac010c300de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a515f338e418aafdab7a31c7ed93233e3322ef2a441e8cec16e11f0d49ee9dea
MD5 95ee7868edd0f8a6f73a5152820a334d
BLAKE2b-256 4d326acb02c1f812b2c54b03476389f2ffafc433341e14cb4e95f4d28a8fae39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 ce18337fcabde2f7f64f427c07a2a5588e6716502344a0019eebcc80c4adf548
MD5 bd664c4f4fe5a1e12b9090075fc0b917
BLAKE2b-256 5bff7b9f8ff28fed250152b4ad144b68391116f788b020cad1006fbe50461178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 eda3fcf98d3afaa3d528648989425cdc07c46433edd8149b836cbea5401f66ad
MD5 c0eddbea82f48150bdca2e0924f54c07
BLAKE2b-256 2a4e649fef8e3f17fc25e720dfdc540e0ffc0c3c566c91b502d30dbff1ef789c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4830252dfbb954a22b7bdf4503d7536cba51fd1ff46b36aaafd18a604eeecf8c
MD5 8e4f0582141a8aa47c9c5938d5c446cc
BLAKE2b-256 fbaa4cc41136d3f1aa58636fbc722adfc3e65ae6f4ce5b24f6a7c9d04937ec32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7c3cd12c723bba748855f843ae2a2ce3d76085cb0ebae8da96528791046d1bff
MD5 d35d7c1eb05061c1dc2632c3b8d03041
BLAKE2b-256 19b39b1aa7f70d70049ee2b404dfc0525b675fca1573b9ad5a6fea9f7bab3f87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.1-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 7deb1f9b0cbe2f937bc2ec354fecb87a68d479d2f63e311832d192b0d527350f
MD5 763ebff432f16b8efc2e7d6d0270cfb7
BLAKE2b-256 6abad4d5c4ae48d8df490d1741b20db240ddee43ca8f8f3d33a190e1ae88ea29

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