Skip to main content

Jinja-style templater using fmf metadata

Project description

FMF-Jinja

CI Status Codecov Status

Documentation Status

Jinja templating engine using fmf metadata.

Concept

The scope of this project is to take a templated folder and generate multiple output folders with relation to one another. Consider the following fmf file example in example/minimal:

var1: 42
var2: Default value

/rootA:
/rootB:
  var2: Overwritten

This is interpreted by fmf as:

$ fmf show --path example/minimal
/rootA
var1: 42
var2: Default value

/rootB
var1: 42
var2: Overwritten

These variables (var1, var2) are then used as variables inside a jinja template creating templated folders under rootA and rootB with their respective values. Try it out by running

$ fmf-jinja -r example/minimal generate -o /path/to/some/output/folder

To appreciate the full capabilities see the fmf features and jinja template guide. Also check the online documentation for more examples and detailed usage guide.

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

fmf_jinja-0.1.0.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

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

fmf_jinja-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file fmf_jinja-0.1.0.tar.gz.

File metadata

  • Download URL: fmf_jinja-0.1.0.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fmf_jinja-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd5403f12283cb7dfb6bea04a2474277d798ba6149cf38143258d1525073dd57
MD5 e11e71a92b80f199ab4a62b36e8f28dc
BLAKE2b-256 5f814e7acc435f4f9049a398cee3d2fce15210dc614dbfdad06a03e8d0cca92c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmf_jinja-0.1.0.tar.gz:

Publisher: release.yaml on LecrisUT/fmf-jinja

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

File details

Details for the file fmf_jinja-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fmf_jinja-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fmf_jinja-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82a04e8f47a34ccb0385f294068d52ea16f37ab15265bebf5b8c78fa013f0bae
MD5 c734deb32a24021a8f8968928d713bec
BLAKE2b-256 a015dd9d98ec053a71cd356253b42d484a9bbae077b4cd12a35f9c1a36e4b33b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmf_jinja-0.1.0-py3-none-any.whl:

Publisher: release.yaml on LecrisUT/fmf-jinja

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