{ "info": { "author": "Matthew Casserly", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# Burnlight\nBurnlight is a server and client for automating the control \nof the GPIO pins on a Raspberry Pi.\n\n## Features\n- Run custom schedules controlling one or more GPIO pins.\n- Web API for remote management and monitoring.\n- Paired input and output for feedback on controlled systems.\n\n## Requirements\n* [Flask](http://flask.pocoo.org/) - Serves the API.\n* [gevent](http://www.gevent.org/) - Runs the scheduling threads.\n* [Lark parser](https://github.com/lark-parser/lark) - Parses BSL programs.\n* [gpiozero](https://gpiozero.readthedocs.io) - Controls GPIO outputs on Raspberry Pi computers.\n\n## Getting started on Raspbian\nInstall Burnlight using pip:\n```\n$ pip install burnlight\n```\nStart the server:\n```\n$ burnlightd\n```\nCreate a file `schedule.bsl` with the following contents:\n```\n{\n loop 10: {\n (On,1),\n (Off,1)\n }\n}\n```\nAdd and start the schedule using the client\n```\n$ burnlight schedules add schedule.bsl --start_time now\n```\n\n\n## Burnlight Scheduling Language (BSL)\nSchedules are described with a simple language.\n\nThe following program will turn the on output for one second each minute for one hour.\n\n```\n{\n loop 60: {\n (On,1),\n (Off,59)\n }\n}\n```\n\nBSL currently supports programs consisting of sequences of output statements\nand loops.\n\nThe simplest program possible is `{}`, which will do absolutely nothing.\nWe can make it slightly more interesting by using _output statements_.\nAn output statement takes the for `(,)` where `` is\nthe desired output state, `On` or `Off`, and `` is the duration\nthe output should be in that state in seconds.\n\nThe following program turns the output on for ten seconds:\n```\n{\n (On, 10),\n (Off, 1)\n}\n```\n\n\n\n", "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/wailashi/burnlight", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "burnlight", "package_url": "https://pypi.org/project/burnlight/", "platform": "", "project_url": "https://pypi.org/project/burnlight/", "project_urls": { "Homepage": "https://github.com/wailashi/burnlight" }, "release_url": "https://pypi.org/project/burnlight/0.2.0/", "requires_dist": [ "flask (>=1.0.0)", "lark-parser", "gevent", "click", "gpiozero", "requests" ], "requires_python": "", "summary": "GPIO scheduler for Raspberry Pis", "version": "0.2.0" }, "last_serial": 4881251, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "4306bce013a57d837210e3a5b737b663", "sha256": "ca306d8a0adb2b42fce452b341462e75ebc4461460ee425a54636d5ffd017b5d" }, "downloads": -1, "filename": "burnlight-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4306bce013a57d837210e3a5b737b663", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12551, "upload_time": "2019-02-28T21:39:35", "url": "https://files.pythonhosted.org/packages/76/02/ee707d96741b9376e0573d36eac11918472fcae493d5fdbba501f69e4463/burnlight-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c324e912c0477c04acd79976d9acdb0f", "sha256": "937e30fed12cb50be68037046d1fedf78f7bfe9670cfe04b12c603803cf6f5bd" }, "downloads": -1, "filename": "burnlight-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c324e912c0477c04acd79976d9acdb0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7606, "upload_time": "2019-02-28T21:39:40", "url": "https://files.pythonhosted.org/packages/1e/31/fa29040a307ecd496c94c74385bb2f814cbe6c980ddb2ed7a58fd81974c1/burnlight-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4306bce013a57d837210e3a5b737b663", "sha256": "ca306d8a0adb2b42fce452b341462e75ebc4461460ee425a54636d5ffd017b5d" }, "downloads": -1, "filename": "burnlight-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4306bce013a57d837210e3a5b737b663", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12551, "upload_time": "2019-02-28T21:39:35", "url": "https://files.pythonhosted.org/packages/76/02/ee707d96741b9376e0573d36eac11918472fcae493d5fdbba501f69e4463/burnlight-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c324e912c0477c04acd79976d9acdb0f", "sha256": "937e30fed12cb50be68037046d1fedf78f7bfe9670cfe04b12c603803cf6f5bd" }, "downloads": -1, "filename": "burnlight-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c324e912c0477c04acd79976d9acdb0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7606, "upload_time": "2019-02-28T21:39:40", "url": "https://files.pythonhosted.org/packages/1e/31/fa29040a307ecd496c94c74385bb2f814cbe6c980ddb2ed7a58fd81974c1/burnlight-0.2.0.tar.gz" } ] }