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.4.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.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shelcolors_ansi-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4c8770e08331b01c01dc9ab4bf98155f5a55e81a0a82e98064cd5f2fae9b7903
MD5 10061035baf3c02cdd332197fde5b6c3
BLAKE2b-256 4a8def5ad1e17d0fedb89ed2f45f9394469e6b10eb6a37bd0270499cd73daa87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shelcolors_ansi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2c757d3255d020052a858c1294568dd90b2697db705e48a378b831f307604b90
MD5 cfe299a626a469c58d52d940f4886238
BLAKE2b-256 f60ff4e31cd7cfc820044fd254a90d769198931a5203ae696e04981ffc4fa7fc

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