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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shelcolors_ansi-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ce1e5e383856a05e91b0ab4ba8b8bf2a77fb344216f129bcf3cfa2d32707e395
MD5 64ab6374aa20c0e4192f232cfbb90da9
BLAKE2b-256 a9faece5cf661cc807edda13df7609230181a15571be25f0373cc46adb3091b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shelcolors_ansi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ded6f18626267e2473c0a259d6c248b97fc9818f9bd304f5e7728ac4f9ddc462
MD5 1cd9e536a66120fdfeb7cced0aa2edb3
BLAKE2b-256 f6a297a78e6ec65b479e5d92348a6b9b175f2b9f960dfe8d326a26476a08b67f

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