Metadata-Version: 2.1
Name: orchid66
Version: 1.1.6
Summary: print in color easily!
Home-page: https://github.com/therealadityashankar/orchid66
Author: Aditya Shankar
Author-email: aditniru@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown

# Orchid66: print colorful stuff nicely

![version tag](https://img.shields.io/static/v1.svg?label=version&message=1.1.6&color=3596e4)
![pypi tag](https://img.shields.io/static/v1.svg?label=pypi&message=1.1.6&color=87b031&link=https://pypi.org/project/orchid66/1.1.6/)

**yeah just, print colorful stuff nicely**

*Note: currently only supports linux*

## example:

```python
from orchid66 import printn

printn("this is in *red*, and this is in *blue*", ('red', 'blue'))
printn("I like *green* && *blue*", ('green', 'blue'))

green_in_blue = ('green', 'blue')

# notice tuple in tuple in second parameter
printn("I like *green in blue*", (green_in_blue,))

# with tuples
red =  (255, 0, 0)
blue = (50, 50, 255)
green = (50, 255, 50)
printn('this word is in *red*, and this is in *blue*', (red, blue))

```
![example output](exampleoutput.png)

## example gif:
![usage gif](usage_gif.gif)

## installation

### through pypi

`pip install orchid66`

### by cloning the repository
1. clone this repository
2. change the current directory into this repository
3. execute `pip install .`

### supported colors
all X11 colors in https://web.archive.org/web/20080502201401/http://cvsweb.xfree86.org/cvsweb/*checkout*/xc/programs/rgb/rgb.txt?rev=1.1

## orchid66s' mini language
text between `*` is rendered as colored, except when preceded by a `&`

`&*` refers to a single `*` that is rendered

`&&` refers to a single `&` that is rendered


