Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

gpyui

Latest version: v0.8.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: gtrefalt
3 Stars
0 Forks
2 Versions
169 Downloads
Python Repo language

Scan summary

gpyui was last scanned on 29 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.8.0.
  • Downloads: 169 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 29 Nov 2026 No rules fired
0.7.0 29 Nov 2026 No rules fired

No rules fired in 0.8.0

Findings

Findings for v0.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

gpyui

PyPI Python 3.12+ License: MIT Documentation

Build native desktop applications in Python with GPUI Kit.

gpyui is a Python UI toolkit for apps, tools and dashboards. Compose layouts, bind state and handle events in Python, using Longbridge's GPUI Kit components. The Rust backend, powered by GPUI, handles native windows, rendering and text editing.

Documentation · Component catalog · Examples · Releases

A native gpyui dashboard in light appearance, with a watchlist, price chart and paper-order controls

A real native window built entirely through the Python API. The trading dashboard example includes simulated quotes, streaming charts and async paper orders. See the documentation for the animated walkthrough.

Why gpyui?

  • Native components: 80 Python controls spanning inputs, images, tables, charts, navigation, dialogs and feedback, backed by GPUI Kit.
  • Python composition: build layouts with Column, Row, containers and context managers, or pass an explicit tree of controls.
  • State binding: connect application state to text, inputs and selection controls with State and bindings.
  • Async events: use regular functions or async def callbacks; property changes are queued and batched for native updates.
  • Shared commands: use the same Python action from buttons, nested menus and platform-aware keyboard shortcuts and searchable CommandPalette.
  • Forms and validation: Kit Form/Field labels, help and inline errors, sync/async Python validators and shared submission with retry. Failed validation preserves native text, caret, selection and undo.
  • Native themes: macOS Classic, Windows/Fluent and shadcn light/dark presets, custom palettes and live switching that preserves editor state.
  • Images: native files, URLs and encoded bytes, GIF/WebP animation, fit modes, loading/error callbacks and retry. See the image guide; video streaming requires a separate native pipeline.

Installation

Requires CPython 3.12+. On macOS 12+ and Windows, install from PyPI:

uv init my-app
cd my-app
uv add gpyui

In an existing uv project, just run uv add gpyui. Alternatively, use pip install gpyui in a virtual environment. Native wheels are available for Intel/x64 and ARM64; Windows ARM64 is tested with Python 3.13+.

On Linux, install the matching prebuilt wheel from GitHub Releases. Linux wheels use system X11, font and Vulkan libraries and are currently distributed separately from PyPI. See the installation guide for runtime dependencies and source builds. Installing a wheel requires no Rust compiler.

Your first app

Save this as hello.py:

from gpyui import Application, Button, Column, Label, TextInput

app = Application(title="Hello, gpyui", width=480, height=300, theme="light")

with app, Column().style(gap=12, padding=24):
    name = TextInput(placeholder="Your name")
    greeting = Label("Enter a name and choose Greet")

    def greet():
        greeting.text = f"Hello, {name.value or 'world'}!"

    Button("Greet", variant="primary", on_click=greet)

app.run()

Run uv run python hello.py (or python hello.py with pip). Clicking the native button runs your Python callback and updates the label. Explore layouts, state binding and async events for larger apps.

Documentation and examples

For a fixed-size window, use Application(width=520, height=320, resizable=False). The 0.6.1 window API also adds minimum dimensions, initial position/state, live app.title and app.resize(...), plus minimize, focus and fullscreen actions. See native window controls for platform behavior and examples.

Choose a native preset with Application(theme=Theme("macos")) or Theme("windows", mode="dark"). Customize colors, corner radii and typography; switch a running app by assigning app.theme. The 0.6.1 macOS correction uses Kit’s exact Classic Light/Dark configuration; Windows uses Fluent controls, larger checkboxes and underlined text fields. These style real Kit controls, with platform-owned window decorations. See themes and native previews and the appearance example.

GPUI Kit macOS Classic Light Windows 11-inspired
GPUI Kit macOS Classic Light native controls Roomier Windows-style native controls

The documentation includes a visual catalog with real native previews, properties, events and runnable examples for every control, plus guides for styling, application lifecycle and release builds.

Try the trading dashboard, notes editor, settings editor, component gallery or async binding example.

A light native settings editor with conditional fields, validation and async saving

The settings editor validates Python values, keeps conditional editors intact, and shares Save/Retry/keyboard submission through one async command. See forms and validation for usage.

Agent skills

Give your coding agent the Python API, component contracts, async recipes and native desktop design guidance:

npx skills add gtrefalt/gpyui --skill gpyui --skill gpyui-design-guides

Inspired by GPUI Kit's skills, these skills cover the Python bindings and their current limits. See installation and usage, including manual installation for Codex. Python dependencies use uv; the command above installs agent instructions.

Project status

gpyui is in early development, with 80 Python controls on main. This is basic catalog coverage; many upstream builder options and specialized APIs remain unbound. Version 0.6.1 includes Image, expanded window controls, exact macOS Classic themes, richer tables/inputs, MultiSelect and CommandPalette. Its backend pins GPUI Kit 0.7.1 and GPUI 0.3.8. Version 0.7.0 updates the backend to Kit 0.11.0 and GPUI 0.3.14. Version 0.7.0 adds GridLayout, GridItem and Diff. Version 0.8.0 adds native right-to-left layout with Application(direction="rtl") and live direction switching. Speech bindings and the optional Speech and GPUI Fast features remain pending.

Applications currently use one window with dynamic children and visibility. Existing controls retain their native identity and editing state when moved or hidden. Table uses Kit's native virtualized table; List currently composes all items. Tables now support stable row keys, per-column widths/text-numeric sorting and native filtering. Inputs add read-only/masked editing, numeric bounds and mutable choices; MultiSelect and CommandPalette expose native selection/search. The next priorities are native List virtualization, custom cells and async providers. Docking and multiwindow follow. Settings/questionnaires, MessageScroller, advanced editor providers and remaining chart APIs are also unbound. See the coverage and roadmap for supported features and planned work.

Release wheels are tested on Linux, macOS and Windows across x64 and ARM64. Linux/X11 has native interaction tests; macOS and Windows have native window, state and lifecycle smoke tests. See release support for the platform and Python matrix.

Contributing

Issues and pull requests are welcome. Start with the contributor guide for source setup, Ruff, ty, Just and Lefthook, and the architecture for design decisions and pinned upstream dependencies.

License and acknowledgements

gpyui is available under the MIT License. GPUI and GPUI Kit make its native backend possible. The Python API also draws on composition and event patterns from NiceGUI and Flet.

Dependencies retain their own licenses. Distributions include third-party notices.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases gpyui

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229