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.0.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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: html_tstring-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 799f564b1884a1f120c927faed597f58234a6497a4860c361454a4bf571ef56e
MD5 31a22b0889ec05ada61e3c42ac98287c
BLAKE2b-256 d8a1ca4c1c29c2e2835e7578f7ecb22d4b25b634ca142ae59b752ffcebdafbf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for html_tstring-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: html_tstring-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 108bf4cba5d58ebd08ea04ae13c95c9e2ddeecc304e7127837f121966087c89a
MD5 c5265dd6ef4a45401b0df5c7188ed3a9
BLAKE2b-256 c83544e0e0a5fd5ee14300111f3ca5acc56fd24b0d9271aa29c0de5aacd8979e

See more details on using hashes here.

Provenance

The following attestation bundles were made for html_tstring-0.2.0-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