Skip to main content

temple - Templated project management

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

Metadata

Release files for temple 1.4.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for temple 1.4.8
File Size Uploaded
temple-1.4.8.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for temple 1.4.8
File Interpreter ABI Platform
temple-1.4.8-py3-none-any.whl Python 3 none any Details

Total release size: 62.7 kB

Release files / temple-1.4.8.tar.gz

Download URL temple-1.4.8.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4967cdf955538bddafb9b9645f82a1df457d4f6408f13ea2444a0dc8d7d05a98
BLAKE2b-256 checksum
How to use checksums
3aaa53bd9edc448e90fa5eb50eed661056bb79bb546ff10f73d8a1564fa11454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.8.3 requests/2.27.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.6.14

Release files / temple-1.4.8-py3-none-any.whl

Download URL temple-1.4.8-py3-none-any.whl
Size 28.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b81de3be3ccc3bf387e900a66d3b1b7e154d727400621cf4503c1a94b10b96a
BLAKE2b-256 checksum
How to use checksums
24d7bb257cd7c695dbfa4f3805b4b96f121724f5318a82ab948e4aea3838a794
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.8.3 requests/2.27.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.6.14

Release history Release notifications | RSS feed

This release

1.4.8 This release

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page