A powerful and user-friendly Python library for creating dynamic command-line user interfaces.
Project description
EzUI
A python module for easily creating a powerful and dynamic user interface in shell
How to use:
Here is a simple program who use it : (You can find it in the repo)
import ezui
import sys
banner = """
______ _ _ _____
| ____| | | | |_ _|
| |__ ___| | | | | |
| __| |_ / | | | | |
| |____ / /| |__| |_| |_
|______/___|\____/|_____|
"""
def add(a, b):
return a + b
def say_hello():
print("Hello World!")
def sub(a, b):
return a - b
def exit():
sys.exit()
# This is the Menu elements
elements = [
("Hello World Function",say_hello),
("Additionner", add),
("Sub two operands", sub),
("Exit the programm", exit)
]
ezui.simple_menu(elements, banner, "default")
Todo
- Create a title system ✅
- Find a way to know if the app is in foreground ❌
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
ezui-0.1.1-py3-none-any.whl
(3.0 kB
view hashes)