{ "info": { "author": "Taylor Marks", "author_email": "taylor@marksfam.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.3", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Multimedia :: Sound/Audio :: MIDI", "Topic :: Multimedia :: Sound/Audio :: Players", "Topic :: Multimedia :: Sound/Audio :: Players :: MP3" ], "description": "playsound\r\n=========\r\n*Pure Python, cross platform, single function module with no dependencies for playing sounds.*\r\n\r\nInstallation\r\n------------\r\nInstall via pip:\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install playsound\r\n\r\nDone.\r\n\r\nIf you insist on the (slightly) harder way of installing, from source,\r\nyou know how to do it already and don't need my help.\r\n\r\nThe latest version of the source code can be found at:\r\nhttps://github.com/TaylorSMarks/playsound\r\n\r\nQuick Start\r\n-----------\r\nOnce you've installed, you can really quickly verified that it works with just this:\r\n\r\n.. code-block:: python\r\n\r\n >>> from playsound import playsound\r\n >>> playsound('/path/to/a/sound/file/you/want/to/play.mp3') \r\n\r\nDocumentation\r\n-------------\r\nThe playsound module contains only one thing - the function (also named) playsound.\r\n\r\nIt requires one argument - the path to the file with the sound you'd like to play. This may be a local file, or a URL.\r\n\r\nThere's an optional second argument, block, which is set to True by default. Setting it to False makes the function run asynchronously.\r\n\r\nOn Windows, uses windll.winmm. WAVE and MP3 have been tested and are known to work. Other file formats may work as well.\r\n\r\nOn OS X, uses AppKit.NSSound. WAVE and MP3 have been tested and are known to work. In general, anything QuickTime can play, playsound should be able to play, for OS X.\r\n\r\nOn Linux, uses GStreamer. Known to work on Ubuntu 14.04 and ElementaryOS\r\nLoki. Support for the ``block`` argument is currently not implemented.\r\n\r\nRequirements\r\n------------\r\nI've only tested playsound it with Python 2.7 on Windows 7 and OS X 10.11, but\r\nI expect that it should work on Windows XP thru 10 at least, OS X 10.5 and newer,\r\nall versions of Linux, and Python 2.3 and newer.\r\n\r\nCopyright\r\n---------\r\nThis software is Copyright (c) 2016 Taylor Marks .\r\n\r\nSee the bundled LICENSE file for more information.\r\n\r\n\r\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TaylorSMarks/playsound", "keywords": "sound playsound music wave wav mp3 media song play audio", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "playsound", "package_url": "https://pypi.org/project/playsound/", "platform": "", "project_url": "https://pypi.org/project/playsound/", "project_urls": { "Homepage": "https://github.com/TaylorSMarks/playsound" }, "release_url": "https://pypi.org/project/playsound/1.2.2/", "requires_dist": null, "requires_python": "", "summary": "Pure Python, cross platform, single function module with no dependencies for playing sounds.", "version": "1.2.2" }, "last_serial": 2987620, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "352a758c8db8144a36e19fe5a5df2283", "sha256": "4cbd5f513e34b5b051382a07460f3d9d288b1fbee8af684ac9cbb59bf9ea69ca" }, "downloads": -1, "filename": "playsound-1.0.0.tar.gz", "has_sig": false, "md5_digest": "352a758c8db8144a36e19fe5a5df2283", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2016-01-25T04:32:14", "url": "https://files.pythonhosted.org/packages/37/aa/62fa4247dab9221e503d0798c8fc5403c4a973eef0d1e0b2d2099a00d1f1/playsound-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "f35c500e1202b12498792e96db53c5e1", "sha256": "d219a8e5a706b025e586128bd2182edd11515824b83702a1f4c1c492ca934be2" }, "downloads": -1, "filename": "playsound-1.1.0.tar.gz", "has_sig": false, "md5_digest": "f35c500e1202b12498792e96db53c5e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4554, "upload_time": "2016-01-27T04:22:53", "url": "https://files.pythonhosted.org/packages/3b/6e/b2d42fe4829b8a8f0404701a9346fbd91815c2c4153203cf5285726f14ac/playsound-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "40c277fbc543fa2eeeddeb23aaeb55d7", "sha256": "427cc2c56946af70e3bcf09b86f5ee76ecb62e770e63b9a1a040a0b1b8a62dc0" }, "downloads": -1, "filename": "playsound-1.2.0.tar.gz", "has_sig": false, "md5_digest": "40c277fbc543fa2eeeddeb23aaeb55d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4826, "upload_time": "2016-02-20T16:31:07", "url": "https://files.pythonhosted.org/packages/c1/0d/ba4fd990ad1ef161f0592b85f157b940b8e246b68fcbcfd0a776b619971d/playsound-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "dcd9dc1c8d28ecad92a889638827fab5", "sha256": "8694382191ac95c048cf06f1c3abc2cc8c31ff802dc8183b42c365cc42203b72" }, "downloads": -1, "filename": "playsound-1.2.1.tar.gz", "has_sig": false, "md5_digest": "dcd9dc1c8d28ecad92a889638827fab5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4909, "upload_time": "2016-02-28T03:58:06", "url": "https://files.pythonhosted.org/packages/f6/49/a4f04fe63353cb08f391d631c7ec18ed09845425a3a85e5b8cb7bd28ddd1/playsound-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "30f7763f7ec70f351b0767eb71e289f3", "sha256": "1e83750a5325cbccee03d6e751ba3e78c037ac95b95a3ba1f38d0c5aca9e1a34" }, "downloads": -1, "filename": "playsound-1.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "30f7763f7ec70f351b0767eb71e289f3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5960, "upload_time": "2017-06-29T14:08:29", "url": "https://files.pythonhosted.org/packages/f5/16/10d897b0a83fb4b05b03a63d7a2667ab75f857f67f7062fd447dd3f49bf7/playsound-1.2.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30f7763f7ec70f351b0767eb71e289f3", "sha256": "1e83750a5325cbccee03d6e751ba3e78c037ac95b95a3ba1f38d0c5aca9e1a34" }, "downloads": -1, "filename": "playsound-1.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "30f7763f7ec70f351b0767eb71e289f3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5960, "upload_time": "2017-06-29T14:08:29", "url": "https://files.pythonhosted.org/packages/f5/16/10d897b0a83fb4b05b03a63d7a2667ab75f857f67f7062fd447dd3f49bf7/playsound-1.2.2-py2.py3-none-any.whl" } ] }