Skip to main content

jinjanator-plugin-format-xml: Provides XML format (data input) support for jinjanator

This plugin allows jinjanator to parse XML data for processing in templates. The format can be selected using --format xml or autoselected by using a data file with a name ending with .xml.

Installation

pip install jinjanator-plugin-format-xml

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 an XML file with the data, nginx.xml:

<nginx>
  <hostname>
    localhost
  </hostname>
  <webroot>
    /var/www/project
  </webroot>
</nginx>

This is how you render it into a working configuration file:

$ jinjanate nginx.j2 nginx.xml > nginx.conf

Options

  • process-namespaces: configures the XML parser to replace namespace references in element names with the corresponding namespaces from xmlns attributes in the top-level element in the document.

Release Information

Additions

  • Added support for Python 3.15.

Changes

  • Update to version 26.2.0 of jinjanator-plugins.

→ Full Changelog

Metadata

Release files for jinjanator-plugin-format-xml 26.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jinjanator-plugin-format-xml 26.2.0
File Size Uploaded
jinjanator_plugin_format_xml-26.2.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jinjanator-plugin-format-xml 26.2.0
File Interpreter ABI Platform
jinjanator_plugin_format_xml-26.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / jinjanator_plugin_format_xml-26.2.0.tar.gz

Download URL jinjanator_plugin_format_xml-26.2.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
43df8565b766b0a164d3ef9609ab270c36374ec223094dcc442528a63ed1da31
BLAKE2b-256 checksum
How to use checksums
9cdb1d79c7dac5bed2bd10ba98df35a2b80459bcad645950bbfb8f1de24781ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / jinjanator_plugin_format_xml-26.2.0-py3-none-any.whl

Download URL jinjanator_plugin_format_xml-26.2.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
575d04c2201e10f19cdc04ffdc0326ce2af82843818ac7db570f9899bf3e3b70
BLAKE2b-256 checksum
How to use checksums
180ab8dc833ebe46a0dd617ba75ae633968911f4e13169485138bb8d77675321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.2.0 This release

2 release files

26.1.0

2 release files

25.1.0

2 release files

24.2.0

2 release files

24.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page