Terminal: for Simple and Beautiful

Terminal is designed for creating terminal-based tools, written in Python, for developers who like simple and beautiful things.

Python’s standard logging and argparse (or optparse) modules are powerful, but the API is thoroughly ugly and hard to use. Terminal is designed to make life simpler and better.

It contains everything you need for terminal:

  • Argv Parser
  • ANSI Colors
  • Prompts
  • Logging
from terminal import Command, red

program = Command('foo', version='1.0.0')

def show(color=True):
    show something.

    :param color: disable or enable colors
    if color:

User’s Guide

This part of the documentation, which is mostly prose, begins with some background information about Terminal, then focuses on step-by-step instructions for getting the most out of Terminal.

API Documentation

If you are looking for information on a specific function, class or method, this part of the documentation is for you.

Additional Notes

Contribution guide, legal information and changelog are here.