An enterprise-grade modern desktop UI and Game framework for Python
Project description
FluxPy 🚀 (Flet-Style Edition)
FluxPy is a massive, professional Python library for building stunning desktop applications with a declarative syntax inspired by Flet. It offers extreme customization for every single pixel.
Key Features
- Declarative UI: Write code that looks like the UI structure.
- Extreme Customization: Control fonts, colors, gradients, borders, and shadows for every element.
- Smart Debugger: Instant error reporting with file and line precision.
- High Performance: Built on PyQt6 for native speed.
Installation
pip install fluxpy
Quick Start (Flet-Style)
import fluxpy as fx
def main(page: fx.Page):
page.title = "FluxPy Modern App"
page.bgcolor = "#f0f2f5"
# Highly customizable text
title = fx.Text(
"Welcome to FluxPy",
size=30,
weight="bold",
color="#1a73e8",
font_family="Verdana"
)
# Container with padding and border radius
card = fx.Container(
content=fx.Text("This is a customizable card", color="white"),
bgcolor="#34495e",
padding=20,
border_radius=15,
width=300
)
def on_btn_click():
print("Button Clicked!")
title.value = "Button Clicked!"
page.update()
btn = fx.ElevatedButton("Click Me", on_click=on_btn_click, bgcolor="#e74c3c")
page.add(title, card, btn)
app = fx.FluxApp()
app.run(main)
Performance Tips
- Batch Updates: Use
page.update()only after making multiple changes. - SVG Assets: Use SVG for icons to maintain quality across DPI levels.
- Control Reuse: Reuse complex containers instead of recreating them.
Functions List
Run fx.help() in your script to see all available components.
Project details
Release history Release notifications | RSS feed
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluxpy_ui-2.0.2-py3-none-any.whl.
File metadata
- Download URL: fluxpy_ui-2.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28da8840be89fec85e617f0a0b4e4b76e6999f4b092f6ee46bd527770e826a81
|
|
| MD5 |
4f74e6b3405382118d39320834885754
|
|
| BLAKE2b-256 |
15c6e38110239ec5ce1879a3a0701459134885570edcdbceffe4d1fbd5816c1c
|