Skip to main content

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


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

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

ezui-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file ezui-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ezui-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ezui-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73d9818b36f544a20e5dd0514459bf8adb625088079f3887ec55d3e59341e638
MD5 bad1f2d2747dacb67132aa26d12e4836
BLAKE2b-256 9ea7edcc57a54e0a1bb3d41115703b8ebb97a41c74103edebe85386ffc5922d4

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