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 details)
Built Distribution
File details
Details for the file xmlpydict-0.0.6.tar.gz
.
File metadata
- Download URL: xmlpydict-0.0.6.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcff93bf4eceb5975ab07ad4f2f181fc5937964551f9d73cb93aebc7f2d3ae47 |
|
MD5 | c5fa19819fe1f4aaf659363d5a0c9443 |
|
BLAKE2b-256 | 2bd7f613743a17278f9c4af14172330c37b04a09095251f1ff5b650e921e65a5 |
File details
Details for the file xmlpydict-0.0.6-cp310-cp310-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: xmlpydict-0.0.6-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 104.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecaa5c71f9fc9f65918b03ce577bf885b21023acfd0fb72c27379d9c0f67291b |
|
MD5 | 83b70fc1025e3f1f4d04958b8581d8ec |
|
BLAKE2b-256 | 4c83b9024b000bb538fc1a4f0241c5c0d18dd8e73bde0ebcbf60e012c89a6313 |