Skip to main content

CTML

(Color Text Markup Language)

from trml import format


string = """
My Normal Text
<text color="red" on="black">Some characters</text>
"""


colored = format(string)

print(colored)

Example1

Metadata

Release files for pyTRML 0.0.0

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

Source distribution (sdist)

Source distribution for pyTRML 0.0.0
File Size Uploaded
pyTRML-0.0.0.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyTRML 0.0.0
File Interpreter ABI Platform
pyTRML-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / pyTRML-0.0.0.tar.gz

Download URL pyTRML-0.0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
54d7e98d76400ff1d217c6991ed2877cc1993a00c1f15b38d5ac30158f500593
BLAKE2b-256 checksum
How to use checksums
766f61b229b021bd05728fd338545698e613d4971cf96ebd1cd6306f75bb1c8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

Release files / pyTRML-0.0.0-py3-none-any.whl

Download URL pyTRML-0.0.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4af08fee7f2bb38b84840159b52d75ebb3bcff6b095c7d0ceebf91c0d66ba55d
BLAKE2b-256 checksum
How to use checksums
971a02376d0a89bc677514190ea01b6edd86305b3913c0c69d533ae8c86fc17f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files

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