Template a whole directory
Project description
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.
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
dirtempl-0.1.2.tar.gz
(10.0 kB
view details)
File details
Details for the file dirtempl-0.1.2.tar.gz
.
File metadata
- Download URL: dirtempl-0.1.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ee7d1faf88f29e70d9ad176c52233605feed6afaa8502b0ed1004502ede601 |
|
MD5 | fbcfff1a1f0d34eca1630f25b499db88 |
|
BLAKE2b-256 | e23869a8fc10a8067aa179937dcc4c66b91e15a0290c6356d76a4eb71fec131c |