Skip to main content

No project description provided

Project description

hxml

hxml is a simple xml parser for Python 3.12

Examples

<!-- test.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<le_epic_xml>
    <name>Epic XML</name>
    <cool>
        <a>as</a>
        <b>you</b>
        <c>see</c>
        <d>it</d>
        <e>works!</e>
    </cool>
</le_epic_xml>
# epic_xml.py
from hxml import XML

xml = XML("test.xml").get_root_item("le_epic_xml")

print(xml) # output: {'name': 'Epic XML', 'cool': {'a': 'as', 'b': 'you', 'c': 'see', 'd': 'it', 'e': 'works!'}}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

hxml-0.0.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file hxml-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hxml-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for hxml-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c7096f415c3a9755286ad80047721768c9bb90bd02b6edd979aa8b271a8ff1c2
MD5 20601ab973ec524354ac251cbc4777a7
BLAKE2b-256 ed6d13bb81e29c05ea061f38730ad5452b290555ead98d9209da7b8d441246d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page