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

Use changeTo(x, type) to safe change type(str -> int for example)

========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.6.tar.gz (2.9 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.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shelcolors_ansi-0.1.6.tar.gz
  • Upload date:
  • Size: 2.9 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.6.tar.gz
Algorithm Hash digest
SHA256 34d6889b2c4de9c7f6a759ce1740f8e0e68da5163ce367b024cdd6189e83335a
MD5 d18f33ed116ddc4b987449c15f6afe18
BLAKE2b-256 e05a062e2403fe48ca9e640e7cef4a6b0714aa062043950260a1828f0bf1405d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shelcolors_ansi-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f6516c0391c268c8b42e3c155be11cbf65438f248de0f9da06376b46c941a596
MD5 783715435d3b445dcbf140d0f3ccf201
BLAKE2b-256 06e81f94bf7bb0b774478f3918309a44824d716aa727bd5d676f3eb3ac0ab8d4

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