Skip to main content

No project description provided

Project description

This is for xml

xml thing lol this was made for the module hxml

Here is the code for this module

class init:
    def __init__(self) -> None:
        pass

    def _get_data_recursive(self, element):
        if len(element) == 0:
            return element.text.strip() if element.text else None
        else:
            data = {}
            for child in element:
                data[child.tag] = self._get_data_recursive(child)
            return data

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

File details

Details for the file hollos_get_data_recursive-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hollos_get_data_recursive-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a77ae4f99ca129532fcc51c5cc3ae5f82700978f820a112ae9cd0fa596e304e9
MD5 f9d5fa7da95bbcb4b60018e44348de94
BLAKE2b-256 ef3051f805b8c3df88cb3c7e4e30b7767e75f69d8d775c5ef9408149c5c7225f

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