PyColorTerm allows you to write colored and styled lines out in the terminal from Python and in a pythonic way
Project description
===============================
PyColorTerm
===============================
.. image:: https://badge.fury.io/py/pycolorterm.png
:target: http://badge.fury.io/py/pycolorterm
.. image:: https://travis-ci.org/dnmellen/pycolorterm.png?branch=master
:target: https://travis-ci.org/dnmellen/pycolorterm
.. image:: https://coveralls.io/repos/dnmellen/pycolorterm/badge.png
:target: https://coveralls.io/r/dnmellen/pycolorterm
.. image:: https://pypip.in/d/pycolorterm/badge.png
:target: https://crate.io/packages/pycolorterm?version=latest
PyColorTerm allows you to write colored and styled lines out in the terminal from Python and in a pythonic way
* Free software: BSD license
* Documentation: http://pycolorterm.rtfd.org.
Features
--------
* Get your line prints pretty with color and style formatting
* Python 3 ready!
* Pythonic
Getting started
--------
Installation
===========
.. code-block :: bash
$ pip install pycolorterm
Usage
============
.. code-block :: python
from pycolorterm.pycolorterm import pretty_output, styles
with pretty_output() as out:
out.write('This is {BOLD}awesome{END} {FG_RED}because{END} you can {UNDERSCORE}mix{END} {BG_BLUE}many styles easily{END}'.format(**styles))
Result
============
.. image:: https://raw.github.com/dnmellen/pycolorterm/master/pycolorterm_example.png
History
-------
0.1.0 (2013-09-20)
++++++++++++++++++
* First release on PyPI.
0.1.1 (2013-09-20)
++++++++++++++++++
* Revision with 100% code coverage
PyColorTerm
===============================
.. image:: https://badge.fury.io/py/pycolorterm.png
:target: http://badge.fury.io/py/pycolorterm
.. image:: https://travis-ci.org/dnmellen/pycolorterm.png?branch=master
:target: https://travis-ci.org/dnmellen/pycolorterm
.. image:: https://coveralls.io/repos/dnmellen/pycolorterm/badge.png
:target: https://coveralls.io/r/dnmellen/pycolorterm
.. image:: https://pypip.in/d/pycolorterm/badge.png
:target: https://crate.io/packages/pycolorterm?version=latest
PyColorTerm allows you to write colored and styled lines out in the terminal from Python and in a pythonic way
* Free software: BSD license
* Documentation: http://pycolorterm.rtfd.org.
Features
--------
* Get your line prints pretty with color and style formatting
* Python 3 ready!
* Pythonic
Getting started
--------
Installation
===========
.. code-block :: bash
$ pip install pycolorterm
Usage
============
.. code-block :: python
from pycolorterm.pycolorterm import pretty_output, styles
with pretty_output() as out:
out.write('This is {BOLD}awesome{END} {FG_RED}because{END} you can {UNDERSCORE}mix{END} {BG_BLUE}many styles easily{END}'.format(**styles))
Result
============
.. image:: https://raw.github.com/dnmellen/pycolorterm/master/pycolorterm_example.png
History
-------
0.1.0 (2013-09-20)
++++++++++++++++++
* First release on PyPI.
0.1.1 (2013-09-20)
++++++++++++++++++
* Revision with 100% code coverage
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
pycolorterm-0.1.3.tar.gz
(5.0 kB
view details)
File details
Details for the file pycolorterm-0.1.3.tar.gz
.
File metadata
- Download URL: pycolorterm-0.1.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4fb39e2bd87798b7d6360cfa82b959c9306f15c2edf2ef0e6c054d4b3d8c3b7 |
|
MD5 | ccba3d4d77a663549443ed6df60353f1 |
|
BLAKE2b-256 | 50f2b1706e3a8cdf31770a5b75553f2b1256735d0071e1854cc80fcaeb43a84a |