Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.
/ xmlstarlet Public archive

XMLStarlet Toolkit: Python CFFI bindings

License

Notifications You must be signed in to change notification settings

dimitern/xmlstarlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4014793 · Feb 7, 2023
Feb 7, 2023
Jul 30, 2022
Oct 4, 2020
Jul 31, 2022
Oct 29, 2019
Oct 4, 2020
Sep 29, 2020
Oct 29, 2019
Apr 30, 2022
Jul 31, 2022
Oct 29, 2019
Oct 4, 2020
Dec 16, 2020
Oct 3, 2022
Nov 28, 2022
Jul 30, 2022
Jul 30, 2022
Jul 30, 2022
Apr 30, 2022
Jul 31, 2022

Repository files navigation

XMLStarlet CFFI

cibuildwheel Documentation Status

XMLStarlet Toolkit: Python CFFI bindings

Features

Supports all XMLStarlet commands from Python, just import xmlstarlet:

  • edit(*args): Edit/Update XML document(s)
  • select(*args): Select data or query XML document(s) (XPATH, etc)
  • transform(*args): Transform XML document(s) using XSLT
  • validate(*args): Validate XML document(s) (well-formed/DTD/XSD/RelaxNG)
  • format(*args): Format XML document(s)
  • elements(*args): Display element structure of XML document
  • canonicalize(*args): XML canonicalization
  • listdir(*args): List directory as XML (NOT supported on Windows)
  • escape(*args): Escape special XML characters
  • unescape(*args): Unescape special XML characters
  • pyx(*args): Convert XML into PYX format (based on ESIS - ISO 8879)
  • depyx(*args): Convert PYX into XML

For some examples, have a look at tests/test_xmlstarlet.py.

Credits

Kudos to XMLStarlet and its maintainers and users (original sources on SourceForge)!

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Binary wheels built via GitHub Actions by cibuildwheel