Tookit for rendering LSST project templates.
Project description
Templatekit is a Python library and command-line app for using and maintaining a centralized repository of project and file templates. Templates are built with Cookiecutter and Jinja. https://github.com/lsst/templates is the primary repository that Templatekit is built for, but Templatekit can be used for other template repository projects.
Development
Clone Templatekit with test data (lsst/templates):
git clone --recursive-submodules https://github.com/lsst-sqre/templatekit
Install the package for development (do this in a virtual environment):
cd templatekit pip install -e ".[dev]"
Run tests:
pytest
You can also run tests without installing Templatekit first:
python setup.py test
Occasionally you may need to update the tests/data/templates submodule:
git submodule update --recursive
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for templatekit-0.1.1rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e4719408c411fd1b62652427f65358457433b76721af5dfbff1316a7b54ed2 |
|
MD5 | 99a494e3c3f77076ea9c3f91fda9f3a8 |
|
BLAKE2b-256 | 52bc31a4340da075fb7c42a6434e4e3b02b68a854dca091b3231638b93f4da55 |