Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page