ilo


Nameilo JSON
Version 0.0.28 PyPI version JSON
download
home_pagehttps://github.com/ilorobot/python-library
SummaryControl ilo robot using python command.
upload_time2024-05-16 21:33:44
maintainerNone
docs_urlNone
authorintuition RT (SLB)
requires_pythonNone
licenseNone
keywords python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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

## Where to get it ?

```
# with pip
pip install ilo
```

## 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/)

Don't worry, this dependency is automatically installed with the ilo library.

## Example

```
import ilo

ilo.connection()

print("ilo is connected")

ilo.set_led_color_rgb(200,0,0)      # color is red
ilo.set_led_color_rgb(0,0,200)      # color is blue

while true:

    print("Ilo moves forward")
    ilo.move("front", 100)
    
    while ilo.get_distance() > 20:
        pass
        
    ilo.stop()
    print("ilo has encountered an obstacle")
    
    if ilo.get_distance() > 20:
        ilo.move("right", 80)
        print("ilo moves to the right at 80% speed")
    
    else:
        ilo.move("left", 70)
        print("ilo moves to the left at 70% speed")
```

## About us

Find us on our [***website***](https://ilorobot.com) ;)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ilorobot/python-library",
    "name": "ilo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python",
    "author": "intuition RT (SLB)",
    "author_email": "<contact@ilorobot.com>",
    "download_url": "https://files.pythonhosted.org/packages/e9/5f/4d7706d183d4597a8fb8f953ba0cb124616bbf393a86ae49948e5b55cb59/ilo-0.0.28.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\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## 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\nDon't worry, this dependency is automatically installed with the ilo library.\r\n\r\n## Example\r\n\r\n```\r\nimport ilo\r\n\r\nilo.connection()\r\n\r\nprint(\"ilo is connected\")\r\n\r\nilo.set_led_color_rgb(200,0,0)      # color is red\r\nilo.set_led_color_rgb(0,0,200)      # color is blue\r\n\r\nwhile true:\r\n\r\n    print(\"Ilo moves forward\")\r\n    ilo.move(\"front\", 100)\r\n    \r\n    while ilo.get_distance() > 20:\r\n        pass\r\n        \r\n    ilo.stop()\r\n    print(\"ilo has encountered an obstacle\")\r\n    \r\n    if ilo.get_distance() > 20:\r\n        ilo.move(\"right\", 80)\r\n        print(\"ilo moves to the right at 80% speed\")\r\n    \r\n    else:\r\n        ilo.move(\"left\", 70)\r\n        print(\"ilo moves to the left at 70% speed\")\r\n```\r\n\r\n## About us\r\n\r\nFind us on our [***website***](https://ilorobot.com) ;)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Control ilo robot using python command.",
    "version": "0.0.28",
    "project_urls": {
        "Homepage": "https://github.com/ilorobot/python-library"
    },
    "split_keywords": [
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa484ed6f64ad6ccf6cd9239a75c8966bf5eeec5708d6d6b43eb729cc4e8a369",
                "md5": "d77bc845d258f663e6a73c670a7cd2d3",
                "sha256": "99805b12c955672aa40486d56ce24847438c2fc87b5e689ebaee53a9babfbac0"
            },
            "downloads": -1,
            "filename": "ilo-0.0.28-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d77bc845d258f663e6a73c670a7cd2d3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6795,
            "upload_time": "2024-05-16T21:33:43",
            "upload_time_iso_8601": "2024-05-16T21:33:43.155174Z",
            "url": "https://files.pythonhosted.org/packages/fa/48/4ed6f64ad6ccf6cd9239a75c8966bf5eeec5708d6d6b43eb729cc4e8a369/ilo-0.0.28-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e95f4d7706d183d4597a8fb8f953ba0cb124616bbf393a86ae49948e5b55cb59",
                "md5": "0f687476b2f9d5004e8830e6c87f305a",
                "sha256": "6ecd702226c295c943e2aad5244152f8930c23e242ac51bd14fed211b0a3d4ab"
            },
            "downloads": -1,
            "filename": "ilo-0.0.28.tar.gz",
            "has_sig": false,
            "md5_digest": "0f687476b2f9d5004e8830e6c87f305a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6956,
            "upload_time": "2024-05-16T21:33:44",
            "upload_time_iso_8601": "2024-05-16T21:33:44.425682Z",
            "url": "https://files.pythonhosted.org/packages/e9/5f/4d7706d183d4597a8fb8f953ba0cb124616bbf393a86ae49948e5b55cb59/ilo-0.0.28.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-16 21:33:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ilorobot",
    "github_project": "python-library",
    "github_not_found": true,
    "lcname": "ilo"
}
        
Elapsed time: 0.26573s