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

Uploaded Python 3

File details

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

File metadata

  • Download URL: html_tstring-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 985d41ef7efe8167e82973f6b0978181bacad1963145d141592a2db672b8d98e
MD5 aa87411cbbebe14338287f708c6d2ada
BLAKE2b-256 b6ebfb4a497afa54ea9d00d7204c377d6594d1496806a4c01ea934f8ea9de6d0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: html_tstring-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb0612a91479cd580e4c461822799157a78483ce007b8707d744908325746fb
MD5 ebc97ca99ba5c6badc76f74dfa3bd762
BLAKE2b-256 91edd1cca5b5b47cac6c64d1d113cb83794cc9ba293cf2a6f14fe786ded31acb

See more details on using hashes here.

Provenance

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