{ "info": { "author": "HARDWARIO s.r.o.", "author_email": "ask@hardwario.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# COOPER to Webhook\n\n[![Travis](https://img.shields.io/travis/hardwario/cp2webhook/master.svg)](https://travis-ci.org/hardwario/cp2webhook)\n[![Release](https://img.shields.io/github/release/hardwario/cp2webhook.svg)](https://github.com/hardwario/cp2webhook/releases)\n[![License](https://img.shields.io/github/license/hardwario/cp2webhook.svg)](https://github.com/hardwario/cp2webhook/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/cp2webhook.svg)](https://pypi.org/project/cp2webhook/)\n\n\n## Installing\n\nYou can install **cp2webhook** directly from PyPI:\n\n```sh\nsudo pip3 install -U cp2webhook\n```\n\nor from source:\n\n```sh\ngit clone https://github.com/hardwario/cp2webhook.git\ncd cp2webhook\nsudo pip3 install -r requirements.txt\nsudo pip3 install -e .\n```\n\n> Note: Parameter `-e` instructs to install files as symlinks, so changes to the source files will be immediately available to other users of the package on the host.\n\n## Usage\n\nUpdate config.yml and run\n\n```sh\ncp2webhook -c config.yml\n```\n\n### Systemd\n\nInsert this snippet to the file /etc/systemd/system/cp2webhook.service:\n```\n[Unit]\nDescription=COOPER cp2webhook\nAfter=network.target\n\n[Service]\nType=simple\nUser=pi\nExecStart=/usr/local/bin/cp2webhook -c /etc/cooper/cp2webhook.yml\nRestart=always\nRestartSec=5\nStartLimitIntervalSec=0\n\n[Install]\nWantedBy=multi-user.target\n```\n\nStart the service:\n\n sudo systemctl start cp2webhook.service\n\nEnable the service start on boot:\n\n sudo systemctl enable cp2webhook.service\n\nView the service log:\n\n journalctl -u cp2webhook.service -f\n\n## License\n\nThis project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](LICENSE) file for details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hardwario/cp2webhook", "keywords": "cooper influxdb iot", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cp2webhook", "package_url": "https://pypi.org/project/cp2webhook/", "platform": "any", "project_url": "https://pypi.org/project/cp2webhook/", "project_urls": { "Homepage": "https://github.com/hardwario/cp2webhook" }, "release_url": "https://pypi.org/project/cp2webhook/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "COOPER to Webhook", "version": "1.1.0" }, "last_serial": 5549487, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "efc3abdf929785da72360cb8950e6b9c", "sha256": "67330a0e22b8e6b23db70d5992a3f47524893462e91b61a1f4acf6e900b95d3a" }, "downloads": -1, "filename": "cp2webhook-1.0.0.tar.gz", "has_sig": false, "md5_digest": "efc3abdf929785da72360cb8950e6b9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4750, "upload_time": "2019-04-23T09:26:18", "url": "https://files.pythonhosted.org/packages/85/44/ffd0ba6eff1e76ff5f33ed8f2bdd97a545a42be8e6cd62ca5f5ef82625b1/cp2webhook-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "91066260df667d48a291550576d7425f", "sha256": "fd1c89d387c88301bddf710b72e953f72ff8b090d2a00c405026fd7151569dee" }, "downloads": -1, "filename": "cp2webhook-1.0.1.tar.gz", "has_sig": false, "md5_digest": "91066260df667d48a291550576d7425f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5090, "upload_time": "2019-05-02T10:25:22", "url": "https://files.pythonhosted.org/packages/8c/65/8f7d34eaa1976359bd16f8fc95047043839236b12d184c7d3660aaa8ee55/cp2webhook-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c9cf0614c05d17bf59e00dc62fdf2c34", "sha256": "669e262b45ce62240a4f828807f0ff5e7dc615d490c647257576d4041fafb237" }, "downloads": -1, "filename": "cp2webhook-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c9cf0614c05d17bf59e00dc62fdf2c34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5165, "upload_time": "2019-07-18T07:24:54", "url": "https://files.pythonhosted.org/packages/86/04/f5c3acd3f63ebb7b475ae256f1ff1d2ea7a14f516e76fb6d23dd96752462/cp2webhook-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9cf0614c05d17bf59e00dc62fdf2c34", "sha256": "669e262b45ce62240a4f828807f0ff5e7dc615d490c647257576d4041fafb237" }, "downloads": -1, "filename": "cp2webhook-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c9cf0614c05d17bf59e00dc62fdf2c34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5165, "upload_time": "2019-07-18T07:24:54", "url": "https://files.pythonhosted.org/packages/86/04/f5c3acd3f63ebb7b475ae256f1ff1d2ea7a14f516e76fb6d23dd96752462/cp2webhook-1.1.0.tar.gz" } ] }