Skip to main content

Templated project management

Project description

Temple provides templated project creation and management.

The main functionality of temple includes:

  1. Creating new projects from cookiecutter templates.

  2. Listing all available templates under a github user / org along with all projects created from those templates.

  3. Keeping projects up to date with the template as it changes.

Documentation

View the temple docs here. A quick start and installation overview is provied below.

Installation

temple can be installed with:

pip3 install temple

Most temple functionality requires a GITHUB_API_TOKEN environment variable to be set. The Github API token is a personal token that you create by following the Github Access Token Instructions. This token only requires repo scope. Also remember to enable SSO for your token.

Quick Start

Projects are setup by temple with:

temple setup <git@github.com:user/cookiecutter-template.git>

Temple uses cookiecutter to gather user input and create the initial project scaffolding. cookiecutter hooks can be used to do additional project setup, such as publishing it to a remote Github repository or configuring continuous integration.

Once a project is set up and published to Github, temple-created projects can be listed with the temple ls command. temple ls <github_user_or_org> will list all available templates under a Github user or org. temple ls <github_user_or_org> <git@github.com:user/cookiecutter-template.git> will list all projects created using a particular template. Note that temple ls -l will print off descriptions of the returned repositories.

If a template is ever updated, changes can be pulled into a project with:

temple update

This will diff the changes in the new template and apply them to your repository. You will have to add and push these changes yourself. Note to lookout for “*.rej” files after updating. These are lines that could not automatically be applied to your repository, and you should look into them to see if they should be applied.

Note that temple update --check can be used to check if the project is up to date with the latest template.

Contributing Guide

For information on setting up temple for development and contributing changes, view CONTRIBUTING.rst.

Primary Authors

  • @wesleykendall (Wes Kendall)

  • @gwax (George Leslie-Waksman)

Other contributors can be found in the AUTHORS file

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

temple-1.4.7.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

temple-1.4.7-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file temple-1.4.7.tar.gz.

File metadata

  • Download URL: temple-1.4.7.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

File hashes

Hashes for temple-1.4.7.tar.gz
Algorithm Hash digest
SHA256 24c6b7003b56312e74f5d583025a7cb5ecb703d167025e26b3ba163fb4b7bc85
MD5 6bff410f20fc053256e6a6eb8a7ac7c5
BLAKE2b-256 3cf092f4d9768f9c6d8d0f8c985e100ab3717f618a6e335e40c8a40f4524dbb2

See more details on using hashes here.

File details

Details for the file temple-1.4.7-py3-none-any.whl.

File metadata

  • Download URL: temple-1.4.7-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

File hashes

Hashes for temple-1.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 76adc4b0fb8c681689f5291a5f02f2a2da399cbd976a19358360771af1a01c78
MD5 2e2bc1ee864b127a50aec44309530d72
BLAKE2b-256 68915bc3a00f66ce292d1aad47108a903291dd21ab0b55ef469439ce4854d562

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