python-didl-lite
DIDL-Lite (Digital Item Declaration Language) tools for Python
Decision gist · record as of 2026-08-14
Yes. The package solves a specific, well-defined problem (DIDL-Lite XML I/O) with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it if you are building UPnP media tools or need to parse/generate DIDL-Lite metadata. Skip it if you do not work with UPnP systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Note: the package does not perform type checking; users must handle data type coercion between strings and other types.
- Low friction: pure Python wheel with a single runtime dependency (defusedxml).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-01-03 (223 days) · last repo commit 2026-08-14 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 156,658 downloads/mo, #10,778 on PyPI
Alternatives
Verify before relying
pip install python-didl-lite
import python_didl_lite
# Parse or create DIDL-Lite XML documents
# See tests/ for usage examples- Whether the package handles all UPnP-av ContentDirectory v1 and v2 features completely
- Performance characteristics when working with large DIDL-Lite documents
- Whether defusedxml is used for security hardening against XML attacks
What it is and what it does
python-didl-lite provides tools to read and write DIDL-Lite XML, the standard format for declaring digital items in UPnP media systems. It wraps the XML parsing and serialization logic needed to work with UPnP ContentDirectory metadata, following the UPnP-av specifications. The package is a straightforward codec: it does not enforce type checking or perform automatic data coercion, leaving that responsibility to the caller.
Typical use is in UPnP media servers, clients, or tools that need to parse or generate DIDL-Lite metadata describing audio, video, or image items. The single runtime dependency is defusedxml, which handles the XML I/O. The package targets modern Python (3.10+) and has been actively maintained since its 2018 initial release.
Use it for
- Parse DIDL-Lite metadata from a UPnP ContentDirectory service response to extract item details
- Generate DIDL-Lite XML documents to describe media items in a UPnP media server
- Convert between DIDL-Lite and application-specific data structures in media management tools
- Validate or inspect DIDL-Lite documents against UPnP-av specifications
- Build UPnP client libraries that need to understand media item metadata
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a specific, well-defined problem (DIDL-Lite XML I/O) with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it if you are building UPnP media tools or need to parse/generate DIDL-Lite metadata. Skip it if you do not work with UPnP systems.
Install
python-didl-lite on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (defusedxml). Actively maintained with recent releases; last commit 2026-08-14. Supports current Python versions (3.10–3.14).
Requires Python 3.10 or later. Note: the package does not perform type checking; users must handle data type coercion between strings and other types.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install python-didl-lite
import python_didl_lite
# Parse or create DIDL-Lite XML documents
# See tests/ for usage examples
Verify before relying
- Whether the package handles all UPnP-av ContentDirectory v1 and v2 features completely
- Performance characteristics when working with large DIDL-Lite documents
- Whether defusedxml is used for security hardening against XML attacks
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedefusedxml |
| Maintenance | Actively maintained 223 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 156,658 / month, #10,778 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: python_didl_lite-1.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “DIDL-Lite XML parsing”
- python-didl-liteReads and writes DIDL-Lite XML documents, a standard format for…
- tree-sitter-xmlProvides a tree-sitter parser grammar for XML and DTD files, enabling…
- cmeel-tinyxml2Provides a Python-packaged distribution of TinyXML-2, a lightweight…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also docx · igwn-ligolw · itemloaders · dicttoxml · async-upnp-client · endesive · doclang · xmlformatter · xsdata · xml-python