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.6.0.tar.gz (13.0 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.6.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for whiteprints_template_context-0.6.0.tar.gz
Algorithm Hash digest
SHA256 19ef7cc22d4b3388f6a2fa6abe3046a598fc4897952af0bf197353a3745b93fb
MD5 3ab80aaf90f6980db97d9fdf3badc54e
BLAKE2b-256 450f509e249aefaa6a8905387d1172f9957fa302a7026e1825ab496e3cc573db

See more details on using hashes here.

Provenance

The following attestation bundles were made for whiteprints_template_context-0.6.0.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.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for whiteprints_template_context-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3edccd8a80e57fb7d59954ee733571dd09a0475fa22095ac304b87b3560214a5
MD5 3e4909144eec5f609d805b5637aa6d0e
BLAKE2b-256 ff4372b8ebd6419e7d781d9f0bc74b5c67f8e99d93a5d7d6a1ccf9db9d46c577

See more details on using hashes here.

Provenance

The following attestation bundles were made for whiteprints_template_context-0.6.0-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