Functions for generating XML/HTML
Project description
xmlist
xmlist
is a module for generating XML, which it represents by lists and tuples.
using xmlist
xml = xmlist.serialize(['html',
('xmlns', 'http://www.w3.org/1999/xhtml'),
['head', ['title', 'Hello, world!']],
['body',
['h1', 'Hello, world!'],
['p', 'xmlist is a module for generating XML']]])
hacking on xmlist
[assuming the setup_requires and test_requires are already installed with pip --user
]
virtualenv --python=python2.7 --system-site-packages env27 ;
env27/bin/pip2 install --editable .
testing xmlist
env27/bin/python -B setup.py -q test
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
xmlist-1.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file xmlist-1.0.tar.gz
.
File metadata
- Download URL: xmlist-1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 196a83c73b5279d75cde5d5ea13ee52221fc2b85c7ec1b8bc474f8fa06623a08 |
|
MD5 | fe0779b75c2380f62540a3cff1a13d8f |
|
BLAKE2b-256 | 9f415e52bb84c3805bca9df1383b7f6e95033d2d753251f5ad7095205cbfbddd |
File details
Details for the file xmlist-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: xmlist-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9764542c91910f7b93e2d7812cc7baaea1ac20eb4548a3a120f44136fd5a42dd |
|
MD5 | 55f549d3cba7160b7656ee573f243513 |
|
BLAKE2b-256 | df202959e1bfb21452f11c8a2412208692d66a5b1b7a49d1caac38c868ded7d5 |