xmlist


Namexmlist JSON
Version 1.2 PyPI version JSON
download
home_pageNone
SummaryGenerates XML, represented as lists and tuples
upload_time2025-08-26 12:00:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords xml html
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # xmlist

`xmlist` is a module for generating XML, which it represents by lists and
tuples.

## using xmlist

    doc = ['html',
        ('xmlns', 'http://www.w3.org/1999/xhtml'),
        ['head', ['title', 'Hello, world!']],
        ['body',
            ['h1', 'Hello, world!'],
            ['p', 'xmlist is a module for generating XML']]]
    xml = xmlist.serialize(doc)

## hacking on xmlist

Create a venv and install the package with the `-e`/`--editable` flag. The
`dev` group pulls in requirements for setuptools, tox and various pytest
packages.

    python -m venv .venv
    python -m pip install -e . --group dev

## testing xmlist

Running the tests for your current Python:

    python -m pytest -v

Running the tests in other Pythons:

    python -m tox

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "xmlist",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "xml, html",
    "author": null,
    "author_email": "Joost Molenaar <jjm@j0057.nl>",
    "download_url": "https://files.pythonhosted.org/packages/55/21/24b95713f0a35910db18d07281e36cc80b01551d2553901c7bd412a0fc1e/xmlist-1.2.tar.gz",
    "platform": null,
    "description": "# xmlist\n\n`xmlist` is a module for generating XML, which it represents by lists and\ntuples.\n\n## using xmlist\n\n    doc = ['html',\n        ('xmlns', 'http://www.w3.org/1999/xhtml'),\n        ['head', ['title', 'Hello, world!']],\n        ['body',\n            ['h1', 'Hello, world!'],\n            ['p', 'xmlist is a module for generating XML']]]\n    xml = xmlist.serialize(doc)\n\n## hacking on xmlist\n\nCreate a venv and install the package with the `-e`/`--editable` flag. The\n`dev` group pulls in requirements for setuptools, tox and various pytest\npackages.\n\n    python -m venv .venv\n    python -m pip install -e . --group dev\n\n## testing xmlist\n\nRunning the tests for your current Python:\n\n    python -m pytest -v\n\nRunning the tests in other Pythons:\n\n    python -m tox\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Generates XML, represented as lists and tuples",
    "version": "1.2",
    "project_urls": {
        "issues": "https://gitlab.com/j0057-git/python/xmlist/-/issues",
        "repository": "https://gitlab.com/j0057-git/python/xmlist"
    },
    "split_keywords": [
        "xml",
        " html"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d2e6e0ce1a1eb7a9327e01e9a790e43c64bc658e0f004366cfcbac9395981236",
                "md5": "2c0aae8de9cd28e52a229fbf4812e287",
                "sha256": "36ec3ec79ed9a48c5480078de805ca11693a4be35e60f57360a21be721a805a7"
            },
            "downloads": -1,
            "filename": "xmlist-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2c0aae8de9cd28e52a229fbf4812e287",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4214,
            "upload_time": "2025-08-26T11:59:59",
            "upload_time_iso_8601": "2025-08-26T11:59:59.678028Z",
            "url": "https://files.pythonhosted.org/packages/d2/e6/e0ce1a1eb7a9327e01e9a790e43c64bc658e0f004366cfcbac9395981236/xmlist-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "552124b95713f0a35910db18d07281e36cc80b01551d2553901c7bd412a0fc1e",
                "md5": "9e3242277b6a09ad6f77e82e00e693e8",
                "sha256": "6a87feb0f71018ff54cde78c1b363d1784b963d0e98c77ca43472839f1506270"
            },
            "downloads": -1,
            "filename": "xmlist-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9e3242277b6a09ad6f77e82e00e693e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 7720,
            "upload_time": "2025-08-26T12:00:00",
            "upload_time_iso_8601": "2025-08-26T12:00:00.901504Z",
            "url": "https://files.pythonhosted.org/packages/55/21/24b95713f0a35910db18d07281e36cc80b01551d2553901c7bd412a0fc1e/xmlist-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-26 12:00:00",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "j0057-git",
    "gitlab_project": "python",
    "lcname": "xmlist"
}
        
Elapsed time: 1.92900s