Generates XML, represented as lists and tuples
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xmlist-1.2.2.tar.gz.
File metadata
- Download URL: xmlist-1.2.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b17c6b9a4b8739e81b899af96110d8bc0dd824ea579a22af4444038f833f0d0
|
|
| MD5 |
15984bba90a83cf8dd004459abda081a
|
|
| BLAKE2b-256 |
b3bf3f3fa3398f3c97fa7f9d6b9fe47f4ff070673afd3a5c722ba9fb1a6f0575
|
Provenance
The following attestation bundles were made for xmlist-1.2.2.tar.gz:
Publisher:
gitlab-ci.yml on j0057-git/python/xmlist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmlist-1.2.2.tar.gz -
Subject digest:
9b17c6b9a4b8739e81b899af96110d8bc0dd824ea579a22af4444038f833f0d0 - Sigstore transparency entry: 936716259
- Sigstore integration time:
-
Permalink:
j0057-git/python/xmlist@e77beedf95b860b604e87ac2f824958e9949c0bd -
Branch / Tag:
refs/tags/1.2.2 - Owner: https://gitlab.com/j0057-git/python
-
Access:
public
-
Token Issuer:
https://gitlab.com -
Runner Environment:
gitlab-hosted -
Publication workflow:
gitlab-ci.yml@e77beedf95b860b604e87ac2f824958e9949c0bd -
Trigger Event:
push
-
Statement type:
File details
Details for the file xmlist-1.2.2-py3-none-any.whl.
File metadata
- Download URL: xmlist-1.2.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b93ba049599638c738adb824527b85ec47070f087b57e895b2707c4d3c97a407
|
|
| MD5 |
2fc67c2b7b0b566d3597f366baa50342
|
|
| BLAKE2b-256 |
a7b31dbbc9aa06a259e4068a9ec5fae095bd40f8c4ca3bd1695e27e0c945d5c3
|
Provenance
The following attestation bundles were made for xmlist-1.2.2-py3-none-any.whl:
Publisher:
gitlab-ci.yml on j0057-git/python/xmlist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmlist-1.2.2-py3-none-any.whl -
Subject digest:
b93ba049599638c738adb824527b85ec47070f087b57e895b2707c4d3c97a407 - Sigstore transparency entry: 936716248
- Sigstore integration time:
-
Permalink:
j0057-git/python/xmlist@e77beedf95b860b604e87ac2f824958e9949c0bd -
Branch / Tag:
refs/tags/1.2.2 - Owner: https://gitlab.com/j0057-git/python
-
Access:
public
-
Token Issuer:
https://gitlab.com -
Runner Environment:
gitlab-hosted -
Publication workflow:
gitlab-ci.yml@e77beedf95b860b604e87ac2f824958e9949c0bd -
Trigger Event:
push
-
Statement type: