Skip to main content

ANSI color, save&load, and clear screen helper

Project description

# shelcolors-ansi

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

To use, type 'from shelcolors_ansi import ANSI'

Simple ANSI color helper. Use ANSI(color which is shown at the end of this readme, text, mode)

modes can be:

  • highlight(default) = prints colored text
  • return = returns the colored text
  • list_colors = returns all available colors in a dictionary

Use save(filename, dict you want to save) for saving(i know this isn't related to colors but i just aded it for fun) Use load(filename, what you want to get which on default returns all) btw this is a return type

Use clear(mode) to clear screen. Mode can be:

  • you dont put anything = default, safe mode(checks windows or linux)
  • windows = for windows only
  • linux = for linux, macOS, android

========Colors========

---Basic 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 & 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 & 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

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.3.tar.gz (2.8 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.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shelcolors_ansi-0.1.3.tar.gz
  • Upload date:
  • Size: 2.8 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.3.tar.gz
Algorithm Hash digest
SHA256 c002558c9beced6500784f5f05b538f983e567b44223613062ab7773f6559d59
MD5 ec2475ef3134129ccbcd1edf3d422eb4
BLAKE2b-256 907ece68864999a128686c18aab7e2eefdf11fc96729cfef3de7022c95396e04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shelcolors_ansi-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f30e5915b1c919e99c2d595a8015572ac01e251efaae9e9cfbef2c3ede87bfbf
MD5 861087ae492772a215853ffb87123bbe
BLAKE2b-256 47cf6a15bf3d7afe17f10feb24efe4ab475fa1340c3da1f2eca01b81a5cfe894

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