Skip to main content

VividHues: super lightweight package for coloured strings in Python!

Project description

VividHues :rainbow: :paintbrush: :package:

VividHues

CodeFactor Latest SemVer Repo Size Total Lines

VividHues: super lightweight package for coloured strings in Python!

:hammer_and_wrench: Official Installation

Use this command to install VividHues.

pip install VividHues

:bricks: Dependency

requirements.txt VividHues>=2.7.9

Dependabot.yml

version: 2
updates:
  - package-ecosystem: "pip"
    directory: "/"
    schedule:
      interval: "daily"

:toolbox: Python Example

from VividHues import Clr


# f-strings - recommended
print(f"{Clr.BO + Clr.UNDERLINE + Clr.LIME}I love VividHues!{Clr.RS}")
any_string = f"{Clr.BO + Clr.CYAN}Hello {Clr.GREEN}earthlings!{Clr.RS}"
print(any_string)


# alternatives
name = input(Clr.PINK + "What's your name?\n\t--> " + Clr.RS + Clr.UL)
print(Clr.RS + Clr.BO + "Hello,", Clr.RED + Clr.UL + name)

:rainbow: Available colours:

Colour Codes Formatting Codes Formatting Code Abbreviations
Clr.RED Clr.UNDERLINE Clr.UL
Clr.ORANGE Clr.BOLD Clr.BO
Clr.YELLOW Clr.RESET Clr.RS
Clr.LIME
Clr.GREEN
Clr.BLUE
Clr.CYAN
Clr.PURPLE
Clr.PINK
Clr.BLACK
Clr.WHITE

Kenny Oliver ©2021

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

VividHues-3.2.10.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

VividHues-3.2.10-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

Supported by

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