Skip to main content

A modern, GPU-accelerated Python UI framework.

Project description

NEUI (Neo UI)

NEUI is a modern, GPU-accelerated Python UI framework designed to be "Better than Tkinter". It features a custom Flexbox-like layout engine, a React-inspired event system, and beautiful default styling.

Features

  • Modern Look: Dark mode by default, rounded corners, and smooth rendering.
  • Flexbox Layout: Easy row and col layouts with justify, align, and gap.
  • GPU Accelerated: Built on skia-python and glfw for high performance.
  • Interactive: Built-in support for Hover, Click, Focus, and Drag events.
  • Components:
    • Box, Text, Input
    • Button, Card, Toggle, Slider

Installation

pip install neui

Quick Start

from neui import App, ui, cui

def on_click():
    print("Hello from NEUI!")

app = App(title="My App", width=400, height=300)

with ui.Box(style={"layout": "col", "align": "center", "justify": "center", "w": "100%", "h": "100%", "bg": "#222"}) as root:
    ui.Text("Welcome to NEUI", style={"font_size": 24, "color": "white"})
    cui.Button("Click Me", on_click=on_click, style={"mt": 20})

app.add(root)
app.run()

License

MIT

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

neui-0.1.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

neui-0.1.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file neui-0.1.0.tar.gz.

File metadata

  • Download URL: neui-0.1.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for neui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29882410b4e7bf15b3d1814c66f4f8cb4fe8919241c68bce77bbdac001241521
MD5 fd300d4daf959f567c8899fa42178c7f
BLAKE2b-256 bc7edd185e36aef65a1fd5cbaa9b17b411ef43771d551001f68ff252a77651ad

See more details on using hashes here.

File details

Details for the file neui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for neui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a122c7824043209e9fd186d19114178e64e0d2b0a52a163f971e4594d342927d
MD5 879fbed35960b93e3c47cb5d77bf42c7
BLAKE2b-256 aed9670043852412c9b752ba8a519189e56d044ce887b562f82b39c733ab4ad1

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