UI made for lazy, by lazy. Build modern Flet apps instantly.
Project description
lb-easy-flet
© Copyright logic-break 2026
UI made for lazy, by lazy. Build modern Flet apps without the headache.
installation: pip install lb-easy-flet
NOTE: in code, you must import lb_easy_flet
What it can do:
- Create modern GUIs with zero nesting (no Rows/Columns needed manually)
- Automatic value handling with simple
.get()methods[cite: 5] - Built-in auto-scrolling log system (Listbox)
Features:
- Smart Sliders: Automatically updates labels when you move the thumb
How to use:
Import EasyFlet from the library, initialize it, and start stacking elements.
hint: use from lb_easy_flet import EasyFlet
Usage (The Builder Methods):
.header(text)- Adds a bold, blue title[cite: 5].input(label)- Adds a text field. Use.get()to read it[cite: 5].dropdown(label, options, on_change=None)- Adds a dropdown menu[cite: 5].radio(label, options)- Adds a radio selection group. Use.get()for result[cite: 5].slider(label, min, max)- Adds a slider with an auto-updating label[cite: 5].listbox(label, height)- Adds a scrollable log area. Use.add(text)or.clear()[cite: 5].button(text, callback, type="primary")- Adds a button (primary or secondary)[cite: 5].run()- Launches the application[cite: 5]
Example:
from lb_easy_flet import EasyFlet
# 1. Создаем приложение
app = EasyFlet("AI Image Studio")
app.header("Image Generator")
# 2. Поля ввода
prompt = app.input("Prompt")
negative = app.input("Negative Prompt")
# 3. Логи (Listbox) - создаем раньше, чтобы функции его видели
status = app.listbox("System Status", height=180)
# 4. Выпадающий список
def on_model_change(val):
status.add(f"Switched to model: {val}")
model = app.dropdown("AI Model", ["SDXL", "Midjourney v6", "DALL-E 3"], on_model_change)
# 5. Радио и Слайдер
ratio = app.radio("Aspect Ratio", ["1:1", "16:9", "9:16"])
steps = app.slider("Sampling Steps", 10, 100)
# 6. Логика кнопки
def generate():
p = prompt.get()
m = model.get()
r = ratio.get()
s = steps.get()
if not p:
status.add("ERROR: Prompt is empty!")
return
status.add(f"Generating: {p}...")
status.add(f"Params: {m} | {r} | Steps: {s}")
# 7. Кнопки
app.button("GENERATE IMAGE", generate)
app.button("CLEAR LOGS", lambda: status.clear(), type="secondary")
# 8. Погнали!
app.run()
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 Distribution
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 lb_easy_flet-0.0.1.tar.gz.
File metadata
- Download URL: lb_easy_flet-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31eec9a12a8199504f5e8c5d0707fcee42937be708d0291be200287cb1db52d9
|
|
| MD5 |
4085e5762b46e0af0cbbf20f689852fd
|
|
| BLAKE2b-256 |
1627cf3abb52fe594a0c7b2f9a73c5d0fcdd4420beb2a13006138aa7f3c5c7fc
|
File details
Details for the file lb_easy_flet-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lb_easy_flet-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53ffd486d6c12a91cd5fc8bb333cc8f697ebfcc6df4f5d9a945dea94b480f0c
|
|
| MD5 |
eb5ecd2db3a91e062f46aac17d3135f2
|
|
| BLAKE2b-256 |
db255d9c71d063867bbf802232f0f90cdd0814ff25945733788ae857739df1f6
|