Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1018 Bytes

README.md

File metadata and controls

54 lines (32 loc) · 1018 Bytes

chalk

####A Light-weight python package for terminal output in color

"Color printing so easy, makes you wanna smack yo' momma."

Overview

Chalk allows you to print to your terminal in color. It also provides a simple logging handler and formatter for a more informative logging experience. Why print in black and white?

Installation:

pip install pychalk

In Module Usage:

examples/example-module.py

example-module.py

Logging:

examples/example-log.py

example-log.py

Testing:

$ git clone https://github.com/anthonyalmarza/chalk.git
$ cd chalk
$ vitrualenv venv --no-site-packages --distribute
$ source venv/bin/activate
$ pip install nose
$ nosetests -w chalk tests # or simply python -m unittest chalk.tests
......
----------------------------------------------------------------------
Ran 6 tests in 0.002s

OK

Big-ups

  • @billjohnston
  • @livibetter