Metadata-Version: 2.0
Name: clirainbow
Version: 1.0.1
Summary: Easily print colored text.
Home-page: https://github.com/mlevesquedion/clirainbow
Author: Michaël Lévesque-Dion
Author-email: mlevesquedion@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Dist: colorama

# CliRAINBOW
Easily print colored text.

## Example usage
```python
>>> from clirainbow import Colorizer
>>> from colors import RED, GREEN
>>> c = Colorizer()
>>> c.print('<hello> <world!>', RED, GREEN)
```

## Additional info

* Angle brackets are used instead of the traditional curly brackets in order to prevent clashes with Python's builtin string formatting facilities
* If you want to insert a literal bracket, double it (e.g. write `<<` instead of `<`)
    * (this is the same behavior as Python's builtins)

## Disclaimer
Colors may not appear on certain systems (e.g., Windows) or with certain terminals.

## Dependencies
CliRAINBOW is built on top of colorama : https://github.com/tartley/colorama

## Future plans
* Generate code in `colors.py` with a script instead of at runtime
    * Allow code completion
    * Remove annoying error messages
* Add support for reusing colors by index, e.g. `c.print('<0:oh> <1:hai> <0:there>', colors.RED, colors.BLACK)`
    * Make it more similar to Python's `format`


