Metadata-Version: 2.4
Name: pyterminalformat
Version: 0.1.0
Summary: A lightweight utility for terminal text formatting and styling.
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pyterminalformat

A lightweight utility for terminal text formatting and styling.

## Installation

You can install the package via pip:

```bash
pip install pyterminalformat

## Commands
bold: Applies bold ANSI escape codes.

italic: Applies italic ANSI escape codes.

underline: Applies underline ANSI escape codes.

strikethrough: Applies strikethrough ANSI escape codes.

monospace: Formats text with backticks.

highlight: Applies background highlighting.

superscript: Translates text into unicode superscript characters.

subscript: Translates text into unicode subscript characters.

read.file: Opens and reads text files with UTF-8 encoding.

userinput.input: Handles terminal prompts with built-in default fallback values.

display: Prints output directly to the terminal via a custom metaclass.

formatting.apply: Chains multiple styling classes together sequentially on a string.

## Examples
from pyformat import bold, italic, formatting, display

# Direct single style argument
styled_text = bold("hello")
display(styled_text)

# Direct multiple style arguments using formatting
combined_text = formatting("hello world", bold, italic)
display(combined_text)
