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.
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
Import the library, create a cmd class, and start the ctui application, like:
import ctui
???
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.
- Justin Searle justin@controlthings.io