{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"}],"enrichment":{"capability":"Converts Python dictionaries into XML strings with configurable formatting, wrapping, and tag behavior.","skillfed_tags":["xml-serialization","data-conversion"],"use_cases":["Serialize application configuration dictionaries to XML for legacy systems or interoperability.","Convert API response data structures into XML format for downstream processing or storage.","Generate XML reports or data exports from Python data structures in batch jobs.","Transform nested Python objects into XML for SOAP or XML-RPC communication.","Export structured data from Python applications to XML-based workflows or tools."],"what_it_does":"dict2xml is a lightweight utility that serializes Python dictionaries into XML strings. It takes a dictionary as input and produces formatted XML output with control over element wrapping, indentation, and newline handling. The library offers a simple functional interface via dict2xml() and a more flexible Converter class for advanced use cases like custom key sorting, self-closing tags for specific values, and control over how arrays are wrapped.\n\nThe package has no external runtime dependencies, making it quick to install and integrate. It supports Python 3.5+ and has been in production use since 2012. Key limitations include no support for XML attributes, custom data type hooks, or XML declarations\u2014it focuses on straightforward dictionary-to-XML conversion for data serialization tasks.","worth_installing":"Yes. The package is lightweight, dependency-free, stable, and carries no known vulnerabilities. Install it if you need straightforward dictionary-to-XML conversion. Skip it if you require XML attributes, namespaces, or CDATA handling\u2014those are documented limitations, not bugs."},"id":"dict2xml","links":{"html":"https://skillfed.io/packages/dict2xml","md":"https://skillfed.io/packages/dict2xml.md","pypi":"https://pypi.org/project/dict2xml/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-14","license_spdx":"MIT","license_treatment":"permissive","name":"dict2xml","python_support":"supports_current","summary":"Small utility to convert a python dictionary into an XML string"},"popularity":{"monthly_downloads":1094040,"position":4375,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.7.8"}
