Skip to main content

Advanced console UI framework for Python with colors, layouts, animations, themes, developer tools and interactive menus

Project description

🎨 FULLUI --- Console UI System

Build beautiful, interactive terminal apps --- fast.

FULLUI is a powerful and lightweight console UI framework for Python, designed to transform boring CLI programs into visually rich experiences.


✨ Features

  • 🎨 ANSI + RGB color system
  • 🌈 Advanced gradients
  • ✨ Text styling system
  • 🎯 Icons added
  • 🧱 Decorative boxes
  • 📝 Layout System
  • 🎮 Flexible alias-based system
  • ⚡ Terminal animations
  • 🎭 Plug & Play Theme Engine
  • 🛠 Developer Tools Panel
  • 📦 Modular architecture
  • ✅ 100% editable interfaces

🆕 New in v0.3.0

Improvements & Refinements

  • Fixed some problems
  • Gradients system (G)
  • Icons add for system
  • Internal optimizations
  • All features improved
  • New animations
  • The random color function was added
  • New themes for festival and gradients

🎯 Perfect For

  • Console games
  • CLI tools
  • Interactive terminal apps
  • UI prototyping
  • Terminal dashboards

📦 Installation

pip install fullui

✨ Verify Installation

python -c "import fullui; fullui.banner()"

🚀 Quick Start

from fullui import *

banner()

menu(
    t="Main Menu",
    op=[
        "Play",
        "Settings"
    ]
)

🧩 Recommended Import Style

from fullui.colors import C,S
from fullui.ui import menu
from fullui.layouts import panel

panel(
   "Profile",
   "Level 12"
)

choice = menu(
   t="Menu",
   op=["Start","Exit"]
)

🧠 Menu Behavior

  • Loops until valid input
  • Returns int
  • Invalid input handled automatically
  • Returns None on exit
choice = menu(
    t="Game",
    op=["Play","Settings"]
)

if choice == 1:
    print("Play")
elif choice is None:
    print("Exit")

🧠 Book Behavior

  • Pages interactive for commands
  • Long texts
  • Layout system
pages = [
    "FullUI es un sistema de interfaz para terminal basado en estilos, temas y animaciones.",
    
    "El sistema book() permite navegar páginas usando teclado sin necesidad de frameworks externos.",

    "Cada página puede contener texto largo y el render se encarga del layout automáticamente.",

    "FullUI combina colores, layouts y animaciones para crear experiencias CLI más vivas."
]

book(
    pages=pages,
    width=60
)

success("Fin del libro")
pause()

🧠 Quiz Behavior

  • Multiples uestions
  • Correct answer system
  • Result layout
quiz(
    t="QUIZ",
    
    qs=[
        {
            "question": "¿...?",
            "options": ["A", "B", "C"],
            "correct": 2
        },
        {
            "question": "¿?",
            "options": ["1", "2", "3"],
            "correct": 2
        },
        {
            "question": "¿?",
            "options": ["@", "#", "&"],
            "correct": 1
        }
    ],

    twn="¡Wonderfull!",
    tf="Fail",
    tmid="no bad"
)

🎨 Themes

from fullui import *

setTheme(NEON)

menu(
 t="Styled Menu",
 op=["Option A","Option B"]
)

Custom:

my_theme = createTheme(
    titleColor=C.r,
    inputColor=C.g
)

setTheme(my_theme)

📝 Layout System

Panel

panel(
 "Player",
 "HP:100\nMana:50"
)

Columns

columns(
 [
   "Inventory",
   "Map",
   "Stats"
 ]
)

Dashboard

dashboard([
 "CPU 40%",
 "RAM 62%",
 "ONLINE"
])

🎨 Colors and Styles

print(C.r+"Red"+S.rs)
print(S.bd+"Bold"+S.rs)
print(C.random+"Random Color"+S.rs)
print(BG.b+"Backgrownd")

🌈 Gradients

print(rainbow("FULLUI"))
print(G.fire+"This it a gradient text")

🎬 Animations

spinner()
glitch("ERROR")
progress_fill()
loading_dots()

🖥 UI Alias System

menu(
 t="Menu",
 st="Info",
 op=["A","B"]
)

Aliases:

t, st, op, bs...


🔧 Utilities

line_break # is "\n"
lb = line_break

p() #Print
clear() #Clear Console
pause() #Input pause

🧩 Full Import

from fullui import *

Everything exposed through __all__.


📄 License

MIT License


👨‍💻 Author

Leonardo Farid Porras Bendezú
aka LeonardX007

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

fullui-0.3.0.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

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

fullui-0.3.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file fullui-0.3.0.tar.gz.

File metadata

  • Download URL: fullui-0.3.0.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for fullui-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c6cfff018a7edcec056898cd171c7df14dadfdb4f29389219c42d9e23faa4797
MD5 601a0ba30835a67137591efc01c3e13a
BLAKE2b-256 b875ef960da3c45107596ff0eb740f46b939bd567ff2afcfdc2c982bd3989245

See more details on using hashes here.

File details

Details for the file fullui-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fullui-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for fullui-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6aa9a11ced718bdbfd7832b9fdda102c5a29eae74c236ff9c3d451aa29cc3686
MD5 8240f5738a831e5d59cc26ea30ec8cc7
BLAKE2b-256 060653db5e32114342aec01b3c4572cfc4f1219c04b341c448fb1dfb3defc106

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