Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

templatekit-0.1.1.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

templatekit-0.1.1-py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page