Better CMD text utilities, uses the pdat file format
Project description
cmdstyler
Easily style your CMD/terminal output with headers, colors, and more.
Supports .pdat files for larger projects to keep your code clean.
✨ Features
- ASCII art headers
- 8-bit text coloring
- Empty line spacing
.pdatfile support (optional)
Planned:
- Background colors
- Easier custom header fonts
- 24-bit (truecolor) support
- Progress bars
- Centered text
📦 Installation
pip install cmdstyler
Usage
How to use cmdstyler:
import cmdstyler as cs
# Print a header
cs.header("Hello World")
# Add empty lines
cs.empty(2)
# Print colored text (8-bit)
cs.color("34;This is blue text")
# Load from a .pdat file
cs.beautify("example.pdat")
PDAT file syntax
{header : Hello Guys!}.
# The first word is the function name
# The : separates the function from its argument
# Everything after that is the output
{empty : 2}.
# Creates 2 empty lines
{color : 161 ; This text is red}.
# Prints a colored line with the specified 8-bit color
{textblock : Hallo Welt}.
# Prints a simple line of text
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
cmdstyler-0.1.2.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmdstyler-0.1.2.tar.gz.
File metadata
- Download URL: cmdstyler-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b474bde5b5b2f2edd921ddb6199a33efa8d746763eea8c8cdf2a14b124ea338
|
|
| MD5 |
04440d6c74b0d82a13c999720f51f00c
|
|
| BLAKE2b-256 |
cb0af69c790e4b0314aca9f3d25a7cb4fd0eeef08afc2e0d38d06ae7945f51b0
|
File details
Details for the file cmdstyler-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cmdstyler-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48d03bbb657bac6647ab33a84954fe7a7df20e75e4be36ebc5d36ece7668f5a0
|
|
| MD5 |
e78499c9eac02b3d6c990787a0dad967
|
|
| BLAKE2b-256 |
f8fe1f3097fabe6ebcbe933043003c072f3fc73eb1b09f1a7f483ea9d8892f76
|