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
File details
Details for the file templatekit-0.2.0a1.tar.gz
.
File metadata
- Download URL: templatekit-0.2.0a1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0a4+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee83d9a51a835fd5652e843669478e59b733222054f7e488f571372b6fb54f4 |
|
MD5 | 22af6af53f63bda8252cb4eb82b1935b |
|
BLAKE2b-256 | 66f3adee6e48f3a3b48dfe8e4fe17f07c5d13d0c5dac2e42c3c7927aa34403d3 |
File details
Details for the file templatekit-0.2.0a1-py3-none-any.whl
.
File metadata
- Download URL: templatekit-0.2.0a1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0a4+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3d2b8b3fbb885708e6e3abf1e4dd3fc1cbbf6889b1cb6defe26ef0dc138477 |
|
MD5 | 611de41cdedbcaa2f45f5d59446cc1f1 |
|
BLAKE2b-256 | 48506c9bde9bfd0acc0acdc415715be0436177187434c32700e26f2ca5ac35a9 |