Skip to main content
https://img.shields.io/pypi/v/jaraco.nxt.svg https://img.shields.io/pypi/pyversions/jaraco.nxt.svg tests Ruff https://img.shields.io/badge/skeleton-2024-informational

LEGO Mindstorms NXT Bluetooth API in Python

Overview

jaraco.nxt implements the LEGO Mindstorms NXT Bluetooth API in Python.

The jaraco.nxt library also can take advantage of the jaraco input package. To include it as part of the install, use the command pip install jaraco.nxt[input].

Getting Started

jaraco.nxt provides a message class for sending and receiving messages with the Lego NXT device. First pair the device with your PC by following the instructions included with the device. Then, determine the COM port to which it is connected. The hello world example is to retrieve the battery voltage. Browse the other examples for more inspiration.

For more information, read the docstrings of the modules in the packages.

Modules of interest are

  • jaraco.nxt.messages: implements the messages defined by the NXT Bluetooth protocol.

  • jaraco.nxt.controller: demonstrates how to link input from a joystick to messages controlling the motors. Uses jaraco.input.

Release files for jaraco.nxt 2.2.1

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

Source distribution (sdist)

Source distribution for jaraco.nxt 2.2.1
File Size Uploaded
jaraco.nxt-2.2.1.tar.gz 20.2 kB Details

Built distribution (wheel)

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

Total release size: 32.6 kB

Release files / jaraco.nxt-2.2.1.tar.gz

Download URL jaraco.nxt-2.2.1.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
361b99afd9a59a3383a52b8577d9f605477daa5c74da350a65eff4b92d6b6a14
BLAKE2b-256 checksum
How to use checksums
5c88e207dcd38d46572e1906f7dc6a535695519416239e5adf6ee96e3df97998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / jaraco.nxt-2.2.1-py3-none-any.whl

Download URL jaraco.nxt-2.2.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb3c42e90665a7ce301f90e8e9c1061f796c2eee251e2fab99b69258b08abad6
BLAKE2b-256 checksum
How to use checksums
15fc806a8a25cb96bc0ee38dc83164b1036a6c48118cd5e1c9fbcc2f042820a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0

2 release files

1.5

1 release file

1.4

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2

1 release file

1.1

1 release file

1.0

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