A terminal environment tools.
Project description
A better terminal tools for python.
Color
Color is inspired by fabulus.
>>> import terminal >>> print terminal.red('hello world')
Log
Nested and verbose supported logging.
>> import terminal >> terminal.log.info('hello') >> terminal.log.verbose.info('hello') >> terminal.log.config(verbose=True) >> terminal.log.verbose.info('hello')
Command
A simple and better argparser for python:
from terminal import Command from terminal import log program = Command(name='terminal', version='1.0.0') program.option('-v, --verbose', 'show more logs') program.parse() if program.verbose: log.config(verbose=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
terminal-0.1.0a1.tar.gz
(9.1 kB
view hashes)