Descripción del paquete
Project description
ANSI Color Printer
The ANSI Color Printer is a Python package that provides functionality to print text with ANSI color formatting in the terminal. It allows you to apply various colors and text styles to your text output, enhancing readability and visual appeal.
Features
- Apply ANSI color formatting to text output in the terminal.
- Choose from a wide range of colors and text styles.
- Easily integrate into your Python projects for colorful text printing.
Installation
You can install the ANSI Color Printer package via pip:
pip install AnsiColorPrinter
Usage
import AnsiColorPrinter as acp
# Print red text
print(acp.red("Hello, World!"))
# Print bold blue text
print(acp.blue("Welcome!", formats=["bold"]))
# Print bold red multiple formats
print(acp.cyan("Multi Formats", formats=['underlined', 'bold', 'reverse']))
Available Colors
The package supports the following colors:
- List of colors...
- almond
- aqua
- aquamarine
- banana
- beige
- bisque
- black
- blue
- bone
- brass
- bronze
- brown
- bubblegum
- buff
- burgundy
- burnt_sienna
- burnt_umber
- cadet_blue
- camel
- candy
- caramel
- celadon
- cerulean
- champagne
- charcoal
- chartreuse
- cherry
- chestnut
- chocolate
- cinnamon
- claret
- copper
- coral
- cornflower
- cranberry
- cream
- cyan
- dark_gray
- denim
- ecru
- eggplant
- emerald
- emerald_green
- forest_green
- frost
- gold
- goldenrod
- gray
- grape
- grass_green
- green
- hot_pink
- hunter_green
- ice_blue
- indigo
- iris
- jade
- jungle_green
- khaki
- lavender
- lemon
- lemonade
- lilac
- lime
- lime_green
- linen
- magenta
- mahogany
- malachite
- maroon
- melon
- midnight_blue
- mint_green
- mocha
- moonstone
- moss_green
- mulberry
- mustard
- navy
- nude
- ocean_blue
- olive
- onyx
- opal
- orange
- orchid
- pale_blue
- pale_pink
- paprika
- peach
- pearl
- periwinkle
- petal_pink
- pine_green
- plum
- powder_blue
- pumpkin
- raspberry
- red
- rose
- rust
- sage
- sapphire
- sea_blue
- seafoam
- seashell
- sepia
- sienna
- sky_blue
- slate_blue
- slate_gray
- snow
- spearmint
- steel_blue
- stone
- strawberry
- sunflower
- tan
- taupe
- teal
- terracotta
- thistle
- tomato
- topaz
- tulip
- turquoise
- vanilla
- violet
- white
- yellow
Available Text Styles
The package supports the following text styles:
- List of text styles...
- bright
- bold
- dim
- italic
- underlined
- blink
- reverse
Examples
You can find more examples and usage scenarios in the examples directory.
Contributing
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License.
Feel free to customize and expand upon this template as needed for your project!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansicolorprinter-0.0.2.tar.gz
.
File metadata
- Download URL: ansicolorprinter-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b7f705cf88020201bd8ce75f6333fb0c758fdb81171544c4425f301146d21e8 |
|
MD5 | 7b02fd68363eeec9848ea6b540b4cbe1 |
|
BLAKE2b-256 | 6f74f750917f24cd01fb4ef9239491ded176d117e2a94736bc4f7f6bc5de9770 |
File details
Details for the file AnsiColorPrinter-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: AnsiColorPrinter-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35bf020410ab23672f249696e7e1c22230c27d83d07443f954925dc77fd0990 |
|
MD5 | 48b254075e63508096a630d70384bd43 |
|
BLAKE2b-256 | 417a05c96aee7b6d23d9ce67d8d12a30841c33ec5d3a274a7d60b480a45f3ad9 |