Name | PrintPop JSON |
Version |
0.1.4
JSON |
| download |
home_page | https://github.com/rlapine/PrintPop |
Summary | Styled console printing made simple β color, format, and clarity in one package. |
upload_time | 2025-07-30 22:03:53 |
maintainer | None |
docs_url | None |
author | Ryan LaPine |
requires_python | >=3.7 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/print_pop_logo.png" alt="PrintPop logo" width="400"/>
</p>
---
## π¨ PrintPop V 0.1.2
Styled console printing made simple β color, format, and clarity in one package.
---
[](https://www.python.org/downloads/)
[](LICENSE)
[](https://github.com/rlapine/printpop/stargazers)
[](https://github.com/rlapine/printpop/network/members)
---
## β¨ Overview
PrintPop is a lightweight Python utility for printing beautifully formatted text in the console. Use named HTML-safe colors, custom RGB values, and popular text styles to make CLI output clearer and more expressive.
Designed to work across platforms (Windows, macOS, Linux), and built for developers, educators, and CLI power users.
---
## π¦ Installation
`pip install printpop`
---
## βοΈ Features
- β
Uses wrapper functions for quick integration
- β
Built entirely on standard libraries
- β
Named HTML-Safe Colors: Use intuitive color names like "salmon", "skyblue", or "goldenrod" for quick readability.
- β
Custom RGB Styling: Define any RGB values for precise color outputβideal for branding or design-themed CLI tools.
- β
Text Style Formatting: Combine bold, italic, underline, and more for expressive output.
- β
Background Colors: Control the background with both named and RGB values for contrast-rich displays.
- β
Cross-Platform ANSI Support: Works reliably on Windows, macOS, and Linux terminals using ANSI escape codes.
- β
Convenient Wrapper Functions: print_bold(), print_rgb(), print_formatted()βno need to remember styling syntax.
- β
Interactive CLI Demo: Run console_test.py to preview styles, test terminal capabilities, or explore colors hands-on.
- β
No Dependencies: Fully standaloneβjust install and start printing with color.
---
## βοΈ API Overview
- `print_<color>(text_to_print: str)`: print functions for over 140 HTML safe named colors.
- `print_bold(text_to_print: str)`: Prints bold.
- `print_dim(text_to_print: str)`: Prints dim.
- `print_italic(text_to_print: str)`: Prints italic.
- `print_underline(text_to_print: str)`: Prints underline.
- `print_blink(text_to_print: str)`: Prints blink.
- `print_inverse(text_to_print: str)`: Prints inverse.
- `print_hidden(text_to_print: str)`: Prints hidden.
- `print_strikethrough(text_to_print: str)`: Prints strikethrough.
- `print_rgb(text_to_print: str, r: int, g: int, b: int)`: Prints text in rgb color.
- `print_color(text_to_print: str, color: str, background: bool)`: Prints background in color if backround is True.
- `print_formatted(text_to_print: str, bold: bool, ...`: Prints with formats and colors.
---
## π§ Usage Examples
```
import printpop
# Emphasize with bold
print_bold("This text is bold.")
# Custom RGB
print_rgb("This text is soft purple", r=150, g=120, b=180)
# Combine styles
print_formatted("This text is bold, italic, salmon colored with lightcoral background", bold=True, italic=True, color="salmon", back_color="lightcoral")
# Print color name
print_red("This text is red")
# Use named HTML-safe foreground/background colors
print_color("This text is fuchsia", color = "fuchsia" )
# Use any rgb color
print_rgb("This text is one of 16,777,216 possible colors", r = 101, g = 201, b = 113)
# Use any rgb color for background
print_rgb("This text has one of 16,777,216 possible background colors", r = 37, g = 249, b = 201, background = True)
# Combine multiple text styles and colors
print_formatted("This text is bold, underlined, red with yellow background and it is blinking.",
bold=True,
dim=False,
italic=False,
underline=True,
blink=True,
inverse=False,
hidden=False,
strikethrough=False,
color="red",
back_color="yellow"
)
```
<p align="left">
<img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/colorprinter_usage_output.png" alt="console output" width="800"/>
</p>
---
## π Supported Colors
printpop includes wrapper functions for over 140 HTML name safe colors
```
print_aliceblue()
print_antiquewhite()
print_aqua()
print_aquamarine()
...
```
<table>
<tbody>
<tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aliceblue.png" alt="aliceblue"></td><td>aliceblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/antiquewhite.png" alt="antiquewhite"></td><td>antiquewhite</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aqua.png" alt="aqua"></td><td>aqua</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aquamarine.png" alt="aquamarine"></td><td>aquamarine</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/azure.png" alt="azure"></td><td>azure</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/bisque.png" alt="bisque"></td><td>bisque</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blanchedalmond.png" alt="blanchedalmond"></td><td>blanchedalmond</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blue.png" alt="blue"></td><td>blue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blueviolet.png" alt="blueviolet"></td><td>blueviolet</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/brown.png" alt="brown"></td><td>brown</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/burlywood.png" alt="burlywood"></td><td>burlywood</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cadetblue.png" alt="cadetblue"></td><td>cadetblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/chartreuse.png" alt="chartreuse"></td><td>chartreuse</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/chocolate.png" alt="chocolate"></td><td>chocolate</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/coral.png" alt="coral"></td><td>coral</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cornflowerblue.png" alt="cornflowerblue"></td><td>cornflowerblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cornsilk.png" alt="cornsilk"></td><td>cornsilk</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/crimson.png" alt="crimson"></td><td>crimson</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cyan.png" alt="cyan"></td><td>cyan</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkblue.png" alt="darkblue"></td><td>darkblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkcyan.png" alt="darkcyan"></td><td>darkcyan</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgray.png" alt="darkgray"></td><td>darkgray</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgreen.png" alt="darkgreen"></td><td>darkgreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgrey.png" alt="darkgrey"></td><td>darkgrey</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkkhaki.png" alt="darkkhaki"></td><td>darkkhaki</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkmagenta.png" alt="darkmagenta"></td><td>darkmagenta</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkolivegreen.png" alt="darkolivegreen"></td><td>darkolivegreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkorange.png" alt="darkorange"></td><td>darkorange</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkorchid.png" alt="darkorchid"></td><td>darkorchid</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkred.png" alt="darkred"></td><td>darkred</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darksalmon.png" alt="darksalmon"></td><td>darksalmon</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkseagreen.png" alt="darkseagreen"></td><td>darkseagreen</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslateblue.png" alt="darkslateblue"></td><td>darkslateblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslategray.png" alt="darkslategray"></td><td>darkslategray</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslategrey.png" alt="darkslategrey"></td><td>darkslategrey</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkturquoise.png" alt="darkturquoise"></td><td>darkturquoise</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkviolet.png" alt="darkviolet"></td><td>darkviolet</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/deeppink.png" alt="deeppink"></td><td>deeppink</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/deepskyblue.png" alt="deepskyblue"></td><td>deepskyblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dimgray.png" alt="dimgray"></td><td>dimgray</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dimgrey.png" alt="dimgrey"></td><td>dimgrey</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dodgerblue.png" alt="dodgerblue"></td><td>dodgerblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/firebrick.png" alt="firebrick"></td><td>firebrick</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/floralwhite.png" alt="floralwhite"></td><td>floralwhite</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/forestgreen.png" alt="forestgreen"></td><td>forestgreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/fuchsia.png" alt="fuchsia"></td><td>fuchsia</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gainsboro.png" alt="gainsboro"></td><td>gainsboro</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/ghostwhite.png" alt="ghostwhite"></td><td>ghostwhite</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gold.png" alt="gold"></td><td>gold</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gray.png" alt="gray"></td><td>gray</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/green.png" alt="green"></td><td>green</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/greenyellow.png" alt="greenyellow"></td><td>greenyellow</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/grey.png" alt="grey"></td><td>grey</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/honeydew.png" alt="honeydew"></td><td>honeydew</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/hotpink.png" alt="hotpink"></td><td>hotpink</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/indianred.png" alt="indianred"></td><td>indianred</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/indigo.png" alt="indigo"></td><td>indigo</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/ivory.png" alt="ivory"></td><td>ivory</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/khaki.png" alt="khaki"></td><td>khaki</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lavender.png" alt="lavender"></td><td>lavender</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lavenderblush.png" alt="lavenderblush"></td><td>lavenderblush</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lawngreen.png" alt="lawngreen"></td><td>lawngreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lemonchiffon.png" alt="lemonchiffon"></td><td>lemonchiffon</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightblue.png" alt="lightblue"></td><td>lightblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightcoral.png" alt="lightcoral"></td><td>lightcoral</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightcyan.png" alt="lightcyan"></td><td>lightcyan</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgoldenrodyellow.png" alt="lightgoldenrodyellow"></td><td>lightgoldenrodyellow</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgray.png" alt="lightgray"></td><td>lightgray</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgreen.png" alt="lightgreen"></td><td>lightgreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgrey.png" alt="lightgrey"></td><td>lightgrey</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightpink.png" alt="lightpink"></td><td>lightpink</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightsalmon.png" alt="lightsalmon"></td><td>lightsalmon</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightseagreen.png" alt="lightseagreen"></td><td>lightseagreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightskyblue.png" alt="lightskyblue"></td><td>lightskyblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightslategray.png" alt="lightslategray"></td><td>lightslategray</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightslategrey.png" alt="lightslategrey"></td><td>lightslategrey</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightsteelblue.png" alt="lightsteelblue"></td><td>lightsteelblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightyellow.png" alt="lightyellow"></td><td>lightyellow</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lime.png" alt="lime"></td><td>lime</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/limegreen.png" alt="limegreen"></td><td>limegreen</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/linen.png" alt="linen"></td><td>linen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/magenta.png" alt="magenta"></td><td>magenta</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumaquamarine.png" alt="mediumaquamarine"></td><td>mediumaquamarine</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumblue.png" alt="mediumblue"></td><td>mediumblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumorchid.png" alt="mediumorchid"></td><td>mediumorchid</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumpurple.png" alt="mediumpurple"></td><td>mediumpurple</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumseagreen.png" alt="mediumseagreen"></td><td>mediumseagreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumslateblue.png" alt="mediumslateblue"></td><td>mediumslateblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumspringgreen.png" alt="mediumspringgreen"></td><td>mediumspringgreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumturquoise.png" alt="mediumturquoise"></td><td>mediumturquoise</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumvioletred.png" alt="mediumvioletred"></td><td>mediumvioletred</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/midnightblue.png" alt="midnightblue"></td><td>midnightblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mintcream.png" alt="mintcream"></td><td>mintcream</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mistyrose.png" alt="mistyrose"></td><td>mistyrose</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/moccasin.png" alt="moccasin"></td><td>moccasin</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/navy.png" alt="navy"></td><td>navy</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/oldlace.png" alt="oldlace"></td><td>oldlace</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/olive.png" alt="olive"></td><td>olive</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/olivedrab.png" alt="olivedrab"></td><td>olivedrab</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orange.png" alt="orange"></td><td>orange</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orangered.png" alt="orangered"></td><td>orangered</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orchid.png" alt="orchid"></td><td>orchid</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palegoldenrod.png" alt="palegoldenrod"></td><td>palegoldenrod</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palegreen.png" alt="palegreen"></td><td>palegreen</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/paleturquoise.png" alt="paleturquoise"></td><td>paleturquoise</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palevioletred.png" alt="palevioletred"></td><td>palevioletred</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/papayawhip.png" alt="papayawhip"></td><td>papayawhip</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/peachpuff.png" alt="peachpuff"></td><td>peachpuff</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/peru.png" alt="peru"></td><td>peru</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/pink.png" alt="pink"></td><td>pink</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/plum.png" alt="plum"></td><td>plum</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/powderblue.png" alt="powderblue"></td><td>powderblue</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/purple.png" alt="purple"></td><td>purple</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/rebeccapurple.png" alt="rebeccapurple"></td><td>rebeccapurple</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/red.png" alt="red"></td><td>red</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/rosybrown.png" alt="rosybrown"></td><td>rosybrown</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/royalblue.png" alt="royalblue"></td><td>royalblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/saddlebrown.png" alt="saddlebrown"></td><td>saddlebrown</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/salmon.png" alt="salmon"></td><td>salmon</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/sandybrown.png" alt="sandybrown"></td><td>sandybrown</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/seagreen.png" alt="seagreen"></td><td>seagreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/seashell.png" alt="seashell"></td><td>seashell</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/sienna.png" alt="sienna"></td><td>sienna</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/silver.png" alt="silver"></td><td>silver</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/skyblue.png" alt="skyblue"></td><td>skyblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slateblue.png" alt="slateblue"></td><td>slateblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slategray.png" alt="slategray"></td><td>slategray</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slategrey.png" alt="slategrey"></td><td>slategrey</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/snow.png" alt="snow"></td><td>snow</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/springgreen.png" alt="springgreen"></td><td>springgreen</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/steelblue.png" alt="steelblue"></td><td>steelblue</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/tan.png" alt="tan"></td><td>tan</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/teal.png" alt="teal"></td><td>teal</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/thistle.png" alt="thistle"></td><td>thistle</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/tomato.png" alt="tomato"></td><td>tomato</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/turquoise.png" alt="turquoise"></td><td>turquoise</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/violet.png" alt="violet"></td><td>violet</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/wheat.png" alt="wheat"></td><td>wheat</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/white.png" alt="white"></td><td>white</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/whitesmoke.png" alt="whitesmoke"></td><td>whitesmoke</td>
</tr>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/yellow.png" alt="yellow"></td><td>yellow</td>
<td><img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/yellowgreen.png" alt="yellowgreen"></td><td>yellowgreen</td>
</table>
</tbody>
---
## π€ Supported Formats
printpop includes wrapper functions for ANSI formats:
```
print_bold()
print_dim()
print_italic()
print_underline()
print_blink()
print_inverse()
print_hidden()
print_strikethrough()
```
---
## π§ Built-in demo:
`python printpop.py`
<p align="left">
<img src="https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/color_samples.png" alt="console output" width="800"/>
</p>
---
## π Package Structure
```
printpop/
βββ printpop.py # Public-facing wrappers
βββ color_printer.py # Core ANSI logic
βββ __init__.py # Package init
βββ assets/ # Folder for images, badges, or other static assets
β βββ print_pop_logo.png # Logo for documentation
β βββ colorprinter_usage_output.png # Console output
β βββ color_samples.png # Console output
| βββ <color>.png # HTML safe name color samples
βββ README.md # Documentation
```
---
## π€ Contributing
Pull requests welcome! If you spot formatting quirks, want to add new named colors or extend features (like terminal detection or theme presets), feel free to collaborate.
To contribute:
Fork the repo
Add your changes with Google-style comments
Submit a pull request with a clear description
For style consistency, follow the Python Google Style Guide for functions and comments.
---
## π License
This project is licensed under the [MIT License](LICENSE).
---
## π€ Author
Created by Ryan LaPine [@rlapine](https://github.com/rlapine) β a technically skilled developer focused on clarity, maintainability, and audience-ready documentation. This class is part of a broader effort to build reusable, well-documented tools for data-driven projects.
---
## π¬ Contact
Feel free to reach out with questions or collaboration ideas:
π§ github.stunt845@passinbox.com
π GitHub: [@rlapine](https://github.com/rlapine)
Raw data
{
"_id": null,
"home_page": "https://github.com/rlapine/PrintPop",
"name": "PrintPop",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Ryan LaPine",
"author_email": "github.stunt845@passinbox.com",
"download_url": "https://files.pythonhosted.org/packages/d4/a7/babb3b32a538cdc71f969b25fb4202052c597d47044898c9b3646900b0a9/printpop-0.1.4.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n <img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/print_pop_logo.png\" alt=\"PrintPop logo\" width=\"400\"/>\r\n</p>\r\n\r\n---\r\n\r\n## \ud83c\udfa8 PrintPop V 0.1.2\r\n\r\nStyled console printing made simple \u2014 color, format, and clarity in one package.\r\n\r\n---\r\n\r\n[](https://www.python.org/downloads/)\r\n[](LICENSE)\r\n[](https://github.com/rlapine/printpop/stargazers)\r\n[](https://github.com/rlapine/printpop/network/members)\r\n\r\n---\r\n\r\n## \u2728 Overview\r\n\r\nPrintPop is a lightweight Python utility for printing beautifully formatted text in the console. Use named HTML-safe colors, custom RGB values, and popular text styles to make CLI output clearer and more expressive.\r\n\r\nDesigned to work across platforms (Windows, macOS, Linux), and built for developers, educators, and CLI power users.\r\n\r\n---\r\n\r\n## \ud83d\udce6 Installation\r\n\r\n`pip install printpop`\r\n\r\n---\r\n\r\n## \u2699\ufe0f Features\r\n\r\n- \u2705 Uses wrapper functions for quick integration \r\n- \u2705 Built entirely on standard libraries\r\n- \u2705 Named HTML-Safe Colors: Use intuitive color names like \"salmon\", \"skyblue\", or \"goldenrod\" for quick readability.\r\n- \u2705 Custom RGB Styling: Define any RGB values for precise color output\u2014ideal for branding or design-themed CLI tools.\r\n- \u2705 Text Style Formatting: Combine bold, italic, underline, and more for expressive output.\r\n- \u2705 Background Colors: Control the background with both named and RGB values for contrast-rich displays.\r\n- \u2705 Cross-Platform ANSI Support: Works reliably on Windows, macOS, and Linux terminals using ANSI escape codes.\r\n- \u2705 Convenient Wrapper Functions: print_bold(), print_rgb(), print_formatted()\u2014no need to remember styling syntax.\r\n- \u2705 Interactive CLI Demo: Run console_test.py to preview styles, test terminal capabilities, or explore colors hands-on.\r\n- \u2705 No Dependencies: Fully standalone\u2014just install and start printing with color.\r\n\r\n---\r\n\r\n## \u270d\ufe0f API Overview\r\n\r\n- `print_<color>(text_to_print: str)`: print functions for over 140 HTML safe named colors. \r\n- `print_bold(text_to_print: str)`: Prints bold. \r\n- `print_dim(text_to_print: str)`: Prints dim. \r\n- `print_italic(text_to_print: str)`: Prints italic. \r\n- `print_underline(text_to_print: str)`: Prints underline. \r\n- `print_blink(text_to_print: str)`: Prints blink. \r\n- `print_inverse(text_to_print: str)`: Prints inverse. \r\n- `print_hidden(text_to_print: str)`: Prints hidden. \r\n- `print_strikethrough(text_to_print: str)`: Prints strikethrough. \r\n- `print_rgb(text_to_print: str, r: int, g: int, b: int)`: Prints text in rgb color. \r\n- `print_color(text_to_print: str, color: str, background: bool)`: Prints background in color if backround is True.\r\n- `print_formatted(text_to_print: str, bold: bool, ...`: Prints with formats and colors.\r\n\r\n---\r\n\r\n## \ud83d\udd27 Usage Examples\r\n\r\n```\r\nimport printpop\r\n\r\n# Emphasize with bold\r\nprint_bold(\"This text is bold.\")\r\n\r\n# Custom RGB\r\nprint_rgb(\"This text is soft purple\", r=150, g=120, b=180)\r\n\r\n# Combine styles\r\nprint_formatted(\"This text is bold, italic, salmon colored with lightcoral background\", bold=True, italic=True, color=\"salmon\", back_color=\"lightcoral\")\r\n\r\n# Print color name\r\nprint_red(\"This text is red\")\r\n\r\n# Use named HTML-safe foreground/background colors\r\nprint_color(\"This text is fuchsia\", color = \"fuchsia\" )\r\n\r\n# Use any rgb color\r\nprint_rgb(\"This text is one of 16,777,216 possible colors\", r = 101, g = 201, b = 113)\r\n\r\n# Use any rgb color for background\r\nprint_rgb(\"This text has one of 16,777,216 possible background colors\", r = 37, g = 249, b = 201, background = True)\r\n\r\n# Combine multiple text styles and colors\r\nprint_formatted(\"This text is bold, underlined, red with yellow background and it is blinking.\",\r\n bold=True,\r\n dim=False,\r\n italic=False,\r\n underline=True,\r\n blink=True,\r\n inverse=False,\r\n hidden=False,\r\n strikethrough=False,\r\n color=\"red\",\r\n back_color=\"yellow\"\r\n)\r\n```\r\n<p align=\"left\">\r\n <img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/colorprinter_usage_output.png\" alt=\"console output\" width=\"800\"/>\r\n</p>\r\n\r\n---\r\n\r\n## \ud83c\udf08 Supported Colors\r\n\r\nprintpop includes wrapper functions for over 140 HTML name safe colors\r\n\r\n```\r\nprint_aliceblue()\r\nprint_antiquewhite()\r\nprint_aqua()\r\nprint_aquamarine()\r\n...\r\n```\r\n\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aliceblue.png\" alt=\"aliceblue\"></td><td>aliceblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/antiquewhite.png\" alt=\"antiquewhite\"></td><td>antiquewhite</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aqua.png\" alt=\"aqua\"></td><td>aqua</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/aquamarine.png\" alt=\"aquamarine\"></td><td>aquamarine</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/azure.png\" alt=\"azure\"></td><td>azure</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/bisque.png\" alt=\"bisque\"></td><td>bisque</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blanchedalmond.png\" alt=\"blanchedalmond\"></td><td>blanchedalmond</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blue.png\" alt=\"blue\"></td><td>blue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/blueviolet.png\" alt=\"blueviolet\"></td><td>blueviolet</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/brown.png\" alt=\"brown\"></td><td>brown</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/burlywood.png\" alt=\"burlywood\"></td><td>burlywood</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cadetblue.png\" alt=\"cadetblue\"></td><td>cadetblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/chartreuse.png\" alt=\"chartreuse\"></td><td>chartreuse</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/chocolate.png\" alt=\"chocolate\"></td><td>chocolate</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/coral.png\" alt=\"coral\"></td><td>coral</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cornflowerblue.png\" alt=\"cornflowerblue\"></td><td>cornflowerblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cornsilk.png\" alt=\"cornsilk\"></td><td>cornsilk</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/crimson.png\" alt=\"crimson\"></td><td>crimson</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/cyan.png\" alt=\"cyan\"></td><td>cyan</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkblue.png\" alt=\"darkblue\"></td><td>darkblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkcyan.png\" alt=\"darkcyan\"></td><td>darkcyan</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgray.png\" alt=\"darkgray\"></td><td>darkgray</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgreen.png\" alt=\"darkgreen\"></td><td>darkgreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkgrey.png\" alt=\"darkgrey\"></td><td>darkgrey</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkkhaki.png\" alt=\"darkkhaki\"></td><td>darkkhaki</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkmagenta.png\" alt=\"darkmagenta\"></td><td>darkmagenta</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkolivegreen.png\" alt=\"darkolivegreen\"></td><td>darkolivegreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkorange.png\" alt=\"darkorange\"></td><td>darkorange</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkorchid.png\" alt=\"darkorchid\"></td><td>darkorchid</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkred.png\" alt=\"darkred\"></td><td>darkred</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darksalmon.png\" alt=\"darksalmon\"></td><td>darksalmon</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkseagreen.png\" alt=\"darkseagreen\"></td><td>darkseagreen</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslateblue.png\" alt=\"darkslateblue\"></td><td>darkslateblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslategray.png\" alt=\"darkslategray\"></td><td>darkslategray</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkslategrey.png\" alt=\"darkslategrey\"></td><td>darkslategrey</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkturquoise.png\" alt=\"darkturquoise\"></td><td>darkturquoise</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/darkviolet.png\" alt=\"darkviolet\"></td><td>darkviolet</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/deeppink.png\" alt=\"deeppink\"></td><td>deeppink</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/deepskyblue.png\" alt=\"deepskyblue\"></td><td>deepskyblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dimgray.png\" alt=\"dimgray\"></td><td>dimgray</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dimgrey.png\" alt=\"dimgrey\"></td><td>dimgrey</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/dodgerblue.png\" alt=\"dodgerblue\"></td><td>dodgerblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/firebrick.png\" alt=\"firebrick\"></td><td>firebrick</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/floralwhite.png\" alt=\"floralwhite\"></td><td>floralwhite</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/forestgreen.png\" alt=\"forestgreen\"></td><td>forestgreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/fuchsia.png\" alt=\"fuchsia\"></td><td>fuchsia</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gainsboro.png\" alt=\"gainsboro\"></td><td>gainsboro</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/ghostwhite.png\" alt=\"ghostwhite\"></td><td>ghostwhite</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gold.png\" alt=\"gold\"></td><td>gold</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/gray.png\" alt=\"gray\"></td><td>gray</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/green.png\" alt=\"green\"></td><td>green</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/greenyellow.png\" alt=\"greenyellow\"></td><td>greenyellow</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/grey.png\" alt=\"grey\"></td><td>grey</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/honeydew.png\" alt=\"honeydew\"></td><td>honeydew</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/hotpink.png\" alt=\"hotpink\"></td><td>hotpink</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/indianred.png\" alt=\"indianred\"></td><td>indianred</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/indigo.png\" alt=\"indigo\"></td><td>indigo</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/ivory.png\" alt=\"ivory\"></td><td>ivory</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/khaki.png\" alt=\"khaki\"></td><td>khaki</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lavender.png\" alt=\"lavender\"></td><td>lavender</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lavenderblush.png\" alt=\"lavenderblush\"></td><td>lavenderblush</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lawngreen.png\" alt=\"lawngreen\"></td><td>lawngreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lemonchiffon.png\" alt=\"lemonchiffon\"></td><td>lemonchiffon</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightblue.png\" alt=\"lightblue\"></td><td>lightblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightcoral.png\" alt=\"lightcoral\"></td><td>lightcoral</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightcyan.png\" alt=\"lightcyan\"></td><td>lightcyan</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgoldenrodyellow.png\" alt=\"lightgoldenrodyellow\"></td><td>lightgoldenrodyellow</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgray.png\" alt=\"lightgray\"></td><td>lightgray</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgreen.png\" alt=\"lightgreen\"></td><td>lightgreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightgrey.png\" alt=\"lightgrey\"></td><td>lightgrey</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightpink.png\" alt=\"lightpink\"></td><td>lightpink</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightsalmon.png\" alt=\"lightsalmon\"></td><td>lightsalmon</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightseagreen.png\" alt=\"lightseagreen\"></td><td>lightseagreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightskyblue.png\" alt=\"lightskyblue\"></td><td>lightskyblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightslategray.png\" alt=\"lightslategray\"></td><td>lightslategray</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightslategrey.png\" alt=\"lightslategrey\"></td><td>lightslategrey</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightsteelblue.png\" alt=\"lightsteelblue\"></td><td>lightsteelblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lightyellow.png\" alt=\"lightyellow\"></td><td>lightyellow</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/lime.png\" alt=\"lime\"></td><td>lime</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/limegreen.png\" alt=\"limegreen\"></td><td>limegreen</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/linen.png\" alt=\"linen\"></td><td>linen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/magenta.png\" alt=\"magenta\"></td><td>magenta</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumaquamarine.png\" alt=\"mediumaquamarine\"></td><td>mediumaquamarine</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumblue.png\" alt=\"mediumblue\"></td><td>mediumblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumorchid.png\" alt=\"mediumorchid\"></td><td>mediumorchid</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumpurple.png\" alt=\"mediumpurple\"></td><td>mediumpurple</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumseagreen.png\" alt=\"mediumseagreen\"></td><td>mediumseagreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumslateblue.png\" alt=\"mediumslateblue\"></td><td>mediumslateblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumspringgreen.png\" alt=\"mediumspringgreen\"></td><td>mediumspringgreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumturquoise.png\" alt=\"mediumturquoise\"></td><td>mediumturquoise</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mediumvioletred.png\" alt=\"mediumvioletred\"></td><td>mediumvioletred</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/midnightblue.png\" alt=\"midnightblue\"></td><td>midnightblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mintcream.png\" alt=\"mintcream\"></td><td>mintcream</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/mistyrose.png\" alt=\"mistyrose\"></td><td>mistyrose</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/moccasin.png\" alt=\"moccasin\"></td><td>moccasin</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/navy.png\" alt=\"navy\"></td><td>navy</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/oldlace.png\" alt=\"oldlace\"></td><td>oldlace</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/olive.png\" alt=\"olive\"></td><td>olive</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/olivedrab.png\" alt=\"olivedrab\"></td><td>olivedrab</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orange.png\" alt=\"orange\"></td><td>orange</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orangered.png\" alt=\"orangered\"></td><td>orangered</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/orchid.png\" alt=\"orchid\"></td><td>orchid</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palegoldenrod.png\" alt=\"palegoldenrod\"></td><td>palegoldenrod</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palegreen.png\" alt=\"palegreen\"></td><td>palegreen</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/paleturquoise.png\" alt=\"paleturquoise\"></td><td>paleturquoise</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/palevioletred.png\" alt=\"palevioletred\"></td><td>palevioletred</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/papayawhip.png\" alt=\"papayawhip\"></td><td>papayawhip</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/peachpuff.png\" alt=\"peachpuff\"></td><td>peachpuff</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/peru.png\" alt=\"peru\"></td><td>peru</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/pink.png\" alt=\"pink\"></td><td>pink</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/plum.png\" alt=\"plum\"></td><td>plum</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/powderblue.png\" alt=\"powderblue\"></td><td>powderblue</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/purple.png\" alt=\"purple\"></td><td>purple</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/rebeccapurple.png\" alt=\"rebeccapurple\"></td><td>rebeccapurple</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/red.png\" alt=\"red\"></td><td>red</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/rosybrown.png\" alt=\"rosybrown\"></td><td>rosybrown</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/royalblue.png\" alt=\"royalblue\"></td><td>royalblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/saddlebrown.png\" alt=\"saddlebrown\"></td><td>saddlebrown</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/salmon.png\" alt=\"salmon\"></td><td>salmon</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/sandybrown.png\" alt=\"sandybrown\"></td><td>sandybrown</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/seagreen.png\" alt=\"seagreen\"></td><td>seagreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/seashell.png\" alt=\"seashell\"></td><td>seashell</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/sienna.png\" alt=\"sienna\"></td><td>sienna</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/silver.png\" alt=\"silver\"></td><td>silver</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/skyblue.png\" alt=\"skyblue\"></td><td>skyblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slateblue.png\" alt=\"slateblue\"></td><td>slateblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slategray.png\" alt=\"slategray\"></td><td>slategray</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/slategrey.png\" alt=\"slategrey\"></td><td>slategrey</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/snow.png\" alt=\"snow\"></td><td>snow</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/springgreen.png\" alt=\"springgreen\"></td><td>springgreen</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/steelblue.png\" alt=\"steelblue\"></td><td>steelblue</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/tan.png\" alt=\"tan\"></td><td>tan</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/teal.png\" alt=\"teal\"></td><td>teal</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/thistle.png\" alt=\"thistle\"></td><td>thistle</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/tomato.png\" alt=\"tomato\"></td><td>tomato</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/turquoise.png\" alt=\"turquoise\"></td><td>turquoise</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/violet.png\" alt=\"violet\"></td><td>violet</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/wheat.png\" alt=\"wheat\"></td><td>wheat</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/white.png\" alt=\"white\"></td><td>white</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/whitesmoke.png\" alt=\"whitesmoke\"></td><td>whitesmoke</td>\r\n</tr>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/yellow.png\" alt=\"yellow\"></td><td>yellow</td>\r\n<td><img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/yellowgreen.png\" alt=\"yellowgreen\"></td><td>yellowgreen</td>\r\n</table>\r\n</tbody>\r\n\r\n---\r\n\r\n## \ud83d\udd24 Supported Formats\r\n\r\nprintpop includes wrapper functions for ANSI formats:\r\n\r\n```\r\nprint_bold()\r\nprint_dim()\r\nprint_italic()\r\nprint_underline()\r\nprint_blink()\r\nprint_inverse()\r\nprint_hidden()\r\nprint_strikethrough()\r\n```\r\n\r\n---\r\n\r\n## \ud83d\udd27 Built-in demo:\r\n\r\n`python printpop.py`\r\n\r\n<p align=\"left\">\r\n <img src=\"https://raw.githubusercontent.com/rlapine/printpop/refs/heads/main/assets/color_samples.png\" alt=\"console output\" width=\"800\"/>\r\n</p>\r\n\r\n---\r\n\r\n## \ud83d\udcc1 Package Structure\r\n```\r\nprintpop/\r\n\u251c\u2500\u2500 printpop.py # Public-facing wrappers\r\n\u251c\u2500\u2500 color_printer.py # Core ANSI logic\r\n\u251c\u2500\u2500 __init__.py # Package init\r\n\u251c\u2500\u2500 assets/ # Folder for images, badges, or other static assets\r\n\u2502 \u251c\u2500\u2500 print_pop_logo.png # Logo for documentation\r\n\u2502 \u251c\u2500\u2500 colorprinter_usage_output.png # Console output \r\n\u2502 \u251c\u2500\u2500 color_samples.png # Console output\r\n| \u2514\u2500\u2500 <color>.png # HTML safe name color samples\r\n\u2514\u2500\u2500 README.md # Documentation\r\n```\r\n\r\n---\r\n\r\n## \ud83e\udd1d Contributing\r\n\r\nPull requests welcome! If you spot formatting quirks, want to add new named colors or extend features (like terminal detection or theme presets), feel free to collaborate.\r\n\r\nTo contribute:\r\n\r\nFork the repo\r\n\r\nAdd your changes with Google-style comments\r\n\r\nSubmit a pull request with a clear description\r\n\r\nFor style consistency, follow the Python Google Style Guide for functions and comments.\r\n\r\n---\r\n\r\n## \ud83d\udcc4 License\r\n\r\nThis project is licensed under the [MIT License](LICENSE).\r\n\r\n---\r\n\r\n## \ud83d\udc64 Author\r\n\r\nCreated by Ryan LaPine [@rlapine](https://github.com/rlapine) \u2014 a technically skilled developer focused on clarity, maintainability, and audience-ready documentation. This class is part of a broader effort to build reusable, well-documented tools for data-driven projects.\r\n\r\n---\r\n\r\n## \ud83d\udcec Contact\r\n\r\nFeel free to reach out with questions or collaboration ideas:\r\n\r\n\ud83d\udce7 github.stunt845@passinbox.com \r\n\ud83d\udd17 GitHub: [@rlapine](https://github.com/rlapine)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Styled console printing made simple \u2014 color, format, and clarity in one package.",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/rlapine/PrintPop"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "73b86d1e41e71b3db2902ecc1a90888165caf9ab240ddab71459f6ef5c682084",
"md5": "a48495bd062732bb8602b3a26e1309c6",
"sha256": "73b0301fdaec3b75aa1b502203afc21b120b678e01556921864bc74b8ddd5d0b"
},
"downloads": -1,
"filename": "printpop-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a48495bd062732bb8602b3a26e1309c6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6664,
"upload_time": "2025-07-30T22:03:52",
"upload_time_iso_8601": "2025-07-30T22:03:52.748837Z",
"url": "https://files.pythonhosted.org/packages/73/b8/6d1e41e71b3db2902ecc1a90888165caf9ab240ddab71459f6ef5c682084/printpop-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d4a7babb3b32a538cdc71f969b25fb4202052c597d47044898c9b3646900b0a9",
"md5": "4924855473b2512f51d43e9a790f76f9",
"sha256": "c2140ec489dca886809a16ba2765308485ee02af391ee810e68afa65c99677ac"
},
"downloads": -1,
"filename": "printpop-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "4924855473b2512f51d43e9a790f76f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 10893,
"upload_time": "2025-07-30T22:03:53",
"upload_time_iso_8601": "2025-07-30T22:03:53.712936Z",
"url": "https://files.pythonhosted.org/packages/d4/a7/babb3b32a538cdc71f969b25fb4202052c597d47044898c9b3646900b0a9/printpop-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-30 22:03:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rlapine",
"github_project": "PrintPop",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "printpop"
}