jeyroik / df-templates
There is no license information available for the latest version (0.1.1) of this package.
Templates fot DF
0.1.1
2023-08-24 17:50 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2026-02-24 23:17:04 UTC
README
df-templates
Templates for DF
Provide interfaces and helper classes for templating anything for applications and it's parameters.
usage
Templating consists of two stages:
- Preparing data for template.
- Making template.
The library provides several tools to help you with these tasks:
IWithTemplateentity.- Supports application name for filtering templates.
- Supports params names for filtering.
with_templatesstorage.ITemplateServicefor getting templates.IContexthelps clarify the current context and desired results.- Stages for making templates based on the context.
So to get started with templating using df-templates, you will need:
IWithTemplateentity.- A dispatcher for preparing data for the template.
- A plugin for making the template.
For more detailed usage instructions, please see the tests provided with the library.