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.2.0a2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

templatekit-0.2.0a2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file templatekit-0.2.0a2.tar.gz.

File metadata

  • Download URL: templatekit-0.2.0a2.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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0a4+

File hashes

Hashes for templatekit-0.2.0a2.tar.gz
Algorithm Hash digest
SHA256 9534816354892fa07efd1f3a9fa62982a076464cff6f2ec690c5b6ff6d7f328b
MD5 744ded1eb1c6dfeb2bb0f87ca72e5e79
BLAKE2b-256 8dec58b4eb65c0a152fa71c604ca5943a578d8851979c6f2315b9cd22488cd54

See more details on using hashes here.

File details

Details for the file templatekit-0.2.0a2-py3-none-any.whl.

File metadata

  • Download URL: templatekit-0.2.0a2-py3-none-any.whl
  • Upload date:
  • Size: 16.1 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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0a4+

File hashes

Hashes for templatekit-0.2.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0b21cdd4711362489900e90aafc338d883b50b3c85cefacc6f8c580818468fc
MD5 44ca59e3ca0092b62ab05787aa1aa9a2
BLAKE2b-256 cb9654ddb59d404a9c467bd9067007b99f4bf96ae90d4a0d08371e0ef4217f65

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