Skip to main content

Ilo robot

PyPI Downloads PyPI Downloads / Month

ilo is a powerful Python package to control ilo the new educational robot directly from your computer.
It allows you to move the robot, read sensors, interact with LEDs, and create autonomous behaviors — all in just a few lines of Python.

Features

  • Move the robot in multiple directions with Python commands
  • Create complex movement loops
  • Draw and animate using the robot's LED matrix
  • Play with the robot in real time using your keyboard
  • Use colored cards to trigger autonomous modes
  • Control and read sensors over Wi-Fi or Bluetooth

Installation

pip install ilo

To update:

pip install ilo --upgrade

Quick Example

Here is a simple example to get started:

import ilo
import time

ilo.check_robot_on_bluetooth()
# ilo.check_robot_on_wifi()  # Make sure you are connected to the robot's Wi-Fi AP

my_ilo = ilo.robot("my-robot")

# Go forward until an obstacle is close
while my_ilo.get_distance_front() > 30:
    my_ilo.move("front", 10, 50) 
    time.sleep(0.1)

my_ilo.stop()  # Stop the robot
my_ilo.step("rot_clock")  # Rotate clockwise
my_ilo.set_led_color(25, 200, 25)
my_ilo.step("front", 0.5)

Dependencies

All dependencies are automatically installed with ilo.
Here’s what each one does:

  • keyboard-crossplatform – cross-platform keyboard event listener (works on macOS, Windows, and Linux)
  • prettytable – generate clean and easy-to-read tables in the terminal
  • websocket-client – communicate with the robot via WebSocket
  • bleak – Bluetooth Low Energy (BLE) client library for Python
  • pyserial – serial communication support (UART)
  • pyperclip – cross-platform clipboard support
  • requests – simple and powerful HTTP client
  • numpy – fundamental package for scientific computing
  • matplotlib – powerful plotting and visualization library

Documentation

Full documentation and examples are available on GitHub. (Comming soon)


Contributing

Bug reports, patches, and suggestions are welcome!

Questions? Contact us via our website.


Powered by Intuition RT

Metadata

Release files for ilo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ilo 0.2.0
File Size Uploaded
ilo-0.2.0.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ilo 0.2.0
File Interpreter ABI Platform
ilo-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 83.8 kB

Release files / ilo-0.2.0.tar.gz

Download URL ilo-0.2.0.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
34c41a81a16b0b4f1cf91754d706b254b20289ff2c75d87493053c32643d083a
BLAKE2b-256 checksum
How to use checksums
ce72e435d0def6d4ca07935466a215ddbd7bde61556d285e71ef910f63324e55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / ilo-0.2.0-py3-none-any.whl

Download URL ilo-0.2.0-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945e5f5d74c55f8332290d002a6609969805e09363ba307aa4c460dd6d8632e8
BLAKE2b-256 checksum
How to use checksums
19da7a011317a12484f183dd64ebe7106d6e414b4c6444c87466ec74b71cf606
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.62

1 release file

0.0.61

2 release files

0.0.60

2 release files

0.0.59

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.53

2 release files

0.0.52

2 release files

0.0.51

2 release files

0.0.50

2 release files

0.0.49

2 release files

0.0.47

2 release files

0.0.46

2 release files

0.0.45

2 release files

0.0.43

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.34

2 release files

0.0.32

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page