xml to dictionary tool for python
Project description
xmlpydict 📑
Requirements
python 3.7+
Installation
To install xmlpydict, using pip:
pip install xmlpydict
Quickstart
>>> from xmlpydict import parse
>>> parse("<package><xmlpydict language='python'/></package>")
{'package': {'xmlpydict': {'@language': 'python'}}}
>>> parse("<person name='Matthew'>Hello!</person>")
{'person': {'@name': 'Matthew', '#text': 'Hello!'}}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xmlpydict-0.0.6.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for xmlpydict-0.0.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecaa5c71f9fc9f65918b03ce577bf885b21023acfd0fb72c27379d9c0f67291b |
|
MD5 | 83b70fc1025e3f1f4d04958b8581d8ec |
|
BLAKE2b-256 | 4c83b9024b000bb538fc1a4f0241c5c0d18dd8e73bde0ebcbf60e012c89a6313 |