Skip to main content

Terminal Rendering Markup Language

Project description

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

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

pyTRML-0.0.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyTRML-0.0.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file pyTRML-0.0.0.tar.gz.

File metadata

  • Download URL: pyTRML-0.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyTRML-0.0.0.tar.gz
Algorithm Hash digest
SHA256 54d7e98d76400ff1d217c6991ed2877cc1993a00c1f15b38d5ac30158f500593
MD5 e71e40c9d34a7ffb4ded55de13338dcc
BLAKE2b-256 766f61b229b021bd05728fd338545698e613d4971cf96ebd1cd6306f75bb1c8f

See more details on using hashes here.

File details

Details for the file pyTRML-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyTRML-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyTRML-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4af08fee7f2bb38b84840159b52d75ebb3bcff6b095c7d0ceebf91c0d66ba55d
MD5 ae7de4136dae9874c2135fc336052721
BLAKE2b-256 971a02376d0a89bc677514190ea01b6edd86305b3913c0c69d533ae8c86fc17f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page