/ctui

ctui is a libary similer to Python\'s cmd, but with curses-like user interface

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Control Things Serial

ctui is a library for creating terminal-based user interfaces, and is used in all the ControlThings tools at controlthings.io. It is similar to using Python's standard cmd library, but with a curses-like interface written in pure Python.

Installation:

As long as you have git and Python 3.5 or later installed, all you should need to do is:

git clone https://github.com/ControlThingsTools/ctui.git
cd ctui
pip3 install -r requirements.txt

Usage:

Import the library, create a cmd class, and start the ctui application, like:

import ctui

???

Platform Independence

Python 3.5+ and all dependencies are available for all major operating systems. It is primarily developed on MacOS and Linux, but should work in Windows as well.

Author