You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ pip install tstr
29
29
-`convert`: Apply conversion to a value.
30
30
-`template_eq`: Check if two templates are equivalent.
31
31
-`interpolation_replace`: Create a new `Interpolation` by selectively replacing attributes of an existing one.
32
+
-`dedent`: `textwrap.dedent` for template strings
33
+
-`template_from_parts`: Construct template strings from iterable
32
34
33
35
This library also provides several useful extensions where template strings can be effectively utilized.
34
36
These extensions are available in the `tstr.ext` submodule, and below is a list with brief descriptions:
@@ -48,17 +50,18 @@ For more details, see the [API documentation](/docs/api.md).
48
50
49
51
Use the `TEMPLATE_STRING_SUPPORTED` constant to check if template strings are natively supported in your Python version.
50
52
51
-
For details on how the compatible backport of template string works and what similarities and differences it has with native template strings, see the [compatible template strings](docs/compat.md) documentation.
53
+
For details on how the compatible backport of template string works and what similarities and differences it has with native template strings, see the [compatible template strings](/docs/compat.md) documentation.
52
54
53
55
# Contributing
54
56
55
57
This project welcomes contributions of all kinds from anyone willing to help improve it! Whether you're fixing a typo in documentation, reporting a bug, proposing a new feature, or implementing code changes - every contribution matters and is highly appreciated.
56
58
57
59
## Releases
58
60
61
+
* 0.3.0: Revamp various things
59
62
* 0.2.0: Rename html_render to render_html, add `_logging` module, fix various bugs and improve documentation
60
63
* 0.1.1.post1: Initial release
61
64
62
65
## License
63
66
64
-
This library is licensed under the Apache License 2.0.
67
+
This library is licensed under the Apache License 2.0.
0 commit comments