Skip to main content

Async Python User Interface Library

Project description

Project

Build PyPI version

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
widgets matplotlib
ImPlot Flexible
widgets matplotlib
SVG Image Viewer
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


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

If you're not sure about the file name format, learn more about wheel file names.

p3ui-1.1.6-cp311-cp311-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.11Windows x86-64

p3ui-1.1.6-cp310-cp310-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10Windows x86-64

p3ui-1.1.6-cp39-cp39-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.9Windows x86-64

p3ui-1.1.6-cp38-cp38-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.8Windows x86-64

File details

Details for the file p3ui-1.1.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: p3ui-1.1.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for p3ui-1.1.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b8e282bcd55c44194477983a4b9744ec1f27e83abacb48d07d37e5af34d049ba
MD5 ad8a73d0855cacf5e4c49b7ac5cfaa16
BLAKE2b-256 2aba7c9d8305ec86f832c33d0d76dc43d91dc74a2268edffbbdd3ba048fec738

See more details on using hashes here.

File details

Details for the file p3ui-1.1.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: p3ui-1.1.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for p3ui-1.1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ac6f2f4c307a7bcb7af90e82587e474903649035966cf10637aeae7a1e695cdc
MD5 6273f73b3a6aad16b3a6b22a6b8db3bd
BLAKE2b-256 a9e1f5edc18ee0e33252e8e2bba5d88c34462be6fc0def2a685e57cde99c5694

See more details on using hashes here.

File details

Details for the file p3ui-1.1.6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: p3ui-1.1.6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for p3ui-1.1.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2a0a7faacfa2a56e9c9ffabc92b72c2244ff9a66b83ec355dd0d684603cd688a
MD5 c3b5bdfa1f93f35239567eec8c51126e
BLAKE2b-256 6189693f321916f768d69e41b30a13b24af4d050532bc94a7b0f6ceff789282f

See more details on using hashes here.

File details

Details for the file p3ui-1.1.6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: p3ui-1.1.6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for p3ui-1.1.6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e6aa5a9fb06030305af47ec305d15ed1961116b5f0320dfed53b4b725f1614d2
MD5 4c2f5a0ac1f2de04402392338a2114fc
BLAKE2b-256 c4e98a798a45c0d23de13ecf3bb9b0191594b32cf3c415bf351b4348d7e089c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page