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[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](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 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.3.tar.gz (572.7 kB view details)

Uploaded Source

Built Distributions

imgui-0.0.3-cp36-cp36m-win_amd64.whl (772.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

imgui-0.0.3-cp36-cp36m-win32.whl (682.7 kB view details)

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

imgui-0.0.3-cp36-cp36m-macosx_10_12_x86_64.whl (837.8 kB view details)

Uploaded CPython 3.6m macOS 10.12+ x86-64

imgui-0.0.3-cp35-cp35m-win_amd64.whl (771.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

imgui-0.0.3-cp35-cp35m-win32.whl (681.9 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

imgui-0.0.3-cp35-cp35m-macosx_10_12_x86_64.whl (837.7 kB view details)

Uploaded CPython 3.5m macOS 10.12+ x86-64

imgui-0.0.3-cp34-cp34m-win_amd64.whl (752.2 kB view details)

Uploaded CPython 3.4m Windows x86-64

imgui-0.0.3-cp34-cp34m-win32.whl (674.8 kB view details)

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

imgui-0.0.3-cp34-cp34m-macosx_10_12_x86_64.whl (844.0 kB view details)

Uploaded CPython 3.4m macOS 10.12+ x86-64

imgui-0.0.3-cp33-cp33m-win_amd64.whl (755.0 kB view details)

Uploaded CPython 3.3m Windows x86-64

imgui-0.0.3-cp33-cp33m-win32.whl (677.8 kB view details)

Uploaded CPython 3.3m Windows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

imgui-0.0.3-cp33-cp33m-macosx_10_12_x86_64.whl (846.5 kB view details)

Uploaded CPython 3.3m macOS 10.12+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

imgui-0.0.3-cp27-cp27m-win_amd64.whl (752.4 kB view details)

Uploaded CPython 2.7m Windows x86-64

imgui-0.0.3-cp27-cp27m-win32.whl (667.1 kB view details)

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

imgui-0.0.3-cp27-cp27m-macosx_10_12_x86_64.whl (839.5 kB view details)

Uploaded CPython 2.7m macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for imgui-0.0.3.tar.gz
Algorithm Hash digest
SHA256 03729c891c7e24d4a495cfbe47b3451920058a582cebc29d150a6d8c20497878
MD5 1ed3be3ab682694f1e72e70771b3724c
BLAKE2b-256 1e4e209e65b16ab8f12e7115265da49907e13b6eb28eb12ea33b77888f4d604a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 51041fc8aed24d6f34b0076a7f5cd7625c2d1356d9d67830f5baa9d788947c06
MD5 20f7604e0298eb93759f655712ea5437
BLAKE2b-256 a201f430b566234184c938e2052c02483697420ef80067346fcbfdac59f23e76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 68b0339be67e53794cb378bc5c93d6b3b118edf3e43eb2a89fb7770ec3cfef49
MD5 0b82f87f9920ce8af59ed910fbc2b1a6
BLAKE2b-256 aa2dfb2399ccf4d609307dc7583c7c23333fe156ad42174e792c30d5028b7ecc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f053b9a04b8a1f926cbb8f4a98268fca6f455c4919c2c9f2137f7319aacab131
MD5 56438f392baffcefc27d3c0a4cf8839e
BLAKE2b-256 35532f795e2534b72faf24530a3c36c56bf241c4e68330149388ddaf4d6e588a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 56ffb2261070eb591e214ed46b6f6644a1a407a6dc4d3b44aab138b17c10a274
MD5 8dfd3567e921908c8b630b85330e8dea
BLAKE2b-256 7664331481583e776d6bf2cd9cc4a7bac0ab723c973bfd7dc6b0ad2d21dcf620

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6ac293e775f5f2208d3eacf1d78ee7fa95db4b774b620abd7040b11aa263ccfd
MD5 3b1577c45210a0867b5de069de19cf03
BLAKE2b-256 9da9eaf2f842fb62e6583b1230797939073ae7c69ff4f7b0263ee1235a3f748d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 79509150812f42413d4b1ec5f558e458feb2019137c3a260f23b375f27c60ae1
MD5 c4187a805e9bcf11fe4d6e70a4d38292
BLAKE2b-256 760880c6b872927fe0b8a135d1e5c66984102f67ad4a2b0d8d1d93b278ee3bf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 332be6de20b770c2f513a2fc1898da81bad7c58914ae8b2cc861b149b58bfdd5
MD5 1c808eff988d80d5808c64bfb262954c
BLAKE2b-256 d0984c32af7669e669d4cb908c442b78cb0a70af6f57b267f724db7d6a4d235f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f431966ac8c737eb294d3f1ece6e92da78b93bd306b2e753905f268dba24e130
MD5 81d7a8b4d101f5f30c39bc5bb20b5cfc
BLAKE2b-256 0c098fdc1a298711b6d66560ffc487a81cb4f0e5d18b7e49bd1f4b408cef5325

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 81b93c88cd47169d4ad7bcbba710d5e7a30fb59fd327d4468251412e11665ab1
MD5 a093b9f9824d5e04dd48b21f55684b75
BLAKE2b-256 042e251057f4c99c10eb5cd940ade9d1cd572c20a0b4a5459c066697984799ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8ba1ea2b47afdd37ba1710d85b0f9a6322cdfbbb773770510fe923dadbb4c9fd
MD5 828f77eb81ec5e4b580ce9e16239886b
BLAKE2b-256 a54d6ee9b93cef4ceb99629c206fc09dd2c717fc2d3ee458cd5729eee11468fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 47c86194164cf9d49cbd7fc237bba08eabbff1d302f712d74fab6259b4d0c108
MD5 7b773545701ad6e3fc8cbefca4af4e16
BLAKE2b-256 14f973eee3f7447444710a2f05ebe4a846c09ef020b95646233e15e3187d1f51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 c6a71f6fe407a74b65ef6bb83cdc2b26d0b6cf680dc4b03f971eda30709d721d
MD5 d4b44a290a513aaa3430bef83ab972ef
BLAKE2b-256 d21131924ab67491006fbf82bad01eb3a1388bc3747276d5019458519c27d1a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f18cbde3bcc0240ee1f38683b7916801e9b42d150a54c403abf2fec05c956d6b
MD5 48cde2813884012a70d4f53b9d94e5f0
BLAKE2b-256 270fc5517885e8391d03f2e61f1ac39189c0bb22e2de0cee0f111914f8c9986f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7934cc3d3293537952dae3517722b946dfc97e74f4f7d662f453662d36dd5ec8
MD5 49fce2e32252f096b8ad4505de97794d
BLAKE2b-256 bf0f56b3d3dd8f460e89a02cd130ef51b296e9d3224edc54815c186f971b476e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp34-cp34m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 320b2d261c7f9c572a9620eadc9efaa2e2ef802f50690a3a7d1f85ef2bf953de
MD5 f960c902ca561f3043d783b45f3089f2
BLAKE2b-256 2360089b9936273ad616564712588c21cf90fc3a066ca4d20bbd3c6c7ce0e7ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 f02e7fa7ed5e7f124bd0c5cd36813df5c8924062c40a199aa3ffea7d423537a6
MD5 6fcfe9d1d1aa0bba2b36d57db70b97be
BLAKE2b-256 63650aae715a18e88a0b108dd49517cbcdcbef4cd43d552863bcfa26c5d227ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 5530ba76e16a851d0f0e12804935873d617227bf8ee452186e82d87efc79f529
MD5 fd427d23bc2b042f5702f28a327bf4b5
BLAKE2b-256 dead727390765d0492403c686402b0d453aa78a662d868d867e4637d50e1cc4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b162f9813e76888ab811df24ee1583737821198b45a4ec0a1bab1806bf1334d0
MD5 29823506eeddce8edaf062cfcb6af726
BLAKE2b-256 1aecf420fbc35e1c1e954e20bc9b66631a95335003445a312f85bcc6185f9e80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 676822aaace825e1ac7f8b9278bb4e52018b7dfc6fd27bc162f5b9f8c9f27d30
MD5 bae96ec855c5676fae03651ac03f3e24
BLAKE2b-256 2f69d3ee2dcb81599231ec57db4e61860b0a331cc88ec6d0b3a5851e0785cbe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp33-cp33m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ec5ad99960d9ff2cf8f74c352bc067d3cbbc57d78aa21fdf347182ab10295c7f
MD5 c267387058c4ad66b3113a4c5cf55bc5
BLAKE2b-256 b4db2e7f635fae195e385e0e0f60c6f0d6e16dda99da83bc5e3cd56f7dcd799c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1f361ccfefa7467ac9ee5740c430c4596a4107e1304766844dffaf4dc183db45
MD5 2b716b2d45e1feeffb861bae13456d71
BLAKE2b-256 de93ed8855e28a9e38a130c84c6477d0b8a916c4c6c8b68040e6a068f3d71511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 254abcb35d27d25f42c010bc08ffaf1e186076b8163165302b8c2245a20608a3
MD5 f9986df5e0ef927a3377f3f617010356
BLAKE2b-256 ad1387d4c410d52398bae96eb90a0ca9b49dc5784ae479889706708ff95dd63b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 96f45ecde12ec7379324efb3277ae2ba9c4d7831cb6ced9e5ed6a9bdbc863f04
MD5 061e31e9853287a69615256ff870417f
BLAKE2b-256 01146e7575681d0895bf95f2be54dc8fb4f645f7e8d13fb8722ccacda78e7945

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 b94e34340615da5dcbff2adddb03cfbe6725561d9d40893515d0b8290058391f
MD5 344cce440802b7a24da86617c4a48f02
BLAKE2b-256 556d3251d5e49ca1c1cf5f5b3bd9e570ad6ce1384ba2ac62cf31d0760a36754c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5ff19de1d73bb6ff2eb93464b6c3f8c0456dd1bf376839f4fbe9f878fd619ec5
MD5 4cb8e3bfdc3de9e0f389c169ed02aca0
BLAKE2b-256 951a61baabb46df0b34483d0cf9b073aaf89980f90a3b0c3ccf72f3ff7acb04e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a7b05b2f294688bd64b443ac6178c43c5356cfc5ca7d5ebb1b6f4e3ab05176ed
MD5 dadf34f87c920099d3c97d73b85e6253
BLAKE2b-256 414a113dacce8029747dc1b0d975073823d87d157b6b7ba5b31daedb261fdb4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui-0.0.3-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbd59111e976686c2746d56b2ee79b35d46edd0245bd3a613dfa6a9f72019043
MD5 886ab058f39d44d0736ea47a033fed8f
BLAKE2b-256 26a23d6452a712d7606586437450a975beb643540cc614d19469e0a7e67b4523

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