Skip to main content

🎨 StyleUpText

0.2.2 Changes: Added Dim and Invert BBcodes

A high-performance, lightweight terminal text-styling engine that gives you pinpoint precision over your console typography.

StyleUpText bridges the gap between competing CLI packages: it lets you change terminal colors instantly using real Hex codes and 24-bit Truecolor RGB, while utilizing lightweight BBCode tags exclusively for text formatting (bold, italic, etc.) without the parsing overhead of heavier frameworks. Brought to you by Aplexon.


🚀 Key Advantages

  • True Color Freedom: Supports any Hex code (#C42D76) or RGB tuple directly. You are never restricted to primitive 8-color console palettes.
  • Decoupled Architecture: Colors are handled dynamically via execution functions, while text styles use clean BBCode tags ([b], [i], [u], [s], [d], [in]).
  • Zero-Dependency Color Layer: The color engine uses raw ANSI streams, ensuring lightweight deployment with zero background parsing overhead.

🛠️ Installation

Install the package directly via pip:

pip install StyleUpText

💻 Usage Examples

1. Hex & RGB Color Control (color.py)

Import the color sub-module to print precise truecolor lines or lock your terminal brush to a specific palette.

from StyleUpText import color

# Print a specific line instantly using a hex code
color.Print_Line_Color_HEX("#C42D76", "This text is raspberry pink!")

# Lock the foreground color using RGB, print text, and reset
color.Color_RGB(196, 45, 118)
print("All of this text will render custom colored until reset...")
color.Reset_Color()

# Use built-in crisp presets
color.Print_Line_Color_RGB(3, 194, 252, "Built-in alternative line helper.")
color.Color("cyan", "Or print a preset line easily!")

2. BBCode Formatting (style.py)

Format your copy cleanly using semantic layout markers. Tags can be combined natively.

from StyleUpText import style

# Format styles using lightweight structural tags
style.StylePrint("This is [b]bold[/b], this is [i]italic[/i], and this is [u]underlined[/u]!")
style.StylePrint("You can also apply [s]strikethrough text[/s] effortlessly.")

3. Decorative Big ASCII Typography

Render block headers using bundled typography matrices:

from StyleUpText import style

# Print a styled headline banner
style.printFont("APLEXON", "slant")

🛠️ Built-in Terminal Commands

When you install StyleUpText, it automatically binds a native command directly to your machine's environment path.

Find StyleUp Fonts

Search through over 570+ stylized block fonts directly inside your workspace shell:

search-fonts <keyword>

Example: search-fonts slant will look up every accessible typography structure variation containing that name string.

Font engine powered by pyfiglet using ASCII fonts

📂 Project Directory Structure

Ensure your local production folder matches this tree layout:

StyleUpText_Project/
├── pyproject.toml             # Configuration, dependencies, and shell scripts
├── README.md                  # This documentation manual
└── src/
    └── StyleUpText/             # Main distribution workspace module
        ├── __init__.py        # Exports package layout functions cleanly
        ├── color.py           # Hex, RGB, and palette engine
        └── style.py           # BBCode processing and ASCII typography

Exposing Functions via __init__.py

To achieve the clean imports shown in the examples, place the following exposure declarations inside src/StyleUpText/__init__.py:

from . import color
from . import style

🤝 Contributing & Support

This engine is actively maintained by Arin (contactarin@aplexon.com). For feature requests or project portfolios, visit aplexon.com.

License: Aplexon StyleUpText Non-Commercial & Revocable License Agreement. Free for personal use. To use it commercially you must get a license for free by asking Arin at (contactarin@aplexon.com). This software license is revokable.

Metadata

Release files for StyleUpText 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for StyleUpText 0.2.3
File Size Uploaded Provenance Actions
styleuptext-0.2.3.tar.gz 5.8 kB Without provenance Details for styleuptext-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for StyleUpText 0.2.3
File Interpreter ABI Platform Actions
styleuptext-0.2.3-py3-none-any.whl Python 3 none any Details for styleuptext-0.2.3-py3-none-any.whl

Total release size: 12.4 kB

Release files / styleuptext-0.2.3.tar.gz

Download URL styleuptext-0.2.3.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e146d91bf991327f752bf4da32831e5821dabc2728e9bd262d8932c74c40ce46
BLAKE2b-256 checksum
How to use checksums
b865146ec2b87450b47b8e6c5b3ebb263181bb1f3087d65efcbb294831aa0adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / styleuptext-0.2.3-py3-none-any.whl

Download URL styleuptext-0.2.3-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e38dcb0c4c13864166ecd1ad9e7e70c64f231b84d4bbd0ccdfe1d43e64394da
BLAKE2b-256 checksum
How to use checksums
e24192df8382b29f777e9179a955dbf6ec6f266efb449366a57705c3de66e008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for StyleUpText 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page