Interpolate variables and set Copier Jinja context
Project description
Whiteprints template context
Table of contents
Background
This package is an internal dependencies of Whiteprints template. It uses Jinja2 extentions to prepare Copier. It also defines useful Jinja filters.
Usage
To activate the template just add the following to copier.yml:
_jinja_extensions:
- whiteprints_template_context.context.ContextUpdater
- whiteprints_template_context.filters.WhiteprintsFilters
This will enhance copier's context with additional variables and filters that are required by Whiteprints templates.
Install
See INSTALL.md.
Maintainers
See MAINTAINERS.md.
Contributing
See CONTRIBUTING.md.
Licensing
The Python code of this project is distributed under license MIT.
In case of doubt, please check the SPDX header of each individual source code 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
Built Distribution
File details
Details for the file whiteprints_template_context-0.3.0.tar.gz
.
File metadata
- Download URL: whiteprints_template_context-0.3.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e67c3e3d8496b628f838fc1f4a6d34c35a785e442485a1420c6216ffd19e762e |
|
MD5 | a50fc77ece2c0a3066fa173f25d8b6a2 |
|
BLAKE2b-256 | 56fb8498508eb141fd664aa11240b069103014ed9fbceac7205aca18519f06d1 |
Provenance
The following attestation bundles were made for whiteprints_template_context-0.3.0.tar.gz
:
Publisher:
publish_pypi.yml
on whiteprints/whiteprints-template-context
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
whiteprints_template_context-0.3.0.tar.gz
- Subject digest:
e67c3e3d8496b628f838fc1f4a6d34c35a785e442485a1420c6216ffd19e762e
- Sigstore transparency entry: 148659400
- Sigstore integration time:
- Predicate type:
File details
Details for the file whiteprints_template_context-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: whiteprints_template_context-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a444d75ea967b93942c4f83d9441f30fa53e29364e2c96f31fb32b754a0a83 |
|
MD5 | 45082454bfb04b150ca71b2b7627dcb4 |
|
BLAKE2b-256 | d376eab34cd69c409417928a6b93ec5432232ea05ac581693cd4e4730c91d6e8 |
Provenance
The following attestation bundles were made for whiteprints_template_context-0.3.0-py3-none-any.whl
:
Publisher:
publish_pypi.yml
on whiteprints/whiteprints-template-context
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
whiteprints_template_context-0.3.0-py3-none-any.whl
- Subject digest:
d0a444d75ea967b93942c4f83d9441f30fa53e29364e2c96f31fb32b754a0a83
- Sigstore transparency entry: 148659406
- Sigstore integration time:
- Predicate type: