A thin, practical wrapper around terminal capabilities in Python