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

Uploaded Python 3

File details

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

File metadata

  • Download URL: html_tstring-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ba711de7ba80f7e450ba442cf89dc3e24dc2a079ff8c9cc3320c20094e4e1ce2
MD5 06e9d88a474eec8d859bdb44afa5db89
BLAKE2b-256 bf5327aa3d0c97d941f72a7c44eeb9bee874adb4f7e90bf7a478c574bdb2ebe2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: html_tstring-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0598b4ce7a9676d8880eba74b69282792eb7233114baca4806c0bafe92b39e9
MD5 8d073584ce704114430d8129f2da87bc
BLAKE2b-256 66da64a5f75b083e628b3d9a63d003896416f153a0242f8d4a29afc9bf31ff3a

See more details on using hashes here.

Provenance

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