Skip to main content

Convert between XML String and Python Dict

Project description

# XML2Dict

XML2Dict is an open source python library, which used for converting python dict and XML type.

XML2Dict is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

XML2Dict is inspired from Chen Zheng’s [xml2dict](http://github.com/nkchenz/xml2dict/tree)

## Example

Please see source test case

## Attention

XML2Dict do not test for all cases now, if you find any bug please issue an report.

## Thanks Fix parse error when tag has empty content [snwilhelm](https://gist.github.com/1209773)

Fix MANIFEST.in syntax to avoid creating broken distributions; bump version to 0.2.2 [slinkp](https://github.com/mcspring/XML2Dict/pull/2)

Add custom coding support to parsexml(s, cls, coding) [yaodianmi](https://github.com/yaodianmi)

## About

XML2Dict is written by [Sprint Mc](https://github.com/mcspring).

And you can follow me on [Twitter](http://twitter.com/mcspring)!

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

XML2Dict-0.2.2.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file XML2Dict-0.2.2.tar.gz.

File metadata

  • Download URL: XML2Dict-0.2.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for XML2Dict-0.2.2.tar.gz
Algorithm Hash digest
SHA256 20e4b48926ba3537b57587496c46d2c96fc5cf5707a0bdd8a7b1368122e0e964
MD5 f984278d77902145ca483d87a892a67f
BLAKE2b-256 945d7ee47d1b0e976b55a49d331e328038adba21e3be28b8c2cb6abd2ac713f1

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