Skip to main content

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 print_pretty

print_pretty('This is <BOLD>awesome<END> <FG_RED>because<END> you can <UNDERSCORE>mix<END> <BG_BLUE>many styles easily<END>')


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

0.2.0 (2013-09-24)
++++++++++++++++++

* Added new shortcut function to print with format (print_pretty)

0.2.1 (2013-09-28)
++++++++++++++++++

* Changed markup syntax from {} to <>

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.2.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file pycolorterm-0.2.1.tar.gz.

File metadata

  • Download URL: pycolorterm-0.2.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycolorterm-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b2bd8da33f4d933146feb6e6730ba9ae87ca7d022d7b6460a0ad0bc631627d23
MD5 86ff43d89e7d4052f9f50d89c8e5fe9c
BLAKE2b-256 6306b1498c4cc577b398d54e051d7cefc6a8e44b8c0410093fff7d410bce7d9c

See more details on using hashes here.

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