Async Python User Interface Library
Project description
Project
This is a combination of ImGui, ImPlot and Skia. It can be used as a C++ library or out of Python through a Skia python binding with Pybind11
Goals and Features:
- Hardware-accelerated rendering through DirectX 12
- Asynchronous, lock-free API
- Plot with ImPlot or a Matplotlib-backend
- Builtin Image viewer, virtual keyboard ..
ImGui Elements | Matplotlib Integration |
---|---|
ImPlot | Flexible |
SVG | Image Viewer |
Installation
pip install p3ui
Hello World
from p3ui import *
async def main():
window = Window(title='Hello World!')
window.user_interface.content = Row(
justify_content=Justification.SpaceAround,
align_items=Alignment.Center,
children=[Text('Hello'), Text('World')])
await window.closed
run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for p3ui-1.1.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e282bcd55c44194477983a4b9744ec1f27e83abacb48d07d37e5af34d049ba |
|
MD5 | ad8a73d0855cacf5e4c49b7ac5cfaa16 |
|
BLAKE2b-256 | 2aba7c9d8305ec86f832c33d0d76dc43d91dc74a2268edffbbdd3ba048fec738 |
Close
Hashes for p3ui-1.1.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6f2f4c307a7bcb7af90e82587e474903649035966cf10637aeae7a1e695cdc |
|
MD5 | 6273f73b3a6aad16b3a6b22a6b8db3bd |
|
BLAKE2b-256 | a9e1f5edc18ee0e33252e8e2bba5d88c34462be6fc0def2a685e57cde99c5694 |
Close
Hashes for p3ui-1.1.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0a7faacfa2a56e9c9ffabc92b72c2244ff9a66b83ec355dd0d684603cd688a |
|
MD5 | c3b5bdfa1f93f35239567eec8c51126e |
|
BLAKE2b-256 | 6189693f321916f768d69e41b30a13b24af4d050532bc94a7b0f6ceff789282f |
Close
Hashes for p3ui-1.1.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6aa5a9fb06030305af47ec305d15ed1961116b5f0320dfed53b4b725f1614d2 |
|
MD5 | 4c2f5a0ac1f2de04402392338a2114fc |
|
BLAKE2b-256 | c4e98a798a45c0d23de13ecf3bb9b0191594b32cf3c415bf351b4348d7e089c6 |