Xul


NameXul JSON
Version 2.5.1 PyPI version JSON
download
home_pagehttps://xul.readthedocs.io
SummaryXML (XPath, XSD, XSLT) Utilities
upload_time2024-12-26 07:52:02
maintainerNone
docs_urlNone
authorPeter Adrichem
requires_python!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
licenseMIT
keywords xml xpath xslt xsd dtd xml schema relax ng rng
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ====================
Xul -- XML Utilities
====================

.. image:: https://img.shields.io/pypi/pyversions/xul.svg
   :target: https://pypi.org/project/Xul/
   :alt: Python versions

.. image:: https://img.shields.io/pypi/l/xul.svg
   :target: https://pypi.org/project/Xul/
   :alt: License

.. image:: https://img.shields.io/pypi/v/xul
   :target: https://pypi.org/project/Xul/
   :alt: PyPI version

.. image:: https://img.shields.io/pypi/wheel/xul.svg
   :target: https://pypi.org/project/Xul/
   :alt: Wheel

.. image:: https://readthedocs.org/projects/xul/badge/
   :target: https://xul.readthedocs.io/en/stable/
   :alt: Documentation

Xul is a set of XML scripts written in Python.
Documentation can be found on `Read The Docs`_.


Xul scripts
===========

- ``ppx``: pretty print XML
- ``xp``: select XML nodes with XPath
- ``transform``: transform XML with XSLT
- ``validate``: validate XML with XSD, DTD or RELAX NG

Installation
------------
Xul command line scripts can be installed with **pip**:

.. code:: text

        $ pip install Xul

Install Pygments_ for XML syntax highlighting (optional).

.. code:: text

        $ pip install Xul[syntax]

Dependencies
------------
Xul uses the excellent lxml_ XML toolkit, a Pythonic binding for the C libraries
libxml2_ and libxslt_.

Options
-------
List the command-line options of a Xul script with ``--help``.
For example:

