{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Provides a Python client library to communicate with Music Player Daemon (MPD) servers, supporting both synchronous and asynchronous operations.","skillfed_tags":["music-server","asyncio-ready"],"use_cases":["Build a web dashboard or REST API to control MPD playback and queue from a browser.","Write a command-line tool to automate playlist management and music library operations.","Create a home automation script that integrates MPD with other services via asyncio.","Develop a music client application with custom UI that talks to a remote MPD server.","Monitor and log MPD server state and playback events for analytics or debugging."],"what_it_does":"python-mpd2 is a Python client library for Music Player Daemon (MPD), a lightweight music server. It lets you control MPD playback, manage playlists, and query server state from Python code. The library supports both synchronous blocking calls and asynchronous patterns via asyncio or twisted, making it suitable for simple scripts, web applications, and event-driven systems.\n\nThe package started as a fork of python-mpd and has evolved to support Python 3.6+, client-to-client protocol messaging, and newer MPD commands including seekcur, prio, config, mount, and others. It includes explicit command declarations for IDE autocomplete, configurable connection timeouts, logging support, and improved Unicode handling. With zero runtime dependencies and a pure-Python wheel, it installs quickly and runs anywhere Python 3.6+ is available.","worth_installing":"Yes. This is a mature, actively maintained library with zero dependencies, a permissive copyleft license, and no known vulnerabilities. Install it if you need to control MPD from Python\u2014whether for a simple script, web service, or async application. The only prerequisite is having an MPD server running; the library itself is straightforward to integrate."},"id":"python-mpd2","links":{"html":"https://skillfed.io/packages/python-mpd2","md":"https://skillfed.io/packages/python-mpd2.md","pypi":"https://pypi.org/project/python-mpd2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-01-13","license_spdx":null,"license_treatment":"copyleft","name":"python-mpd2","python_support":"supports_current","summary":"A Python MPD client library"},"popularity":{"monthly_downloads":120946,"position":12002,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.1"}
