Skip to main content

PyPI PyPI versions Code Style Downloads

Template Text Renderer - TTR

Module to produce text files using templates. Have a look in documentation for details or install from PyPi.

Why?

To simplify process of producing static text files out of templates.

Why you need TTR? How much time you spent generating configuration files steering in a computer screen, correcting mistakes, manually copying and pasting various parameters? If answer is hours, well..., TTR might be able to save you some time, probably around 70% of what you normally spend on composing text manually.

How?

Pluggable systems are great, they are expendable, adaptable, re-usable, plugins functionality self contained etc.

TTR is a pluggable framework that aims to implement this work flow:

load data -> process data -> load data models -> validate data -> load templates -> render (combine data with templates) -> get results

Where each step accompanied with a set of plugins to fulfill in the moment requirements.

What?

TTR is very general in terms of supported data and templates, providing space for numerous use cases.

One of such use-cases might be network devices configuration generation - take inventory (XLSX LLD or CSV spreadsheets or YAML or you name it), combine it with templates and find hundreds of lines of configuration generated in a matter of seconds.

Contribution

Feel free to submit an issue, report a bug or ask a question, feature requests are welcomed or buy Author a coffee

Metadata

Release files for py-ttr 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-ttr 0.4.0
File Size Uploaded
py-ttr-0.4.0.tar.gz 22.2 kB Details

Release files / py-ttr-0.4.0.tar.gz

Download URL py-ttr-0.4.0.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
282e45472dbf0dcac3a472e10fac2d7098ab326f93cda5593d3c69df09cccea9
BLAKE2b-256 checksum
How to use checksums
e3db1d7efe5fc8d5360db23526d4e1377548ae69ab03ff05a2703a1a12d91491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page