.. code::

   $ ppx --help

   usage: ppx [-h] [-V] [-n] [-o] [xml_source [xml_source ...]]

   Pretty Print XML source in human readable form.

   positional arguments:
   xml_source            XML source (file, <stdin>, http://...)

   optional arguments:
   -h, --help            show this help message and exit
   -V, --version         show program's version number and exit
   -n, --no-syntax       no syntax highlighting
   -o, --omit-declaration
                         omit the XML declaration

Documentation
=============
Xul documentation can be found on `Read The Docs`_.

W3C standards
-------------
- `Extensible Markup Language (XML) 1.0 <https://www.w3.org/TR/xml/>`_
- `XML Schema 1.1 <https://www.w3.org/XML/Schema>`_
- `XSL Transformations (XSLT) 1.0 <https://www.w3.org/TR/xslt-10/>`_
- `XML Path Language (XPath) 1.0 <https://www.w3.org/TR/xpath-10/>`_
- `Namespaces in XML 1.0 <https://www.w3.org/TR/xml-names/>`_

Related
-------
- `Extensions to XSLT (EXSLT) <https://exslt.github.io/>`_
- `RELAX NG <https://relaxng.org/>`_


.. _Read The Docs: https://xul.readthedocs.io/
.. _lxml: https://lxml.de/
.. _libxml2: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/
.. _libxslt: https://gitlab.gnome.org/GNOME/libxslt/-/wikis/
.. _Pygments: https://pygments.org/



            

Raw data

            {
    "_id": null,
    "home_page": "https://xul.readthedocs.io",
    "name": "Xul",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
    "maintainer_email": null,
    "keywords": "xml, xpath, xslt, xsd, dtd, xml schema, relax ng, rng",
    "author": "Peter Adrichem",
    "author_email": "Peter.Adrichem@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3d/c2/37e728ce07d866b5219c3dc5cc01fd07734dd12d5ac7c6bffacbe8a95279/xul-2.5.1.tar.gz",
    "platform": "CPython",
    "description": "====================\nXul -- XML Utilities\n====================\n\n.. image:: https://img.shields.io/pypi/pyversions/xul.svg\n   :target: https://pypi.org/project/Xul/\n   :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/l/xul.svg\n   :target: https://pypi.org/project/Xul/\n   :alt: License\n\n.. image:: https://img.shields.io/pypi/v/xul\n   :target: https://pypi.org/project/Xul/\n   :alt: PyPI version\n\n.. image:: https://img.shields.io/pypi/wheel/xul.svg\n   :target: https://pypi.org/project/Xul/\n   :alt: Wheel\n\n.. image:: https://readthedocs.org/projects/xul/badge/\n   :target: https://xul.readthedocs.io/en/stable/\n   :alt: Documentation\n\nXul is a set of XML scripts written in Python.\nDocumentation can be found on `Read The Docs`_.\n\n\nXul scripts\n===========\n\n- ``ppx``: pretty print XML\n- ``xp``: select XML nodes with XPath\n- ``transform``: transform XML with XSLT\n- ``validate``: validate XML with XSD, DTD or RELAX NG\n\nInstallation\n------------\nXul command line scripts can be installed with **pip**:\n\n.. code:: text\n\n        $ pip install Xul\n\nInstall Pygments_ for XML syntax highlighting (optional).\n\n.. code:: text\n\n        $ pip install Xul[syntax]\n\nDependencies\n------------\nXul uses the excellent lxml_ XML toolkit, a Pythonic binding for the C libraries\nlibxml2_ and libxslt_.\n\nOptions\n-------\nList the command-line options of a Xul script with ``--help``.\nFor example:\n\n.. code::\n\n   $ ppx --help\n\n   usage: ppx [-h] [-V] [-n] [-o] [xml_source [xml_source ...]]\n\n   Pretty Print XML source in human readable form.\n\n   positional arguments:\n   xml_source            XML source (file, <stdin>, http://...)\n\n   optional arguments:\n   -h, --help            show this help message and exit\n   -V, --version         show program's version number and exit\n   -n, --no-syntax       no syntax highlighting\n   -o, --omit-declaration\n                         omit the XML declaration\n\nDocumentation\n=============\nXul documentation can be found on `Read The Docs`_.\n\nW3C standards\n-------------\n- `Extensible Markup Language (XML) 1.0 <https://www.w3.org/TR/xml/>`_\n- `XML Schema 1.1 <https://www.w3.org/XML/Schema>`_\n- `XSL Transformations (XSLT) 1.0 <https://www.w3.org/TR/xslt-10/>`_\n- `XML Path Language (XPath) 1.0 <https://www.w3.org/TR/xpath-10/>`_\n- `Namespaces in XML 1.0 <https://www.w3.org/TR/xml-names/>`_\n\nRelated\n-------\n- `Extensions to XSLT (EXSLT) <https://exslt.github.io/>`_\n- `RELAX NG <https://relaxng.org/>`_\n\n\n.. _Read The Docs: https://xul.readthedocs.io/\n.. _lxml: https://lxml.de/\n.. _libxml2: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/\n.. _libxslt: https://gitlab.gnome.org/GNOME/libxslt/-/wikis/\n.. _Pygments: https://pygments.org/\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "XML (XPath, XSD, XSLT) Utilities",
    "version": "2.5.1",
    "project_urls": {
        "Changelog": "https://xul.readthedocs.io/en/latest/changelog.html",
        "Documentation": "https://xul.readthedocs.io",
        "Homepage": "https://xul.readthedocs.io",
        "Source": "https://github.com/peteradrichem/Xul"
    },
    "split_keywords": [
        "xml",
        " xpath",
        " xslt",
        " xsd",
        " dtd",
        " xml schema",
        " relax ng",
        " rng"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9be0ac5242a487340291717acad8adb951a1a8f3ca14b155921e442ac898a5f",
                "md5": "f43eafce4b21844b96ad5f9f44c10006",
                "sha256": "7126caaff061a0729db5420eddf150a08f4ee7009855d9958689cdb46c6bc513"
            },
            "downloads": -1,
            "filename": "Xul-2.5.1-py2-none-any.whl",
            "has_sig": false,
            "md5_digest": "f43eafce4b21844b96ad5f9f44c10006",
            "packagetype": "bdist_wheel",
            "python_version": "py2",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
            "size": 21242,
            "upload_time": "2024-12-26T07:51:58",
            "upload_time_iso_8601": "2024-12-26T07:51:58.077489Z",
            "url": "https://files.pythonhosted.org/packages/d9/be/0ac5242a487340291717acad8adb951a1a8f3ca14b155921e442ac898a5f/Xul-2.5.1-py2-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f94aeec7f5a12351aabd4ef304d320c0939aaae0361b28ecc03d2d21ca208953",
                "md5": "c2d34e770f4f9ef8823d2de273a096dd",
                "sha256": "c1fb4ff5a45082a1b59191d8d51b6b7f30260f4b1dffb52a718a73715c353f80"
            },
            "downloads": -1,
            "filename": "Xul-2.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c2d34e770f4f9ef8823d2de273a096dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
            "size": 21243,
            "upload_time": "2024-12-26T07:52:00",
            "upload_time_iso_8601": "2024-12-26T07:52:00.512036Z",
            "url": "https://files.pythonhosted.org/packages/f9/4a/eec7f5a12351aabd4ef304d320c0939aaae0361b28ecc03d2d21ca208953/Xul-2.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3dc237e728ce07d866b5219c3dc5cc01fd07734dd12d5ac7c6bffacbe8a95279",
                "md5": "e4dca3e7459ef5c97b5ce07216c79750",
                "sha256": "fdb16e7ba92500629331813c63829aea8ed51a3e8c55d6c9d6d86bf25915fc4f"
            },
            "downloads": -1,
            "filename": "xul-2.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e4dca3e7459ef5c97b5ce07216c79750",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
            "size": 15819,
            "upload_time": "2024-12-26T07:52:02",
            "upload_time_iso_8601": "2024-12-26T07:52:02.687742Z",
            "url": "https://files.pythonhosted.org/packages/3d/c2/37e728ce07d866b5219c3dc5cc01fd07734dd12d5ac7c6bffacbe8a95279/xul-2.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-26 07:52:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "peteradrichem",
    "github_project": "Xul",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "xul"
}
        
Elapsed time: 0.35436s