Skip to main content

A Python library for controlling the LEGO Technic Move Hub via Bluetooth Low Energy (BLE).

Project description

Technic Move Hub Python Library

A Python library for controlling the LEGO Technic Move Hub via Bluetooth Low Energy (BLE). This library aims to provide a simple, synchronous interface for controlling your LEGO Move Hub.

Features

  • Connect and disconnect from the LEGO Technic Move Hub.
  • Set the LED color.
  • Control motors (A, B, C) with speed and direction (forward/backward).
  • Handles asynchronous BLE communication internally, providing a synchronous API for the user.
  • Graceful program exit if the hub is not connected when a command is issued.

Installation

You can install this library directly from PyPI using pip:

pip install technicmovehub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

technicmovehub-0.1.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

technicmovehub-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file technicmovehub-0.1.1.tar.gz.

File metadata

  • Download URL: technicmovehub-0.1.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for technicmovehub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 03dd7dff72506562ced6c8ae0c3a8818fa338f67b1709294cb2bd45b1c7b93b0
MD5 82d7dd0ab8dbb0959810b176a0a44735
BLAKE2b-256 6de33f5accbcabadb0c54bfabb7ad82d597f587b6dd7c11e1e97a5baa7a03650

See more details on using hashes here.

File details

Details for the file technicmovehub-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: technicmovehub-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for technicmovehub-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cff380733a8b35041c0d18320c58ec29bdbc9114b692b80b531815a495c25297
MD5 645d00aa05c471fa36ae6cbe020dfc4f
BLAKE2b-256 83f889b74501a31296ed2beefc02d645fb81ee3c5cfb6d047e99f899e3be30ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page