<picture align="center">
<img alt="Ilo robot" src="https://images.squarespace-cdn.com/content/v1/6312fe2115db3003bd2ec2f1/546df043-e044-4003-867b-802738eb1332/LOGO+ILO+PYTHON.png">
</picture>
# ilo robot
A package that lets users control ilo the new educational robot using python command lines.
## Features
- Moves the robot in **many directions** with python commands line
- Creates **movement loops**
- Play with the robot in **real time** with your keyboard
- Use **colored plates** to make the robot move and many other **autonomous modes**
## Where to get it ?
```
# with pip
pip install ilo
```
## How to update it ?
```
# with pip
pip install ilo --upgrade
```
## Dependencies
- [Keyboard - Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more.](https://pypi.org/project/keyboard/)
- [PrettyTable - A simple Python library for easily displaying tabular data in a visually appealing ASCII table format.](https://pypi.org/project/prettytable/)
- [WebSocket-Client - websocket-client is a WebSocket client for Python. It provides access to low level APIs for WebSockets.](https://pypi.org/project/websocket-client/)
- [Python Serial Port Extension for Win32, OSX, Linux, BSD, Jython, IronPython.](https://pypi.org/project/pyserial/)
- [Pyperclip is a cross-platform Python module for copy and paste clipboard functions.](https://pypi.org/project/pyperclip/)
Don't worry, these dependencies are automatically installed with the ilo library.
## Example
```
import ilo
ilo.check_robot_on_network()
my_ilo = ilo.robot(1)
my_ilo.set_led_color(255,0,0) # set the robot color to red
while true:
print("Ilo moves forward")
my_ilo.move("front", 100)
while my_ilo.get_distance() > 20:
pass
my_ilo.stop()
print("ilo has encountered an obstacle")
if my_ilo.get_distance() > 20:
my_ilo.move("right", 80)
print("ilo moves to the right at 80% speed")
else:
my_ilo.move("left", 70)
print("ilo moves to the left at 70% speed")
```
## What else?
Bug reports, patches and suggestions are welcome!
Contact us through our [***website***](https://ilorobot.com) ;)
Raw data
{
"_id": null,
"home_page": "https://ilorobot.com",
"name": "ilo",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, education",
"author": "intuition RT (SLB)",
"author_email": "<contact@ilorobot.com>",
"download_url": "https://files.pythonhosted.org/packages/31/f0/a1147f6337a4763a1aba9c4ac5f047b6c80aee5040dfc68dc427a62b6581/ilo-0.0.45.tar.gz",
"platform": null,
"description": "<picture align=\"center\">\r\n <img alt=\"Ilo robot\" src=\"https://images.squarespace-cdn.com/content/v1/6312fe2115db3003bd2ec2f1/546df043-e044-4003-867b-802738eb1332/LOGO+ILO+PYTHON.png\">\r\n</picture>\r\n\r\n# ilo robot\r\n\r\nA package that lets users control ilo the new educational robot using python command lines.\r\n\r\n## Features\r\n\r\n- Moves the robot in **many directions** with python commands line\r\n- Creates **movement loops**\r\n- Play with the robot in **real time** with your keyboard\r\n- Use **colored plates** to make the robot move and many other **autonomous modes**\r\n\r\n## Where to get it ?\r\n\r\n```\r\n# with pip\r\npip install ilo\r\n```\r\n\r\n## How to update it ?\r\n\r\n```\r\n# with pip\r\npip install ilo --upgrade\r\n```\r\n\r\n## Dependencies\r\n\r\n- [Keyboard - Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more.](https://pypi.org/project/keyboard/)\r\n\r\n- [PrettyTable - A simple Python library for easily displaying tabular data in a visually appealing ASCII table format.](https://pypi.org/project/prettytable/)\r\n\r\n- [WebSocket-Client - websocket-client is a WebSocket client for Python. It provides access to low level APIs for WebSockets.](https://pypi.org/project/websocket-client/)\r\n\r\n- [Python Serial Port Extension for Win32, OSX, Linux, BSD, Jython, IronPython.](https://pypi.org/project/pyserial/)\r\n\r\n- [Pyperclip is a cross-platform Python module for copy and paste clipboard functions.](https://pypi.org/project/pyperclip/)\r\n\r\nDon't worry, these dependencies are automatically installed with the ilo library.\r\n\r\n## Example\r\n\r\n```\r\nimport ilo\r\n\r\nilo.check_robot_on_network()\r\n\r\nmy_ilo = ilo.robot(1)\r\n\r\nmy_ilo.set_led_color(255,0,0) # set the robot color to red\r\n\r\nwhile true:\r\n\r\n print(\"Ilo moves forward\")\r\n my_ilo.move(\"front\", 100)\r\n \r\n while my_ilo.get_distance() > 20:\r\n pass\r\n \r\n my_ilo.stop()\r\n print(\"ilo has encountered an obstacle\")\r\n \r\n if my_ilo.get_distance() > 20:\r\n my_ilo.move(\"right\", 80)\r\n print(\"ilo moves to the right at 80% speed\")\r\n \r\n else:\r\n my_ilo.move(\"left\", 70)\r\n print(\"ilo moves to the left at 70% speed\")\r\n```\r\n\r\n## What else? \r\n\r\nBug reports, patches and suggestions are welcome!\r\n\r\nContact us through our [***website***](https://ilorobot.com) ;)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Control ilo robot using python command.",
"version": "0.0.45",
"project_urls": {
"Homepage": "https://ilorobot.com"
},
"split_keywords": [
"python",
" education"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17abeb55e8383b37503da8d24a1e9a31225e3a8a4aa2ad0e5c179a01839f0d32",
"md5": "3b3486ec07d216ce3f32c47c060ae53d",
"sha256": "f4a67a9b6ed2e052ba019c5a45a6a9081fa3e323c46e7ae4dfc6d8a1a16bea6a"
},
"downloads": -1,
"filename": "ilo-0.0.45-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b3486ec07d216ce3f32c47c060ae53d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17712,
"upload_time": "2024-12-18T13:56:37",
"upload_time_iso_8601": "2024-12-18T13:56:37.148887Z",
"url": "https://files.pythonhosted.org/packages/17/ab/eb55e8383b37503da8d24a1e9a31225e3a8a4aa2ad0e5c179a01839f0d32/ilo-0.0.45-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "31f0a1147f6337a4763a1aba9c4ac5f047b6c80aee5040dfc68dc427a62b6581",
"md5": "6b6b93ce88ffb26d532ad0a93b6bd435",
"sha256": "1c54bdc74191e4c479a504a9d298968e2c0b300cae0f4954a780e8800d0fe780"
},
"downloads": -1,
"filename": "ilo-0.0.45.tar.gz",
"has_sig": false,
"md5_digest": "6b6b93ce88ffb26d532ad0a93b6bd435",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17845,
"upload_time": "2024-12-18T13:56:38",
"upload_time_iso_8601": "2024-12-18T13:56:38.554544Z",
"url": "https://files.pythonhosted.org/packages/31/f0/a1147f6337a4763a1aba9c4ac5f047b6c80aee5040dfc68dc427a62b6581/ilo-0.0.45.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-18 13:56:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ilo"
}