Skip to main content

Interpolate variables and set Copier Jinja context

Project description

Whiteprints template context

Whiteprints template context banner

Interpolate variables and set Copier Jinja context

PyPI - Python Version PyPI - Project Version license badge GitHub Discussions SPDX Licensing contributor covenant badge codecov badge

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

whiteprints_template_context-0.3.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whiteprints_template_context-0.3.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file whiteprints_template_context-0.3.1.tar.gz.

File metadata

File hashes

Hashes for whiteprints_template_context-0.3.1.tar.gz
Algorithm Hash digest
SHA256 4f0ebedd93fa7b96db705c4be8fb14f40e6e3332b7c2df72e1b9e7d821397096
MD5 f5f2f2f26223bbdda662e090e5ea714f
BLAKE2b-256 9f5d2d86ac21c90f34bfbf2308e25b78904f270893a01f012b47434a53565b4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for whiteprints_template_context-0.3.1.tar.gz:

Publisher: publish_pypi.yml on whiteprints/whiteprints-template-context

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file whiteprints_template_context-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for whiteprints_template_context-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15d3b32088ce57e360aa77f8a00f5daae62e06c43011bbac3f203c619ea708c7
MD5 5054fcb2b7b8bc4540af2e0417018935
BLAKE2b-256 568e61a141b2090b0643579b24c3bb90e36c98c5349fb3030bb5bf927042aedc

See more details on using hashes here.

Provenance

The following attestation bundles were made for whiteprints_template_context-0.3.1-py3-none-any.whl:

Publisher: publish_pypi.yml on whiteprints/whiteprints-template-context

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page