{ "info": { "author": "UbiCast", "author_email": "dev@ubicast.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Multimedia :: Video", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "![PyPI - Python Version](https://img.shields.io/pypi/pyversions/miris-manager-client.svg)\n![PyPI](https://img.shields.io/pypi/v/miris-manager-client.svg)\n\n# UbiCast Miris Manager client\n\nA Python3 client to use UbiCast Miris Manager remote control API.\n\nThis client is intended to act as a system in Miris Manager so it allows you to integrate a device in order to control it using Miris Manager.\n\n\n## Important\n\nFor production use, it is recommended to use the branch named \"stable\". The \"master\" branch is used for development.\n\n\n## Client class instantiation\n\nThe client class (`mm_client`.`client`.`MirisManagerClient`) takes two arguments:\n* `local_conf`: This argument can be either a dict or a path (`str` object). The default value is `None`, which means no configuration.\n* `setup_logging`: This argument must be a boolean. If set to `True`, the logging to console will be configured. The default value is `True`.\n\n\n## Notes about older client\n\nIf you are using the first version of this client (commit `33b554991303b573254d59fb757f601d1e84d132` and previous commits), here are the steps to update your client:\n\n* Install the new client using the setup.py.\n* Replace the import path of `MirisManagerClient` (see example).\n* Replace the class variable `MirisManagerClient`.`LOCAL_CONF` with the class instance argument `MirisManagerClient`.`local_conf`.\n* Check the value of `MirisManagerClient`.`DEFAULT_CONF` because it is now `None` by default.\n* Replace all occurences of `URL` by `SERVER_URL` in all configuration.\n* Replace all occurences of `CHECK_SSL` by `VERIFY_SSL` in all configuration.\n\n\n## Example\n\n### Ping the server\n\n``` python\nfrom mm_client.client import MirisManagerClient\nmmc = MirisManagerClient(local_conf='your-conf.json')\n\nresponse = mmc.api_request('PING')\nprint(response)\n```\n\nThere are more examples in the `examples` directory.\n\n\n## Actions\n\nHere is the list of actions that can be sent to the client depending on its supported capabilities:\n\n # Basic actions\n SHUTDOWN: capability: shutdown, description: Shutdown system\n REBOOT: capability: reboot, description: Reboot system\n UPGRADE: capability: upgrade, description: Upgrade system software\n # Recording\n START_RECORDING: capability: record, description: Start recording\n STOP_RECORDING: capability: record, description: Stop recording\n LIST_PROFILES: capability: record, description: Refresh profiles list\n # Publishing\n START_PUBLISHING: capability: publish, description: Start publishing non published media\n STOP_PUBLISHING: capability: publish, description: Stop publishing\n # Wake on lan\n WAKE_ON_LAN_SEND: capability: send_wake_on_lan, description: Send a wake on LAN network package from this system to wake another system\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/UbiCastTeam/miris-manager-client", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.ubicast.eu/en/solutions/delivery/", "keywords": "api,client,miris,manager,ubicast", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "miris-manager-client", "package_url": "https://pypi.org/project/miris-manager-client/", "platform": "", "project_url": "https://pypi.org/project/miris-manager-client/", "project_urls": { "Download": "https://github.com/UbiCastTeam/miris-manager-client", "Homepage": "https://www.ubicast.eu/en/solutions/delivery/" }, "release_url": "https://pypi.org/project/miris-manager-client/5.0/", "requires_dist": [ "requests (~=2.21)", "black ; extra == 'dev'", "flake8 ; extra == 'dev'", "twine ; extra == 'dev'" ], "requires_python": "", "summary": "A Python3 client to use Miris Manager remote control", "version": "5.0" }, "last_serial": 5312823, "releases": { "4.0": [ { "comment_text": "", "digests": { "md5": "ab4b6c76bc947b0d5c4c26c38b5a2e1d", "sha256": "b9609af31d00e811a6b4f2552933c4b7982ba649e2d1748e30fcef2f3e799b16" }, "downloads": -1, "filename": "miris_manager_client-4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab4b6c76bc947b0d5c4c26c38b5a2e1d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16965, "upload_time": "2019-05-24T13:19:16", "url": "https://files.pythonhosted.org/packages/dc/b9/0cb6890a2fdcaaaa553e5b35e860722cd1076c31c619541953c63474d7b7/miris_manager_client-4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75da4881b87fa286f7ef85659a031a4a", "sha256": "d6d2bd779e5d1213f44f6c8bed2167fce3be150f124e10498306fe3406fded0e" }, "downloads": -1, "filename": "miris-manager-client-4.0.tar.gz", "has_sig": false, "md5_digest": "75da4881b87fa286f7ef85659a031a4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12938, "upload_time": "2019-05-24T13:19:18", "url": "https://files.pythonhosted.org/packages/96/50/fb62edae063beb43bd7b4e285a88959a44c3604cdcc90f33889b31c23905/miris-manager-client-4.0.tar.gz" } ], "5.0": [ { "comment_text": "", "digests": { "md5": "592afea03803ec52273daa94e8fcc733", "sha256": "2a78964098080fc62a3efb1a0d5597f69d407a6e676d35000b8cd0877a02fdc8" }, "downloads": -1, "filename": "miris_manager_client-5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "592afea03803ec52273daa94e8fcc733", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17017, "upload_time": "2019-05-24T13:37:46", "url": "https://files.pythonhosted.org/packages/60/9c/fd25e9acab94540c12c5f7f5886b5cdc9d7583eeabc9ed055d07b6eddb18/miris_manager_client-5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "47dcb61fe60290ecde7780bd2327ec52", "sha256": "f66e670432aca7627d9fff5cfabd8a3969ea0dc9a01e056b11daba6d04cc4403" }, "downloads": -1, "filename": "miris-manager-client-5.0.tar.gz", "has_sig": false, "md5_digest": "47dcb61fe60290ecde7780bd2327ec52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13009, "upload_time": "2019-05-24T13:37:48", "url": "https://files.pythonhosted.org/packages/15/ea/7624cb259df59e9812f87fe54c5f0bcd87d1348df8ace628f01a5439affd/miris-manager-client-5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "592afea03803ec52273daa94e8fcc733", "sha256": "2a78964098080fc62a3efb1a0d5597f69d407a6e676d35000b8cd0877a02fdc8" }, "downloads": -1, "filename": "miris_manager_client-5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "592afea03803ec52273daa94e8fcc733", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17017, "upload_time": "2019-05-24T13:37:46", "url": "https://files.pythonhosted.org/packages/60/9c/fd25e9acab94540c12c5f7f5886b5cdc9d7583eeabc9ed055d07b6eddb18/miris_manager_client-5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "47dcb61fe60290ecde7780bd2327ec52", "sha256": "f66e670432aca7627d9fff5cfabd8a3969ea0dc9a01e056b11daba6d04cc4403" }, "downloads": -1, "filename": "miris-manager-client-5.0.tar.gz", "has_sig": false, "md5_digest": "47dcb61fe60290ecde7780bd2327ec52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13009, "upload_time": "2019-05-24T13:37:48", "url": "https://files.pythonhosted.org/packages/15/ea/7624cb259df59e9812f87fe54c5f0bcd87d1348df8ace628f01a5439affd/miris-manager-client-5.0.tar.gz" } ] }