.. image:: https://img.shields.io/pypi/v/jaraco.nxt.svg
:target: https://pypi.org/project/jaraco.nxt
.. image:: https://img.shields.io/pypi/pyversions/jaraco.nxt.svg
.. image:: https://github.com/jaraco/jaraco.nxt/actions/workflows/main.yml/badge.svg
:target: https://github.com/jaraco/jaraco.nxt/actions?query=workflow%3A%22tests%22
:alt: tests
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/badge/skeleton-2024-informational
:target: https://blog.jaraco.com/skeleton
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
<https://pypi.org/project/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
<https://github.com/jaraco/jaraco.nxt/tree/main/examples/get_battery_voltage.py>`_
is to retrieve the battery
voltage. `Browse the other examples
<https://github.com/jaraco/jaraco.nxt/tree/main/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.
Raw data
{
"_id": null,
"home_page": "https://github.com/jaraco/jaraco.nxt",
"name": "jaraco.nxt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Jason R. Coombs",
"author_email": "jaraco@jaraco.com",
"download_url": "https://files.pythonhosted.org/packages/5c/88/e207dcd38d46572e1906f7dc6a535695519416239e5adf6ee96e3df97998/jaraco.nxt-2.2.1.tar.gz",
"platform": null,
"description": ".. image:: https://img.shields.io/pypi/v/jaraco.nxt.svg\n :target: https://pypi.org/project/jaraco.nxt\n\n.. image:: https://img.shields.io/pypi/pyversions/jaraco.nxt.svg\n\n.. image:: https://github.com/jaraco/jaraco.nxt/actions/workflows/main.yml/badge.svg\n :target: https://github.com/jaraco/jaraco.nxt/actions?query=workflow%3A%22tests%22\n :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n :target: https://github.com/astral-sh/ruff\n :alt: Ruff\n\n.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest\n.. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2024-informational\n :target: https://blog.jaraco.com/skeleton\n\nLEGO Mindstorms NXT Bluetooth API in Python\n\nOverview\n--------\n\n``jaraco.nxt`` implements the LEGO Mindstorms NXT Bluetooth API in Python.\n\nThe ``jaraco.nxt`` library also can take advantage of the `jaraco input\n<https://pypi.org/project/jaraco.input>`_\npackage. To include it as part of the install, use the command\n``pip install jaraco.nxt[input]``.\n\nGetting Started\n---------------\n\n``jaraco.nxt`` provides a message class for sending and receiving messages\nwith the Lego NXT device. First pair the device with your PC by following\nthe instructions included with the device. Then, determine the COM port\nto which it is connected. The `hello world example\n<https://github.com/jaraco/jaraco.nxt/tree/main/examples/get_battery_voltage.py>`_\nis to retrieve the battery\nvoltage. `Browse the other examples\n<https://github.com/jaraco/jaraco.nxt/tree/main/examples/>`_ for\nmore inspiration.\n\nFor more information, read the docstrings of the modules in the packages.\n\nModules of interest are\n\n* jaraco.nxt.messages: implements the messages defined by\n the NXT Bluetooth protocol.\n* jaraco.nxt.controller: demonstrates how to link input from\n a joystick to messages controlling the motors. Uses jaraco.input.\n",
"bugtrack_url": null,
"license": null,
"summary": "Logo Mindstorms NXT Routines",
"version": "2.2.1",
"project_urls": {
"Homepage": "https://github.com/jaraco/jaraco.nxt"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "15fc806a8a25cb96bc0ee38dc83164b1036a6c48118cd5e1c9fbcc2f042820a8",
"md5": "583d827ac9d7bbb17b246df560b54605",
"sha256": "fb3c42e90665a7ce301f90e8e9c1061f796c2eee251e2fab99b69258b08abad6"
},
"downloads": -1,
"filename": "jaraco.nxt-2.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "583d827ac9d7bbb17b246df560b54605",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 12357,
"upload_time": "2024-04-01T01:11:53",
"upload_time_iso_8601": "2024-04-01T01:11:53.505309Z",
"url": "https://files.pythonhosted.org/packages/15/fc/806a8a25cb96bc0ee38dc83164b1036a6c48118cd5e1c9fbcc2f042820a8/jaraco.nxt-2.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5c88e207dcd38d46572e1906f7dc6a535695519416239e5adf6ee96e3df97998",
"md5": "a9edd3e7289d67e7391117cda18cadcf",
"sha256": "361b99afd9a59a3383a52b8577d9f605477daa5c74da350a65eff4b92d6b6a14"
},
"downloads": -1,
"filename": "jaraco.nxt-2.2.1.tar.gz",
"has_sig": false,
"md5_digest": "a9edd3e7289d67e7391117cda18cadcf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 20211,
"upload_time": "2024-04-01T01:11:55",
"upload_time_iso_8601": "2024-04-01T01:11:55.166508Z",
"url": "https://files.pythonhosted.org/packages/5c/88/e207dcd38d46572e1906f7dc6a535695519416239e5adf6ee96e3df97998/jaraco.nxt-2.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-01 01:11:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jaraco",
"github_project": "jaraco.nxt",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "jaraco.nxt"
}