Skip to main content

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

Metadata

Release files for xmlist 1.2.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 xmlist 1.2.2
File Size Uploaded Provenance Actions
xmlist-1.2.2.tar.gz 7.8 kB With provenance Details for xmlist-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xmlist 1.2.2
File Interpreter ABI Platform Actions
xmlist-1.2.2-py3-none-any.whl Python 3 none any Details for xmlist-1.2.2-py3-none-any.whl

Total release size: 12.0 kB

Release files / xmlist-1.2.2.tar.gz

Download URL xmlist-1.2.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b17c6b9a4b8739e81b899af96110d8bc0dd824ea579a22af4444038f833f0d0
BLAKE2b-256 checksum
How to use checksums
b3bf3f3fa3398f3c97fa7f9d6b9fe47f4ff070673afd3a5c722ba9fb1a6f0575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.12.12

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 GitLab CI/CD, verified by PyPI on Feb 10, 2026.

Transparency log

Release files / xmlist-1.2.2-py3-none-any.whl

Download URL xmlist-1.2.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b93ba049599638c738adb824527b85ec47070f087b57e895b2707c4d3c97a407
BLAKE2b-256 checksum
How to use checksums
a7b31dbbc9aa06a259e4068a9ec5fae095bd40f8c4ca3bd1695e27e0c945d5c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.12.12

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 GitLab CI/CD, verified by PyPI on Feb 10, 2026.

Transparency log

Security for xmlist 1.2.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xmlist-1.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitLab CI/CD, verified by PyPI on Feb 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files Full provenance

0.0.0

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