tempylate
tempylate is a pythonic template engine that is little, lightweight and fast.
Features:
- Full python syntax. So there is absolutely nothing to remember in the syntax.
- It runs in Python.
- Little, lightweight and fast. (No dependency)
- Inheriting layouts through template inheritance.
- Easy to use!
Installation
You can install it using pip.
$ pip install tempylate
Examples
Title
<title>^^ title ^^</title>
Members
<body>
<h1>^^ team.name ^^ members</h1>
<ul>
^^
"".join(
f'<li><a href="{ member.url }">{ member.name }</a></li>'
for member in team.members
)
^^
</ul>
</body>
Inheritance
^^
self.manager.render_from_file(
"blog_page_layout.html", title="My sixteenth birthday.",
content="""
<strong>Today is my birthday!</strong><br>
So give me a gift.
"""
)
^^
Documentation
You can view the UserGuide and API reference of tempylate here.
Contributing
Please see here.
License
tempylate is available under the MIT license.
Detail: LICENSE
Metadata
Release files for tempylate 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tempylate-0.1.3.tar.gz | 9.7 kB | Without provenance | Details for tempylate-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tempylate-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for tempylate-0.1.3-py3-none-any.whl |
Total release size: 20.2 kB
Release files / tempylate-0.1.3.tar.gz
| Download URL | tempylate-0.1.3.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca8d7759e67fd8a57fa397f22a1bc8badfea0900976022ff444fd73e4ef45ad
|
|
BLAKE2b-256 checksum How to use checksums |
5c4d053b8683cd8f010e79f5a6943e40e092b0acf72d330b09ce0ec2abdf98d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / tempylate-0.1.3-py3-none-any.whl
| Download URL | tempylate-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c9443d568c6bea56b3e5e43f6a63d51120cc32f20289f10cb18a71a1fc196b2
|
|
BLAKE2b-256 checksum How to use checksums |
b43c02d1df4af71752427eef5509b5bf57e8ca1360a5309c50749fd31a16df6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for tempylate 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.