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 details)
File details
Details for the file terminal-0.1.0a1.tar.gz.
File metadata
- Download URL: terminal-0.1.0a1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9edf2b8d99e8d3620550dae015219f3520957b4c5a5b224f8e0d209fa964d6b
|
|
| MD5 |
3ae412e5c5144dc0afb108febaf38937
|
|
| BLAKE2b-256 |
5018f9f280d283f694f8606710f4d1ac548e3d44648c5693a24477fcf8828e6f
|