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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for html_tstring-0.1.4.tar.gz
Algorithm Hash digest
SHA256 92ad954cfd7caaa76e53732acf97738de951ac4e827c0ee54ce51198750c8554
MD5 be5825f3e6428bffc217c51d91d23d97
BLAKE2b-256 d54ec580e35df6af86f0e22e3248016943f09ba37000f26d940c99394f7f6216

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: html_tstring-0.1.4-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.7

File hashes

Hashes for html_tstring-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bbbe8b3888b7ed3b23eba616285334c2a99b4b4fac8e7189eb4cbfcc833dce08
MD5 bd327c0858a968c1888c76a620787380
BLAKE2b-256 c07ec83b6a384af8d38db30321e7d9cc04be57164c6fd5db1262c0cc74119ede

See more details on using hashes here.

Provenance

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