{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Converts Python dictionaries and other native data types into valid XML strings, handling nested structures, type attributes, and custom root elements.","skillfed_tags":["serialization","xml-generation"],"use_cases":["Convert API responses (e.g., JSON fetched from a URL) into XML format for downstream systems that require it.","Serialize application configuration stored as Python dicts into XML files for consumption by other tools.","Generate XML snippets for embedding in larger XML documents without writing manual string concatenation.","Transform Python data structures into XML for data interchange with legacy systems or services.","Create XML test fixtures from Python dictionaries in unit tests."],"what_it_does":"dicttoxml is a lightweight serializer that takes Python data structures\u2014dicts, lists, tuples, sets, and primitive types\u2014and produces well-formed XML output. It automatically wraps output in an XML declaration and root element, though both can be customized or omitted. The library supports type attributes on elements (which can be disabled), handles datetime objects by converting them to ISO format, treats None as empty XML elements, and provides options for custom root names, encoding specification, and unique ID generation. It has no external dependencies and installs as a pure Python wheel.\n\nThe package is straightforward for simple dict-to-XML tasks but is no longer maintained. It works reliably for its core purpose\u2014converting Python objects to XML strings with configurable formatting\u2014but will not receive updates for new Python versions or edge cases. It is best suited for projects that need basic serialization without the overhead of heavier XML libraries and can tolerate a frozen feature set.","worth_installing":"Yes, if you need simple dict-to-XML conversion and can accept an unmaintained package. The core functionality is stable and has no known vulnerabilities. The copyleft license (GPLv2) is a hard blocker if you cannot open-source your code. For new projects, consider whether a maintained alternative better suits your long-term needs, but for isolated, low-risk use cases, dicttoxml remains functional."},"id":"dicttoxml","links":{"html":"https://skillfed.io/packages/dicttoxml","md":"https://skillfed.io/packages/dicttoxml.md","pypi":"https://pypi.org/project/dicttoxml/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-12-23","license_spdx":null,"license_treatment":"copyleft","name":"dicttoxml","python_support":"supports_current","summary":"Converts a Python dictionary or other native data type into a valid XML string."},"popularity":{"monthly_downloads":2280129,"position":3167,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.7.16"}
