Skip to main content

algopython

Python library for controlling an AlgoBrix robot over USB: motors, sensors, LEDs, sounds, and the included camera/AI features.

Install

VS Code is an editor, so users need both VS Code and a supported Python 3.8–3.12 interpreter. In VS Code, install the official Python extension, open a terminal, then run:

python -m pip install --upgrade pip
python -m pip install algopython

Connect the robot by USB and use it in a Python file:

from algopython import *

if algopython_init():
    light12(2, 10, "green")
    move("A", 1, 5, "CW")
    algopython_exit()

On Windows, if the USB serial port is not detected automatically, pass its COM port explicitly: algopython_init("COM3").

The pytesseract feature additionally requires the separate Tesseract OCR application to be installed and available on the system PATH.

Metadata

Release files for algopython 0.0.25

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

Built distribution (wheel)

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

Release files / algopython-0.0.25-py3-none-any.whl

Download URL algopython-0.0.25-py3-none-any.whl
Size 46.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
635b184995801ce770eb2f92a01e795eece3b13b303266662ba5e2b6c86b71bf
BLAKE2b-256 checksum
How to use checksums
e828d657b3e79743b12a04a85f0ef041b916f7a0c4996d80150d580a9d12bdc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

1.1

1 release file

1.0

2 release files

This release

0.0.25 This release

1 release file

0.0.24

1 release file

0.0.23

1 release file

0.0.22

1 release file

0.0.21

1 release file

0.0.20

1 release file

0.0.19

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.2

1 release file

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