Plugin which provides TOML format (data input) support for jinjanator
Project description
jinjanator-plugin-format-toml: Provides TOML format (data input) support for jinjanator
This plugin allows jinjanator to parse TOML data for processing in
templates. The format can be selected using --format toml or
autoselected by using a data file with a name ending with .toml.
Installation
pip install jinjanator-plugin-format-toml
Usage
Suppose you have an NGINX configuration file template, nginx.j2:
server {
listen 80;
server_name {{ nginx.hostname }};
root {{ nginx.webroot }};
index index.htm;
}
And you have a TOML file with the data, nginx.toml:
[nginx]
hostname="localhost"
webroot="/var/www/project"
This is how you render it into a working configuration file:
$ jinjanate nginx.j2 nginx.toml > nginx.conf
Options
This format does not support any options.
Release Information
Backwards-incompatible Changes
-
Support for Python 3.9 has been removed, and support for Python 3.14 has been added. Since the minimum supported version is now 3.10, the code has been updated to use features introduced in that version.
-
Upgraded to version 25.1.0 of jinjanator-plugins.
Additions
- Added testing against Python 3.13 (again).
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jinjanator_plugin_format_toml-25.1.0.tar.gz.
File metadata
- Download URL: jinjanator_plugin_format_toml-25.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cf78a216d3db58b25d88db88df2872fe788cad2f7326fbff62b6a56fcc0d213
|
|
| MD5 |
0e3950279153803d2d95cb90a1570c42
|
|
| BLAKE2b-256 |
2c71684b2b7452acc204d2a135cc1073805e09ab55e3d58cb29c8efe32edb7de
|
Provenance
The following attestation bundles were made for jinjanator_plugin_format_toml-25.1.0.tar.gz:
Publisher:
pypi-package.yml on kpfleming/jinjanator-plugin-format-toml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jinjanator_plugin_format_toml-25.1.0.tar.gz -
Subject digest:
5cf78a216d3db58b25d88db88df2872fe788cad2f7326fbff62b6a56fcc0d213 - Sigstore transparency entry: 621363877
- Sigstore integration time:
-
Permalink:
kpfleming/jinjanator-plugin-format-toml@04a0f3f13b169bc719065948c0598b6243777106 -
Branch / Tag:
refs/tags/25.1.0 - Owner: https://github.com/kpfleming
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@04a0f3f13b169bc719065948c0598b6243777106 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jinjanator_plugin_format_toml-25.1.0-py3-none-any.whl.
File metadata
- Download URL: jinjanator_plugin_format_toml-25.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6213a54e1ec66a0e01218544697130f87186bbd8d2a37425052787a5de303f
|
|
| MD5 |
66bfb7d54d796a06e4a5becbd4547d7c
|
|
| BLAKE2b-256 |
90b99f145733051310b7a094c6c42dad9459c00bf3ae6a83b69934284f208579
|
Provenance
The following attestation bundles were made for jinjanator_plugin_format_toml-25.1.0-py3-none-any.whl:
Publisher:
pypi-package.yml on kpfleming/jinjanator-plugin-format-toml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jinjanator_plugin_format_toml-25.1.0-py3-none-any.whl -
Subject digest:
9c6213a54e1ec66a0e01218544697130f87186bbd8d2a37425052787a5de303f - Sigstore transparency entry: 621363879
- Sigstore integration time:
-
Permalink:
kpfleming/jinjanator-plugin-format-toml@04a0f3f13b169bc719065948c0598b6243777106 -
Branch / Tag:
refs/tags/25.1.0 - Owner: https://github.com/kpfleming
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@04a0f3f13b169bc719065948c0598b6243777106 -
Trigger Event:
release
-
Statement type: