Skip to main content

HTML renderer for PEP 750 template strings

Project description

html-tstring

Low-level HTML renderer for PEP 750 template strings.

from html_tstring import render_html

name = "world"
page = t"<div>Hello {name}</div>"
assert render_html(page) == "<div>Hello world</div>"

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

html_tstring-0.2.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

html_tstring-0.2.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file html_tstring-0.2.1.tar.gz.

File metadata

  • Download URL: html_tstring-0.2.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for html_tstring-0.2.1.tar.gz
Algorithm Hash digest
SHA256 08fc7813eaaab89696e3c46f4f1f75f309875e00399a6cb79f6e4f874be9cb0e
MD5 f91d45ba6847a753698b69e17cc16912
BLAKE2b-256 dc8cec1c90a99f258935992322d5692be69f20e27236bb954618767f0733f01b

See more details on using hashes here.

Provenance

The following attestation bundles were made for html_tstring-0.2.1.tar.gz:

Publisher: publish-python.yml on koxudaxi/tstring-html

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file html_tstring-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: html_tstring-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for html_tstring-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23755acf1fa87d5dd387a4b0fdaa359787c5d04311a5bba8c798bedddb63fe8e
MD5 b0da3df19dc41da24222705b50136661
BLAKE2b-256 0896520255c0ceb68bd76eaed50e87eb9075afbd502a0921748908890e5ffe2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for html_tstring-0.2.1-py3-none-any.whl:

Publisher: publish-python.yml on koxudaxi/tstring-html

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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