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.1.0.tar.gz (576.1 kB view details)

Uploaded Source

Built Distributions

imgui-0.1.0-cp36-cp36m-win_amd64.whl (777.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

imgui-0.1.0-cp36-cp36m-win32.whl (688.1 kB view details)

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

imgui-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl (840.3 kB view details)

Uploaded CPython 3.6m macOS 10.12+ x86-64

imgui-0.1.0-cp35-cp35m-win_amd64.whl (777.2 kB view details)

Uploaded CPython 3.5m Windows x86-64

imgui-0.1.0-cp35-cp35m-win32.whl (687.1 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

imgui-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl (840.2 kB view details)

Uploaded CPython 3.5m macOS 10.12+ x86-64

imgui-0.1.0-cp34-cp34m-win_amd64.whl (759.1 kB view details)

Uploaded CPython 3.4m Windows x86-64

imgui-0.1.0-cp34-cp34m-win32.whl (680.3 kB view details)

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

imgui-0.1.0-cp34-cp34m-macosx_10_12_x86_64.whl (846.4 kB view details)

Uploaded CPython 3.4m macOS 10.12+ x86-64

imgui-0.1.0-cp33-cp33m-win_amd64.whl (762.1 kB view details)

Uploaded CPython 3.3m Windows x86-64

imgui-0.1.0-cp33-cp33m-win32.whl (683.4 kB view details)

Uploaded CPython 3.3m Windows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

imgui-0.1.0-cp33-cp33m-macosx_10_12_x86_64.whl (848.9 kB view details)

Uploaded CPython 3.3m macOS 10.12+ x86-64

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

Uploaded CPython 2.7mu

imgui-0.1.0-cp27-cp27mu-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7mu

imgui-0.1.0-cp27-cp27m-win_amd64.whl (760.5 kB view details)

Uploaded CPython 2.7m Windows x86-64

imgui-0.1.0-cp27-cp27m-win32.whl (671.8 kB view details)

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

imgui-0.1.0-cp27-cp27m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7m

imgui-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl (843.5 kB view details)

Uploaded CPython 2.7m macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for imgui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09fd668192063acdc7389086bd6fd72cdc0f267b10c438b6976bc06ccc892a0f
MD5 513d228ead1145d197a2bfdc742d4358
BLAKE2b-256 88307bf2796129132f41e859770eda7827e37ad3ae0b71d320cc5fff160058bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 fbc3c0a3d52ee5d1503e9fda4c17a3d30f9f453d1739ab4dd670e6da5f23d81b
MD5 1f3984dba76ddb124fb3107ba28c53a6
BLAKE2b-256 3542f8366cee53f9829db9c9c6643890f636caded813710f893865d36af47936

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 eac18d5020514bf7067a790239c8f9b08a0b5b881ac69eb5af3153e5d2beddf5
MD5 fcda4104a5c7f2503f4166772652addd
BLAKE2b-256 0434e07fbd9788fa1c7a58d739dedf16786f6e08d0a0277679f421875cef644a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4abc7ea1a94d8faf0cadb7a4e63e9dd8ed275585abac8aaa625ae5b54b9a60b1
MD5 0feb67d2aec7f3b62c0f0dc006f9cb01
BLAKE2b-256 bd53fa6f1e5a9440bb9803c3648dae9421ec6c856709ef8f85faf889ffe6a679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e24fbc0913a6aec9fd4aec197eb4c67324279b78f435dff73f299b3d56aee908
MD5 361ee0d0afc9b9b687ebf27d252587de
BLAKE2b-256 f2c9e0d5a0c8468233bb8296ff66afaf18c06b274242e20e91619efd1f253dfa

See more details on using hashes here.

File details

Details for the file imgui-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12ab2c7ecfaa51bbe8671055b14d459552e9c9af5fa0a2683dc7473f99527b61
MD5 a25e1b42250bcc478dbf7117d10cfd02
BLAKE2b-256 ff22af7692ac6b6f79db6d5499c6cd9c6e8f340502d399c9673d86113b2d34de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 c78f1b5df6b54364759ef5bf5d5f9d30a6567f5c4599aab52bcb86411c8550eb
MD5 8f4a271fe793eb58e175b47e3517d82f
BLAKE2b-256 aede89cada9bd84843bf289dfb45e64a8d9c3bae8f0b2e75cdd2d534d27a115a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b5903c38f02162937e6120a81737e6a2d5af6129231ebf2658487a9e6881fbbe
MD5 8c83abe9f7c30f4adfff246d90187032
BLAKE2b-256 51cf72d556bbaa7014868c6359a8a09e843754d79000eb7dd4b3d8522bcc5370

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 417dcc196461b858aef109117faa9149e5bd7bd01075000aead860f589c23d59
MD5 4518518e9a8e0f0768b1620be5f5e863
BLAKE2b-256 3891961a00554cbb09a13356461a5455b6f0f3101f660e5e2abf8b98fa6db4d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c676348dea0ac969658cee93498a5b666c9acb64fd61948d5c4617947a9f12c6
MD5 0489c858ff0c8cf940721b85fb94184c
BLAKE2b-256 367f148c40550a434852cd52ec0844ab409924cc7d1ac81301a593e6c1f45b98

See more details on using hashes here.

File details

Details for the file imgui-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1eebb62bba1458bb194596d34799b8cd2879a8ce0501328bce5851461bec6e3d
MD5 a78b75d2cce8554c40da79ca2e55392e
BLAKE2b-256 9ee793f59a117d2014ca4020e08f83c1c6f4e6145187c7cc0f1b6ea617294bf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 3429d99229112d7181971384826ad2f2dcb173dd89c72a1a7b152c6877146832
MD5 006dcd4b693f6980ca9b9c7df5d585c9
BLAKE2b-256 6f748facdd02c40ef0b528f97bc941a50924352690153a5fcc206592ab7ba572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 645ca110e746606f7cab2786a7aff4e40f2e94e704469217d61b88fd82e76119
MD5 ed10950d67f4de2f41d4c40dbabab36c
BLAKE2b-256 dfad8d440a1d2c47e11a54cdcaea9ae734db42e880150811dfae0762933c9d72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8153349b8606a3810ce5aba6f1c0ce0394092f17e877e7e3881bc329139e4896
MD5 2bbaf47b73268af2d94ecaa3dc6cae7d
BLAKE2b-256 878d6ef21e7ed950a0b9c73aa2d30902015ac175820db509ec82f81949d1a8c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 df1f4ef0c3b6c1ecda69b4e079fe191e9f1a11a7d8586581eb8960bcc17f4290
MD5 e9f80624ffe0c28cda779eac424d0b47
BLAKE2b-256 0c5996c788c2e68eca6008bda4e90974a73909671bc816fdb713c3c836d279eb

See more details on using hashes here.

File details

Details for the file imgui-0.1.0-cp34-cp34m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.1.0-cp34-cp34m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d6be4cd843fee5eb5dbf65e722737e1004b61fce3552975229813dd3749d76f
MD5 86ebd1ca2a0d6701e35cc341d1268a31
BLAKE2b-256 bbb8183dd6724f2c7f98b49074824b3d735ceae5e7fae01b7ef2dcf96a1e71ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 74a84f121ddb2a5d22e8e9aad321edb0edc1516cf3257c08ab9a6c348497a9ca
MD5 81bf7b76b8f19b6e0864d4b5dd552111
BLAKE2b-256 bb9bf6dc7cd40fb50fdf156079c61fd8e3785a5b3ebf15e4d6fd23b1e0da06b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 86efd2b2afefc3bcb7021f141ecbc3e6cd2e21e5528d2711cf568dd4c57824b4
MD5 b90fc1e551acdf6bb8079fbcaf125a12
BLAKE2b-256 857884bda41b2ffca8936692d67d4851e8f31cca7cd90d2a0d4642fbd0f42423

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 76430f5795f81d6bdc45b36e9fee5c4b2716709fc85e1f5576ce102cb576aaf4
MD5 ae2979fc824d772876d9fad32721eab8
BLAKE2b-256 0ac9ef12d60a8ac010d9b7157665aea898c24b83580527e27b63513f91696df1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8503b62b5848fa0486303a590b0dc8931d78f730e69164b43b3faf8ea4323bb9
MD5 02e3831c8017196f1231b69bb3fec02c
BLAKE2b-256 0ea1679289b4e8fadd880bbe0504d42b868b62fa73cbfbb2d4963c8e1bb133fd

See more details on using hashes here.

File details

Details for the file imgui-0.1.0-cp33-cp33m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.1.0-cp33-cp33m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12df31b9c2b81509282b555ea5096b71215f0a761fc012a98b96578b06f512c9
MD5 05a548e92f2fb0364571d9b8da3a7a50
BLAKE2b-256 d8037204a060836ca004880e6bf1d13516cd897e9c254d9cbd052008dad86e47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d3e8d2e90fef5a53d3521bfa1bced6c586e330b3c67effd36a044eda157671c
MD5 1cebb7e2e7fd60654e90c4dca499f7f8
BLAKE2b-256 e18cb6279c28deaaeafc39f30c20c98d624f649ab21d1dab9301d3327e5d50d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 deace5d07f0e611875064f2815d44cbe7f22a04688fc5710d887761e16032131
MD5 c5678e3af780137ecf165572dca54f9e
BLAKE2b-256 22f3b319ba8010be672af99f3466bd351e03fa3054e754cde6829e0fa3c9565c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 78fd1cb0c8d49a563c970f4bcade633f67e5a8b482c32e358cffe0566dc27aaa
MD5 d373dd54a62c622d13b4cf1cc51735ef
BLAKE2b-256 a4613b4d22ceb3c881efc8e95fbad42e58b6071363779ebc650fec0abff494b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 660595076076b179106e4c1094d366c39f2b8a6ad2162203a95a76e31ec253c2
MD5 1018c073069fe39acc8f3d41d84bbed6
BLAKE2b-256 49c3a92323df7535805936418d0e8440c5ed46257c705b72f04e040237e4564b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 66b312e13564503067801804c91147e79a7ed4062ab00534ce71c573a0d98f7d
MD5 fac4d6974829a64326c707d3775e9b4b
BLAKE2b-256 7e904ac677d1824a6437e47ae86def9eefad1f9696878697d7bd2c3f65949cff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3c3cbe74be401dfd15cd9e2dda43edf49e8998136d8db59360274b3823934bae
MD5 c73c4929dd320737b3eac50129025df2
BLAKE2b-256 99677620ded2122d932f9f42bc0ea8d869a8b325f1f2f666f751c4beb87dede9

See more details on using hashes here.

File details

Details for the file imgui-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for imgui-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d9536668bf77a19d344458498a5b178560318965afd7d0a272b4461e324350d0
MD5 daac89aef7c315f68f614f69204e9bb3
BLAKE2b-256 357d2d4ca11e31d116ac1bbe9894e21b64108695c7eaa176e2159cf1caa5ad12

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