{"id":16333245,"url":"https://github.com/mic92/python-mpd2","last_synced_at":"2025-05-13T22:03:57.897Z","repository":{"id":2759344,"uuid":"3757308","full_name":"Mic92/python-mpd2","owner":"Mic92","description":"Python library which provides a client interface for the Music Player Daemon.","archived":false,"fork":false,"pushed_at":"2025-04-08T10:29:21.000Z","size":608,"stargazers_count":357,"open_issues_count":21,"forks_count":120,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-10T19:05:56.319Z","etag":null,"topics":["mpd","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mic92.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-03-18T19:13:09.000Z","updated_at":"2025-03-25T15:19:10.000Z","dependencies_parsed_at":"2023-12-08T11:29:36.912Z","dependency_job_id":"24746484-dcfc-45af-af29-d2ee4bd76b79","html_url":"https://github.com/Mic92/python-mpd2","commit_stats":{"total_commits":458,"total_committers":46,"mean_commits":9.956521739130435,"dds":0.5807860262008734,"last_synced_commit":"29ae5c561f68c9db59bef859fb979b9dd6a9361f"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mic92%2Fpython-mpd2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mic92%2Fpython-mpd2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mic92%2Fpython-mpd2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mic92%2Fpython-mpd2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mic92","download_url":"https://codeload.github.com/Mic92/python-mpd2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251337779,"owners_count":21573436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mpd","python"],"created_at":"2024-10-10T23:35:03.556Z","updated_at":"2025-04-28T15:27:26.497Z","avatar_url":"https://github.com/Mic92.png","language":"Python","readme":"python-mpd2\n===========\n\n.. image:: https://travis-ci.org/Mic92/python-mpd2.png?branch=master\n    :target: http://travis-ci.org/Mic92/python-mpd2\n    :alt: Build Status\n\n*python-mpd2* is a Python library which provides a client interface for\nthe `Music Player Daemon \u003chttp://musicpd.org\u003e`__.\n\n\nDifference with python-mpd\n--------------------------\n\npython-mpd2 is a fork of `python-mpd`_.  While 0.4.x was backwards compatible\nwith python-mpd, starting with 0.5 provides enhanced features which are *NOT*\nbackward compatibles with the original `python-mpd`_ package (see `Porting\nGuide \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/porting.html\u003e`__\nfor more information).\n\nThe following features were added:\n\n-  Python 3 support (but you need at least Python 3.6)\n-  asyncio/twisted support\n-  support for the client-to-client protocol\n-  support for new commands from MPD (seekcur, prio, prioid,\n   config, searchadd, searchaddpl, listfiles, rangeid, addtagid, cleartagid,\n   mount, umount, listmounts, listneighbors)\n-  remove deprecated commands (volume)\n-  explicitly declared MPD commands (which is handy when using for\n   example `IPython \u003chttp://ipython.org\u003e`__)\n-  a test suite\n-  API documentation to add new commands (see `Future Compatible \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/advanced.html#future-compatible\u003e`__)\n-  support for Unicode strings in all commands (optionally in python2,\n   default in python3 - see `Unicode Handling \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/advanced.html#unicode-handling\u003e`__)\n-  configurable timeouts\n-  support for `logging \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/logging.html\u003e`__\n-  improved support for sticker\n-  improved support for ranges\n\n\nGetting the latest source code\n------------------------------\n\nIf you would like to use the latest source code, you can grab a\ncopy of the development version from Git by running the command::\n\n    $ git clone https://github.com/Mic92/python-mpd2.git\n\n\nGetting the latest release\n--------------------------\n\nThe latest stable release of *python-mpd2* can be found on\n`PyPI \u003chttp://pypi.python.org/pypi?:action=display\u0026name=python-mpd2\u003e`__\n\n\nPyPI:\n~~~~~\n\n::\n\n    $ pip install python-mpd2\n\n\nInstallation in Linux/BSD distributions\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nUntil Linux distributions adapt this package, here are some ready to use\npackages to test your applications:\n\nSee `INSTALL.rst \u003cINSTALL.rst\u003e`__\n\n\nInstalling from source\n----------------------\n\nTo install *python-mpd2* from source, simply run the command::\n\n    $ python setup.py install\n\nYou can use the *--help* switch to *setup.py* for a complete list of commands\nand their options. See the `Installing Python Modules \u003chttp://docs.python.org/inst/inst.html\u003e`__ document for more details.\n\n\nDocumentation\n-------------\n\n`Documentation \u003chttps://python-mpd2.readthedocs.io/en/latest/\u003e`__\n\n`Getting Started \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/getting-started.html\u003e`__\n\n`Command Reference \u003chttps://python-mpd2.readthedocs.io/en/latest/topics/commands.html\u003e`__\n\n`Examples \u003cexamples\u003e`__\n\n\nTesting\n-------\n\nJust run::\n\n    $ python setup.py test\n\nThis will install `Tox \u003chttp://tox.testrun.org/\u003e`__. Tox will take care of\ntesting against all the supported Python versions (at least available) on our\ncomputer, with the required dependencies\n\nIf you have nix, you can also use the provided `default.nix` to bring all supported\npython versions in scope using `nix-shell`. In that case run `tox` directly instead\nof using `setup.py`::\n\n     $ nix-shell --command 'tox'\n\n\nBuilding Documentation\n----------------------\n\nInstall Sphinx::\n\n    $ pip install Sphinx\n\nChange to the source directory and run::\n\n    $ python ./setup.py build_sphinx\n\nThe command reference is generated from the official mpd protocol documentation.\nIn order to update it, install python-lxml and run the following command::\n\n    $ python ./doc/generate_command_reference.py \u003e ./doc/topics/commands.rst\n\n\n.. _python-mpd: https://pypi.python.org/pypi/python-mpd/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic92%2Fpython-mpd2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmic92%2Fpython-mpd2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic92%2Fpython-mpd2/lists"}