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.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c851b95183372b0a008c16be36ffcf4af277ccd12a4364958661a507ded4fe7 |
|
MD5 | fe41456ca6b3350902071a3811c4829c |
|
BLAKE2b-256 | dbb989fa676258543e2f490a1042c74ae5212cad7bd5a0d06a948dd86dc06b96 |