Skip to main content

Orchid66: print colorful stuff nicely

version tag pypi tag

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,))

# 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

example gif:

usage 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

Metadata

Release files for orchid66 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orchid66 1.1.6
File Size Uploaded
orchid66-1.1.6.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orchid66 1.1.6
File Interpreter ABI Platform
orchid66-1.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / orchid66-1.1.6.tar.gz

Download URL orchid66-1.1.6.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2921820481171e3dc8c5022c1e32bf2043ecca49f084b40ac413fe029c1b91ac
BLAKE2b-256 checksum
How to use checksums
be3d131ce92f69b7cbdc3aab12e4bff40d14ef2a85483fae3029d52a35f8d206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / orchid66-1.1.6-py3-none-any.whl

Download URL orchid66-1.1.6-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34bbb5f94052283c477bc08891f29514e5dd00e981eb728bcfc248160b83b20b
BLAKE2b-256 checksum
How to use checksums
d5377c840c45381dfa8a98af5ae55b96936fdf4c893779db7cd9ec727e18bc6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.1.6 This release

2 release files

1.1.5

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page