Simply make your own Terminal UI in Python!
the TypeRender can automatic render the form text to TUI display:
Functions:
- Pure text
- Basic Math render with Unicode (Plan)
- HUGE text (Plan)
┌─Introduction───────────────┐
│This is a demo of terminal U│
│I. │
│I will show you how to use i│
│t. │
│Or I can use the temp to sho│
│w you. using name of temp. │
│ │
│ │
└────────────────────────────┘
the class ProgressBarH can display the progress bar it can update by method write
══════════════════════════════
Name1: ██████▌ 50.0%
Example:██████▌ 50.0%
══════════════════════════════
the class Scatter can draw a scatter figuer
┌─Chart──────────────────────────────────────────┐
│ Scatter Example │
│ylabels │
│ 1.0┏━━━━━┯━━+━┯━━━━┯━━━━┯━━━━┯━━━━┯┓ │
│ ┃ ++++++ ┆ ┆ ┆ ┆┃ │
│ ┃ ++ ++ ┆ ┆ ┆ ┆┃ │
│ ┃ + ┆ ┆++ ┆ ┆ ┆ ┆┃ │
│ 0.5┠┄┄++┄┆┄┄┄┄┆┄++┄┆┄┄┄┄┆┄┄┄┄┆┄┄┄┄┆┨ │
│ ┃ ++ ┆ ┆ ++┆ ┆ ┆ ┆┃ │
│ ┃ + ┆ ┆ +┆ ┆ ┆ ┆┃ │
│ ┃+ ┆ ┆ + ┆ ┆ ┆┃ │
│ 0++┄┄┄┄┆┄┄┄┄┆┄┄┄┄++┄┄┄┆┄┄┄┄┆┄┄┄┄┆+ │
│ ┃ ┆ ┆ ┆+ ┆ ┆ ┆+ │
│ ┃ ┆ ┆ ┆ + ┆ ┆ +┃ │
│ ┃ ┆ ┆ ┆ ++ ┆ ┆ ++┃ │
│ -0.5┠┄┄┄┄┄┆┄┄┄┄┆┄┄┄┄┆┄┄++┆┄┄┄┄┆┄┄++┆┨ │
│ ┃ ┆ ┆ ┆ ++ ┆ + ┆┃ │
│ ┃ ┆ ┆ ┆ ++ ┆++ ┆┃ │
│ -1.0┗━━━━━┷━━━━┷━━━━┷━━━━┷++++++━━━┷┛ xlabel │
│ 0 1 2 3 4 5 66.28 │
└────────────────────────────────────────────────┘
class Image can draw a picture in terminal
Type I: 1 char 2 pixels
┌─Image────────────────────────────────────────────────────────────────────────┐
│A CUTE Neko Girl ██ ▀ █ ██████▀ █████│
│80x51██████████ ▄ ▄ ███ ▄ ██████ █████│
│██████████████▀ ▄▀ ▄█ ███▄ ▀ ███ █▄ █████│
│██████████████ ▄█ ██ ████ ███▄▀█ █████│
│█████████████▀ █ █ ▄██ ▄██▄ ████▄ ▀███ █▄ ██████│
│█████████████ ██ █ ▄ ██▀ ████ █████ ███ █ ██████│
│████████████▀ ▀ ▀▀ ▀▄███ ▄████ ▄████ ███ ▄██████│
│████████████ █▀ ████ ██▄ ▀█ ██▀ ▄ ▄██████ │
│██████████▀ █ ▄█▀ ██████████ ▄ ▀ ██ ▄▀▀▀ ███▀ ▀│
│█████▀███▀ ██ ████████████ ▄▄ █▄█ █ █▀ │
│█████ ▀█▀ ▄▀ ██ ▄▄ ███████████▀ █ ▀ █▀ │
│██████ ▀ ▄█▀ ▄▄███▄ ███▄▄▄▄▄████████████ ▄ █▀ ▀ ▄ │
│██████ ▄█▄█████████ █████████████████████▄ ▄██ ▄▀ │
│███ ▀ ██████████▀██▄▄████████████████████████▄██▀▄ ▄▄▀▀ ▄█│
│██ ███████████ ██ █████████ ███████████████▄█▀ ▄ ▄█ ███│
│█▀ ████████ ██ ▄ ▄▀██████████▄ ███████████▄█▀ ▄ ███▄ ████│
│██▀▀ ▄██ ██▀██ █ ██ █ ██▄▀██████▀██▄█████████████ ▀ ██▀ ▄████│
│▀ ▄██ ▄▄ ▀▀ ▀ ▀▄ ▄█████▄█▀█████████████████▀▀██ █▀▀ ████│
│▄▄█ ████ ▄▄█ ▄▄██▄▄███████████▄█▀████████▀▀▀ ▄▄██▀██████▄▄▄ ▄ ████│
│███ ▀██ ███ ████▀████████████████▄█▀▀▀ ▄ ▄▄ ▀█▀██ ▀▄████▄▄█▄▄ ▄ ▀▀█│
│███▀██▄ ▀██ ██████▀▀█████████████████ ███ ▄█▀ ▄████████▄██ █▄ │
│███ █████▄ ▀ ▀████▀ ▄████▀████████████▄ ██▀ ▄█▀ ▀█▀█████████████▄▄█ │
│███ █▀███▀▀ ▀ ▀█████ ██▀███████▀▀█ ▄████ ▀█ ▀▀▀███▀███████▄ │
│███ ███▄ █▄ █████▀██ ▀█▀▀▀ ▀▀██████▀█ ▀ █▄ █████████▄ │
│████ █▀ █ █▄ ▀ ▀▀ ▄██▄▄▄ ▀████ ▀█▄▀ ▀ ▄▄██▄███████ │
└──────────────────────────────────────────────────────────────────────────────┘

