{ "info": { "author": "Richard Duivenvoorde", "author_email": "richard@duif.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Boos library and cli\n====================\n\n\nA python library and cli for the `Bose SoundTouch (R) API `_.\n\nTo be able to use my Bose Soundtouch 10 from the command line.\n\nAnd to be able to use it as library for Home-Assistant https://home-assistant.io/\n\nAnd to be 'my first pip' package :-)\n\n\n\nInstallation\n------------\n\nTo install boos python library, simply:\n\n.. code-block:: shell\n\n pip install boos\n\n\n``boos`` requires Python >= 3.4.\n\n\nQuick Start\n-----------\n\nConnect to your Bose SoundTouch (R) device and activate preset 3\n\nTo work in python:\n\n.. code-block:: python\n\n from boos import Boos\n\n booz = Boos(\"http://boos.fritz.box:8090\")\n booz.preset(3)\n booz.vol()\n booz.vol(30)\n\n\nOr if you can run python 3 code for example on Linux:\n\n.. code-block:: bash\n\n # create a symbolic link to the cli.py\n # and (for now) be sure in cli.py you have the right url defined\n sudo ln -s ./boos/cli.py /usr/local/bin/boos\n # run\n boos\n boos set 3\n boos vol\n boos vol 30\n\nOr create a virtualenv and create some bash file::\n virtualenv -p python3 boos\n cd boos\n pip install boos\n\n # and a bash file like:\n\n #!/bin/bash\n\n source /home/richard/venv/boos/bin/activate\n /home/richard/dev/boos/boos/cli.py \"$@\"\n\n\nLinks\n-----\n\n- As an alternative have a look at https://github.com/chassing/badtouch\n- Bose SoundTouch (R) API http://products.bose.com/api-developer/index.html\n- Home Assistant https://home-assistant.io/\n\nPackaging\n---------\n\nAll from https://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#source-distributions\n\n\n.. code-block:: bash\n\n # source dist\n python3 setup.py sdist\n # creating a universal wheel?\n python3 setup.py bdist_wheel\n\n # now setup a local webserver to test\n cd dist\n python -m SimpleHTTPServer 9000\n\n # and in another terminal\n # create a python 3 virtual environment venv (all as usual)\n virtualenv -p python3 venv\n cd venv\n source bin/activate\n # now in python\n python3\n >>> from boos import Boos\n >>> booz = Boos(\"http://boos.fritz.box:8090\")\n >>> booz.preset(3) # setting to preset 3\n >>> print(booz.now_playing()) # should show current playing song/source\n\n # https://packaging.python.org/en/latest/distributing/#uploading-your-project-to-pypi\n #\n # create a .pypirc file in home dir\n [distutils]\n index-servers=\n pypi\n testpypi\n\n [testpypi]\n repository = https://testpypi.python.org/pypi\n username = \n password = \n\n [pypi]\n repository = https://pypi.python.org/pypi\n username = \n password = \n #\n # to upload it to testpypi (https://wiki.python.org/moin/TestPyPI)\n # first register the project\n python setup.py register -r https://testpypi.python.org/pypi\n # preferred (given you have username and testpypi as key in .pypirc:\n twine upload -r testpypi dist/*\n # or\n python setup.py sdist upload -r https://testpypi.python.org/pypi\n # after upload install via\n # search\n pip search --index https://testpypi.python.org/pypi boos\n # install\n pip install -i https://testpypi.python.org/pypi boos\n\n # or to pypi\n # preferred:\n # first register project\n python setup.py register\n # preferred (given you have username and testpypi as key in .pypirc:\n twine upload -r pypi dist/*\n # or\n python setup.py sdist upload -r https://pypi.python.org/pypi\n # and install\n pip install boos", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rduivenvoorde/boos", "keywords": "sample setuptools development", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "boos", "package_url": "https://pypi.org/project/boos/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/boos/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rduivenvoorde/boos" }, "release_url": "https://pypi.org/project/boos/0.5.3/", "requires_dist": null, "requires_python": null, "summary": "A library and cli to communicate with Bose Soundtouch devices", "version": "0.5.3" }, "last_serial": 2700562, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "d9e4c1345be7117178a243c032233a6a", "sha256": "596b767dcd3fb0af7d36048adfc512426b54cc35f2500158094ddb7f5f1cf24c" }, "downloads": -1, "filename": "boos-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d9e4c1345be7117178a243c032233a6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5173, "upload_time": "2016-01-14T20:17:37", "url": "https://files.pythonhosted.org/packages/ba/8a/5afa55a787becf94817e569c298605926c04be16313b1bbb9a10ee02c564/boos-0.5.0.tar.gz" } ], "0.5.2": [], "0.5.3": [ { "comment_text": "", "digests": { "md5": "abdd7ff30dd9fce52a32dde002cabcb3", "sha256": "739cab74e2fb4b53499c652c4ae9e715d4c6c358f39cdc1b3f9796ae06d3688e" }, "downloads": -1, "filename": "boos-0.5.3.tar.gz", "has_sig": false, "md5_digest": "abdd7ff30dd9fce52a32dde002cabcb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5815, "upload_time": "2017-03-12T14:19:25", "url": "https://files.pythonhosted.org/packages/33/f6/0bca27b795e9668922375d6db39c3dddb8fb2a7ebd30ed7e84e0534bc56d/boos-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "abdd7ff30dd9fce52a32dde002cabcb3", "sha256": "739cab74e2fb4b53499c652c4ae9e715d4c6c358f39cdc1b3f9796ae06d3688e" }, "downloads": -1, "filename": "boos-0.5.3.tar.gz", "has_sig": false, "md5_digest": "abdd7ff30dd9fce52a32dde002cabcb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5815, "upload_time": "2017-03-12T14:19:25", "url": "https://files.pythonhosted.org/packages/33/f6/0bca27b795e9668922375d6db39c3dddb8fb2a7ebd30ed7e84e0534bc56d/boos-0.5.3.tar.gz" } ] }