Skip to main content

DirTempl

DirTempl templates a whole directory, letting you swap out individual snippets for the contents of files in the snippets directory.

Install

DirTempl is typically best installed by installing pipx and then installing dirtempl using pipx.

pipx install dirtempl

Example Usage

dirtempl input/ snippets/ output/

Anything in input folder containing {{{{ my_snippet }}}} will replace the contents with the corresponding file in snippets/ - e.g. my_snippet.

Why not use jinja2?

Too complicated.

Metadata

Release files for dirtempl 0.1.3

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

Source distribution (sdist)

Source distribution for dirtempl 0.1.3
File Size Uploaded Provenance Actions
dirtempl-0.1.3.tar.gz 10.1 kB Without provenance Details for dirtempl-0.1.3.tar.gz

Release files / dirtempl-0.1.3.tar.gz

Download URL dirtempl-0.1.3.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6a62260d42342470c27f5d53db6cf80fca70448e1f9fd946b0bb1c8e8fb43001
BLAKE2b-256 checksum
How to use checksums
18e7efb422b8cc13988c99cb78232f5dd0893d9505d244649443b96967e5bda5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/3.10.0 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

Security for dirtempl 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.

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