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

Backwards-incompatible Changes

  • Support for Python 3.10 has been removed.

  • Upgrade to version 26.1.0 of jinjanator-plugins.


→ Full Changelog

Metadata

Release files for jinjanator-plugin-format-xml 26.1.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.1.0
File Size Uploaded
jinjanator_plugin_format_xml-26.1.0.tar.gz 9.3 kB Details

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / jinjanator_plugin_format_xml-26.1.0.tar.gz

Download URL jinjanator_plugin_format_xml-26.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
29c8a783813536465c43927f170739ed22c039a2c8011e20111ec524b5e6e541
BLAKE2b-256 checksum
How to use checksums
7827aa8db5badce123d3a3114da39771d31fa2ae567a39f8110b82dda88b1a8a
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 12, 2026.

Transparency log

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

Download URL jinjanator_plugin_format_xml-26.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7d9f61279075e27c9da55b1fa7a8e8755aaeab112765552170f2aca88f91197
BLAKE2b-256 checksum
How to use checksums
ccb5c54246af5cbf76bb08ebc5351eadbf515d3b1b4eac2236ec69f584f0b84f
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 12, 2026.

Transparency log

Release history Release notifications | RSS feed

26.2.0

2 release files

This release

26.1.0 This release

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