Placeholdr is a flexible and powerful Python template engine for dynamic substitution of values in templates.
Project description
Placeholdr
Placeholdr is a robust and versatile Python library designed to facilitate seamless integration of placeholders within templates and their subsequent substitution with dynamic values. With its intuitive syntax and extensive feature set, Placeholdr empowers developers to craft dynamic and tailor-made templates for a wide range of web applications.
Key Features
Placeholdr comes packed with a variety of features to enhance your template creation and management:
- Variable Substitution: Support for various syntaxes like
{{ variable }}
,[[ variable ]]
,< variable >
, etc. - Template Inheritance: Efficiently manage templates with
{% block block_name %}
and{% endblock %}
tags. - Includes: Easily include external templates using
{% include "path/to/template" %}
. - Control Structures: Intuitive control structures including
{% if condition %}
,{% endif %}
,{% for item in iterable %}
, and{% endfor %}
. - Filters: Apply filters within templates for variable manipulation (e.g.,
{{ variable | filter_name }}
). - HTML Auto-Escaping: Automatically escape HTML special characters to enhance security.
Contribute
The library is in its early stages of development, and we are continuously working to add more features and improve its functionality. We welcome feedback and contributions from the community.
For upcoming documentation, examples, and updates, keep an eye on Placeholdr's GitHub repository: https://github.com/Dcohen52/Placeholdr.
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
Built Distribution
File details
Details for the file Placeholdr-0.0.6.tar.gz
.
File metadata
- Download URL: Placeholdr-0.0.6.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcbe2938593e8c23c87cd4cc816638a7def5934a42a5b7826161035604debd0c |
|
MD5 | 8fa9a5b986163f94b88ebfdd6cdfd6f9 |
|
BLAKE2b-256 | fd81ab8f2952b40dcf48031e48d81953888dbead82557b792b5dc295ce170b09 |
File details
Details for the file Placeholdr-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: Placeholdr-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6526f06318f8b3da6cf23710a26324261c69093895975d550540b628658f00 |
|
MD5 | 12d3596d2639368b8a368e7bbbd5a68f |
|
BLAKE2b-256 | 5f29ae83b5d552b3fa17fb207e9ac89f1a75283401e2e48f23a9ea6d1ddfab95 |