Skip to main content

print in color easily!

Project description

# Orchid66: print colorful stuff nicely

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

**yeah just, print colorful stuff nicely**

*Note: currently only supports linux*

## example:
```
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,))
```
![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 .`

## 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


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

orchid66-1.0.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

orchid66-1.0.5-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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