Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

p3ui

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p3ui

Async Python User Interface Library

  • 1.1.6
  • PyPI
  • Socket score

Maintainers
1

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 ElementsMatplotlib Integration
widgetsmatplotlib
ImPlotFlexible
widgetsmatplotlib
SVGImage Viewer
svgImage 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())

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc