# 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](https://pypa.github.io/pipx/)
and then installing dirtempl using pipx.
```bash
pipx install dirtempl
```
## Example Usage
```bash
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.
Raw data
{
"_id": null,
"home_page": "http://hitchdev.com/dirtempl/",
"name": "dirtempl",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "template directory",
"author": "Colm O'Connor",
"author_email": "colm.oconnor.github@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/18/e7/efb422b8cc13988c99cb78232f5dd0893d9505d244649443b96967e5bda5/dirtempl-0.1.3.tar.gz",
"platform": null,
"description": "# DirTempl\n\nDirTempl templates a whole directory, letting you swap out individual snippets\nfor the contents of files in the snippets directory.\n\n## Install\n\nDirTempl is typically best installed by installing [pipx](https://pypa.github.io/pipx/)\nand then installing dirtempl using pipx.\n\n```bash\npipx install dirtempl\n```\n\n## Example Usage\n\n```bash\ndirtempl input/ snippets/ output/\n```\n\nAnything in input folder containing {{{{ my_snippet }}}} will replace\nthe contents with the corresponding file in snippets/ - e.g. my_snippet.\n\n## Why not use jinja2?\n\nToo complicated.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Template a whole directory",
"version": "0.1.3",
"split_keywords": [
"template",
"directory"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "18e7efb422b8cc13988c99cb78232f5dd0893d9505d244649443b96967e5bda5",
"md5": "95c986e1ad914ddaaeb5aaecf80e01ae",
"sha256": "6a62260d42342470c27f5d53db6cf80fca70448e1f9fd946b0bb1c8e8fb43001"
},
"downloads": -1,
"filename": "dirtempl-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "95c986e1ad914ddaaeb5aaecf80e01ae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10050,
"upload_time": "2023-01-31T11:10:07",
"upload_time_iso_8601": "2023-01-31T11:10:07.607536Z",
"url": "https://files.pythonhosted.org/packages/18/e7/efb422b8cc13988c99cb78232f5dd0893d9505d244649443b96967e5bda5/dirtempl-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 11:10:07",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "dirtempl"
}