Skip to main content

The ctui is a library similar to Python's cmd, but with a curses-like user interface

Project description

Control Things Serial

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


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

pip3 install ctui


Import the library, instantiate a Ctui object, and start the ctui application, like:

from ctui import Ctui

myapp = Ctui()

Of course you can configure you app in a number of different ways by modifying your app's attributes or by adding your own custom commands. Check out the examples folder to walk you through some of these. For more complex examples how to use ctui, check out the various ControlThings Tools, most of which use ctui. You can find these at

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.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ctui, version 0.7.3
Filename, size File type Python version Upload date Hashes
Filename, size ctui-0.7.3-py3-none-any.whl (34.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ctui-0.7.3.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page