Skip to main content

🚀 RocketUI

RocketUI is a minimalistic, declarative UI framework designed for building reactive Python apps with a clean and intuitive API. based on Qt6

✨ Features

  • 📦 Component(Rocketable)-based architecture
  • 🔄 Reactive state management
  • 🧱 Built-in widgets (Text, Button, TextInput, etc.)
  • 🧪 Custom components via Rocketables
  • 💡 Simple and readable syntax
  • 🔥 Support for PySide6 Qt widgets

📦 Installation

  1. From pip:
pip install rocketui  # coming soon, currently use github
  1. From GitHub:
git clone https://github.com/neoapps-dev/rocketui.git
# do the command in your project root/src directory and use it

🚀 Quick Start

Here's a simple example to get you started:

from rocketui.core import App
from rocketui.widgets.column import Column
from rocketui.widgets.text import Text
from rocketui.widgets.button import Button
from rocketui.widgets.textinput import TextInput
from rocketui.enums import TextSize
from rocketui.state import State

class MyApp:
    def rocketize(self):
        self.result = State("")
        self.label = Text(lambda: f"{self.result.value}", size=TextSize.Big)
        self.input = TextInput("Eval...")
        self.result.bind(self.label.update)
        return Column(
            content=lambda: [
                self.label,
                self.input,
                Button("Eval", on_click=self.evalcode)
            ]
        )

    def evalcode(self):
        try:
            self.result.set(eval(self.input.get_value()))
        except Exception as e:
            self.result.set(e)

app = App(MyApp)
app.rocketize()

🧪 Rocketables

RocketUI includes support for custom components ("Rocketables"), here's an example one attached with RocketUI:

from rocketui.rocketables.test import Test

class MyApp:
    def rocketize(self):
        return Column(content=lambda: [
            Test().rocketize()  # rocketize the rocketable Test
        ]
    )

And here is the Test Rocketable code:

from rocketui.state import State
from rocketui.widgets.text import Text
from rocketui.widgets.button import Button
from rocketui.widgets.column import Column
from rocketui.enums import TextSize
from rocketui.rocketable import Rocketable

class Test(Rocketable):
    def rocketize(self):
        self.counter = State(0)
        self.label = Text(lambda: f"Counter: {self.counter.value}", size=TextSize.Medium)
        self.counter.bind(self.label.update)
        return Column(lambda: [
            self.label,
            Button("Increase", on_click=self.increment)
        ])

    def increment(self):
        self.counter.set(self.counter.value + 1)

📚 Documentation

(WIP. undocumented but still shows API. gonna be hosted in the future)

  1. Clone the repo and cd into it.
  2. Run the command: chmod +x generate-docs.sh && ./generate-docs.sh
  3. Run the command: python3 -m http.server 8000 -d docs
  4. Visit the documentation at http://localhost:8000

🤝 Contributing

We welcome contributions! Feel free to fork the repo and submit a pull request.

📜 License

GPLv3

Metadata

Release files for RocketUI 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RocketUI 0.1.0
File Size Uploaded Provenance
rocketui-0.1.0.tar.gz 40.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for RocketUI 0.1.0
File Interpreter ABI Platform
rocketui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.4 kB

Release files / rocketui-0.1.0.tar.gz

Download URL rocketui-0.1.0.tar.gz
Size 40.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8a8d81ba1782cde9a1a275e3cfc64d7eea540b65475616800977a5f3242be715
BLAKE2b-256 checksum
How to use checksums
64907e9b1bd89951247125c140ea70548c411a64d3848995d7074c7930da2cf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2025.

Transparency log

Release files / rocketui-0.1.0-py3-none-any.whl

Download URL rocketui-0.1.0-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe959cab3f97538e3e86686411d4278c9ca1bde4ca754d1666b2efe255e9fd6e
BLAKE2b-256 checksum
How to use checksums
71e3111b06ca0332094ebdce5a0bb11da0f272b685ba2cccae2becf59f8f8ec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2025.

Transparency log

Security for RocketUI 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rocketui-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page