Skip to main content

ANSI color helper. ANSI(color, text, type), get_colors() and clear_screen().

Project description

shelcolors-ansi

To install, type 'pip install shelcolors.ansi'.

To use, type 'import shelcolors_ansi'


Simple ANSI color helper. ANSI(color, text, funct) funct=print on default Also if mode is anything but a string, it will return instead.

👇 ANSI(…) colors

COLORS
### Mono-scale Colors

Black = black

White = white

Gray = gray

Light Gray = lightgray

Dark Gray = darkgray



### Red Colors

Red = red

Bright Red = brightred

Dark Red = darkred

Maroon = maroon

Crimson = crimson


### Yellow and Orange Colors

Yellow = yellow

Bright Yellow = brightyellow

Orange = orange

Dark Orange = darkorange

Gold = gold

Amber = amber

Mustard = mustard



### Green Colors

Green = green

Bright Green = brightgreen

Lime = lime

Light Green = lightgreen

Dark Green = darkgreen

Olive = olive

Mint = mint



### Blue Colors

Blue = blue

Bright Blue = brightblue

Light Blue = lightblue

Sky Blue = skyblue

Cyan = cyan

Aqua = aqua

Teal = teal

Navy = navy



### Purple and Pink Colors

Magenta = magenta

Bright Magenta = brightmagenta

Purple = purple

Violet = violet

Lavender = lavender

Pink = pink

Hot Pink = hotpink



### Brown Colors

Brown = brown

Dark Brown = darkbrown

Tan = tan

Beige = beige

get_colors() GET ALL COLORS USED IN ANSI(…)

clear_screen() uh, clear screen using os

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

shelcolors_ansi-0.1.9.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shelcolors_ansi-0.1.9-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file shelcolors_ansi-0.1.9.tar.gz.

File metadata

  • Download URL: shelcolors_ansi-0.1.9.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for shelcolors_ansi-0.1.9.tar.gz
Algorithm Hash digest
SHA256 601eb13094aef901beb92714a514c37b9f6adbd259af8bc142115e3b1cc8f9cb
MD5 afe5bb7a3cdbd265993bb38f480002e6
BLAKE2b-256 f52b59a6c19a1af468bcd6521e46d91b886e8c02e903df0efc82300921521ccf

See more details on using hashes here.

File details

Details for the file shelcolors_ansi-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for shelcolors_ansi-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 385fcd0da9c1e0471d41c629a8b0ce2b1fbfae405145f7e677dc517d62c8acb0
MD5 79078aa01376680a90f96a1249e751ff
BLAKE2b-256 a53b4907ca501e863ff311b189a0da4c65650892c8da971bef011a1d2d62561d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page