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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file templatekit-0.1.1.tar.gz.

File metadata

  • Download URL: templatekit-0.1.1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0a4+

File hashes

Hashes for templatekit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e1e3864644ce490ab550f13495a3db69864a770c2a2e7181682752a70cfe228
MD5 edc7a7d899d22caa3469f6fb42102c65
BLAKE2b-256 cec549d976e5371832e8f3a98c89627e16ecb7962a017326ad50f772e74cbf78

See more details on using hashes here.

File details

Details for the file templatekit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: templatekit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0a4+

File hashes

Hashes for templatekit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d80b1b2296e279eaf032163c1774a22605dd0eba5ebe0bfb69cfd8f869a6e3
MD5 d1b83329449fd191d82901f1c618b644
BLAKE2b-256 e373d9cf3f659c59d77385cad691d87831716bbf253d42aa5622a7bcafac42b8

See more details on using hashes here.

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