{ "info": { "author": "Olivier Watt\u00e9 - RLIEH project by Biolo.tech", "author_email": "owatte@biolo.tech", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering" ], "description": "# RLIEH Sat light\n\nThis module is intended to provide a python3 module and a CLI tool to manage\nlight phases on a RLIEH sat system\n\nRlieh-satlight is a part of the [RLIEH project](http://www.emnet.cc/portfolio/rlieh/)\nand can be used on any system running python.\n\n## .ini file sample\n```ini\n[hardware]\ntype = sat\nip = 192.168.1.43\npwm_channel = 0\n; type = controller\n; pin = 18\n\n; light pwm values (percent)\n[light_thresholds]\ndawn = [0, 20]\nsunrise = [20, 75]\nnoon = [75, 100, 75] ; unused\nsunset = [75, 20]\ndusk = [20, 0]\n\n; light modulation phases duration (in mn)\n[light_duration]\ndawn = 10\nsunrise = 10\nsunset = 10\ndusk = 10\n```\n\n\n## Install\n\n### From source\n\n```bash\ngit clone https://work.ipeos.com/gitlab/rlieh/rlieh-sat-light-client.git\ncd rlieh-satlight\npython3 setup.py install\n```\ncoming soon to https://github.com/owatte/rlieh-satlight.git\n\n### From pip\n\ncoming soon\n```\npip3 install rlieh-satlight\n```\n## Usage\n\n### as Py module\n```python\n >>> from rlieh_sat.core import RliehSatLight\n >>> light = RliehSatLight('/home/pi/conf/matouba.ini', 'dawn')\n >>> light.request()\n```\n\n### as CLI tool\n\n```bash\n$ rlieh-satlight -h\nusage: rlieh-satlight [-h] -i INI -p PHASE\n\nManage light on RLIEH sat.\n\noptional arguments:\n -h, --help show this help message and exit\n -i INI, --ini INI ini file full path\n -p PHASE, --phase PHASE light phase\n\n```\n\n#### Simple call example\n*dawn* phase on *matouba* tank\n\n ```\n$ rlieh-satlight -i /home/pi/conf/matouba.ini -p dawn\n```\n\n#### Tip : create an alias\n\nIf you manage several tanks, the best way is probably to create aliases\n\n```bash\n$ alias matouba_dawn='rlieh-satlight -i /home/pi/conf/matouba.ini -p dawn'\n```\n## Licence\n\nReleased under The [GPL v3 License](COPYING.md).\n\nCopyright (C) 2018 EmNet\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/owatte/rlieh-satlight", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rlieh-satlight", "package_url": "https://pypi.org/project/rlieh-satlight/", "platform": "", "project_url": "https://pypi.org/project/rlieh-satlight/", "project_urls": { "Homepage": "http://github.com/owatte/rlieh-satlight" }, "release_url": "https://pypi.org/project/rlieh-satlight/0.0.4/", "requires_dist": [ "argparse", "configparser", "requests" ], "requires_python": "", "summary": "This module provides an interface to manage light phases using .ini file to perform remote call to a RLIEH satellite", "version": "0.0.4" }, "last_serial": 4613367, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "aa72577f0476df2da27bdfcef7b3efb4", "sha256": "c3fddcbe70adde4d1e80565957aadd211f09e98973a8ee7275222dd44a361a0c" }, "downloads": -1, "filename": "rlieh_satlight-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "aa72577f0476df2da27bdfcef7b3efb4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16676, "upload_time": "2018-12-18T19:02:57", "url": "https://files.pythonhosted.org/packages/fe/f1/20679df95f15c30f25c96fe16c4c0c7971d887941ee7c4da0d94c9ea97ed/rlieh_satlight-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05e95d8bfe71d782ea886cc4d91e029a", "sha256": "8007395c26156f5ea046af8d93770558ef5f27c9ba5badc58c44a5ee21a23dc0" }, "downloads": -1, "filename": "rlieh_satlight-0.0.4.tar.gz", "has_sig": false, "md5_digest": "05e95d8bfe71d782ea886cc4d91e029a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17494, "upload_time": "2018-12-18T19:02:59", "url": "https://files.pythonhosted.org/packages/0b/b1/93b865418d6c4f384e2e461d42ce30d315ee374c9dc1719301eef749bfd1/rlieh_satlight-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aa72577f0476df2da27bdfcef7b3efb4", "sha256": "c3fddcbe70adde4d1e80565957aadd211f09e98973a8ee7275222dd44a361a0c" }, "downloads": -1, "filename": "rlieh_satlight-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "aa72577f0476df2da27bdfcef7b3efb4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16676, "upload_time": "2018-12-18T19:02:57", "url": "https://files.pythonhosted.org/packages/fe/f1/20679df95f15c30f25c96fe16c4c0c7971d887941ee7c4da0d94c9ea97ed/rlieh_satlight-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05e95d8bfe71d782ea886cc4d91e029a", "sha256": "8007395c26156f5ea046af8d93770558ef5f27c9ba5badc58c44a5ee21a23dc0" }, "downloads": -1, "filename": "rlieh_satlight-0.0.4.tar.gz", "has_sig": false, "md5_digest": "05e95d8bfe71d782ea886cc4d91e029a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17494, "upload_time": "2018-12-18T19:02:59", "url": "https://files.pythonhosted.org/packages/0b/b1/93b865418d6c4f384e2e461d42ce30d315ee374c9dc1719301eef749bfd1/rlieh_satlight-0.0.4.tar.gz" } ] }