Skip to main content

xsltproc-py-lite

PyPI version Python versions License: MIT

A lightweight Python reimplementation of xsltproc, supporting basic XSLT 1.0 transformations using lxml.

🔗 View on PyPI
🔗 GitHub Repository


✨ Features

  • Apply XSLT 1.0 stylesheets to XML documents
  • Outputs to file or standard output
  • Zero-dependency CLI (except lxml)
  • Simple and familiar xsltproc-like usage

📦 Installation

You can install this package from PyPI:

pip install xsltproc-py-lite

🚀 Usage

xsltproc-py stylesheet.xsl input.xml -o output.xml

Arguments

Option Description
stylesheet.xsl Path to the XSLT file
input.xml Path to the input XML file
-o output.xml Output file path (default: stdout)

🛠 Example

Given:

example.xsl

<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <hello>World</hello>
  </xsl:template>
</xsl:stylesheet>

input.xml

<root/>

Run:

xsltproc-py example.xsl input.xml -o result.xml

Output:

<hello>World</hello>

⚠ Limitations

  • XSLT 1.0 only
  • Does not support parameters (e.g., --stringparam)
  • No support for chunking, profiling, or extensions

📄 License

This project is licensed under the MIT License.


Metadata

Release files for xsltproc-py-lite 0.1.2

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

Source distribution (sdist)

Source distribution for xsltproc-py-lite 0.1.2
File Size Uploaded Provenance Actions
xsltproc_py_lite-0.1.2.tar.gz 3.5 kB Without provenance Details for xsltproc_py_lite-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xsltproc-py-lite 0.1.2
File Interpreter ABI Platform Actions
xsltproc_py_lite-0.1.2-py3-none-any.whl Python 3 none any Details for xsltproc_py_lite-0.1.2-py3-none-any.whl

Total release size: 7.4 kB

Release files / xsltproc_py_lite-0.1.2.tar.gz

Download URL xsltproc_py_lite-0.1.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46b660ae073abce0a7f31ca738729a3c143e68799ffc9b4021d5806a51056840
BLAKE2b-256 checksum
How to use checksums
b74c90bb154170d2e5cb0415bedae5b2d22aca7296d83e8ae8d34b4b60fe39c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / xsltproc_py_lite-0.1.2-py3-none-any.whl

Download URL xsltproc_py_lite-0.1.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
777cc89afaff74a8fcdbb741f914c2d80c059c03b2c0e5bcc11c555a4c734380
BLAKE2b-256 checksum
How to use checksums
93ba360331170e10b7505c5099e87630c70860eb6295e8d9d9d8c6cb13f801de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for xsltproc-py-lite 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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