Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

XMLX - a simple and compact XML parser.

XMLX = XML eXtras

To initialize an element object from a string:

>>> xmlx.Element('<html>hello!</html>')

<html>..</html at 0x...>

If you prefer dictionaries, simply use xmlx.elemdict(text):

>>> xmlx.elemdict('<html>hello!</html>')

{'?':{},'@':'hello!','*':'<html>hello!</html>'}

? is the element’s attributes, @ is its content (JS innerHTML), and * is its text (JS outerHTML).

See help(xmlx) for further documentation.

Release files for xmlx 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xmlx 2.0.0
File Size Uploaded
xmlx-2.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xmlx 2.0.0
File Interpreter ABI Platform
xmlx-2.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.7 kB

Release files / xmlx-2.0.0.tar.gz

Download URL xmlx-2.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb5a2184e36a52cfbb1aba6b80b481c9f70c1629691e1fa5e7debab2f9a28fd4
BLAKE2b-256 checksum
How to use checksums
f0ca39b77c155682f4970722a2863f43dbe5f1892f10d4b8a06420b068fcc2bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xmlx-2.0.0-py2.py3-none-any.whl

Download URL xmlx-2.0.0-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bc6fac44dc2efca0f799981c637410976f744b8aec17ba644cb30fb9b5557399
BLAKE2b-256 checksum
How to use checksums
56d11ec7ca6527c5a268d42c08db3e97d511c368dc6c85c7c5cf4cc0a3b5cc08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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