thtml-tstring 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/PKG-INFO +2 -2
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/pyproject.toml +2 -2
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/src/thtml_tstring/_runtime.py +2 -2
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/README.md +0 -0
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/src/thtml_tstring/__init__.py +0 -0
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/src/thtml_tstring/_bindings.py +0 -0
- {thtml_tstring-0.1.3 → thtml_tstring-0.1.4}/src/thtml_tstring/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: thtml-tstring
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: T-HTML renderer for PEP 750 template strings
|
|
5
5
|
Keywords: html,pep750,t-strings,template-strings,thtml
|
|
6
6
|
Author: Koudai Aono
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
-
Requires-Dist: tstring-html-bindings>=0.1.
|
|
16
|
+
Requires-Dist: tstring-html-bindings>=0.1.4
|
|
17
17
|
Maintainer: Koudai Aono
|
|
18
18
|
Maintainer-email: Koudai Aono <koxudaxi@gmail.com>
|
|
19
19
|
Requires-Python: >=3.14
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "thtml-tstring"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "T-HTML renderer for PEP 750 template strings"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "MIT" }
|
|
7
7
|
authors = [{ name = "Koudai Aono", email = "koxudaxi@gmail.com" }]
|
|
8
8
|
maintainers = [{ name = "Koudai Aono", email = "koxudaxi@gmail.com" }]
|
|
9
9
|
requires-python = ">=3.14"
|
|
10
|
-
dependencies = ["tstring-html-bindings>=0.1.
|
|
10
|
+
dependencies = ["tstring-html-bindings>=0.1.4"]
|
|
11
11
|
keywords = ["html", "pep750", "t-strings", "template-strings", "thtml"]
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Development Status :: 4 - Beta",
|
|
@@ -113,9 +113,9 @@ def check_template(template: ThtmlTemplate) -> None:
|
|
|
113
113
|
_bindings.check_thtml_template(_validate_template(template, "check_template"))
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
def format_template(template: ThtmlTemplate) -> str:
|
|
116
|
+
def format_template(template: ThtmlTemplate, *, line_length: int = 80) -> str:
|
|
117
117
|
checked = _validate_template(template, "format_template")
|
|
118
|
-
return _bindings.format_thtml_template(checked)
|
|
118
|
+
return _bindings.format_thtml_template(checked, line_length=line_length)
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def compile_template(template: ThtmlTemplate) -> CompiledThtmlTemplate:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|