Skip to main content

LEGO Mindstorms NXT Control Package

Project description

NXT-Python

NXT-Python is a package for controlling a LEGO NXT robot using the Python programming language. It can communicate using either USB or Bluetooth.

NXT-Python for Python 3 is still alpha version, please report any problem you run into.

NXT-Python for Python 2 is no longer supported.

NXT-Python repository is on Github with a mirror on sourcehut.

Requirements

Installation

Install NXT-Python with pip:

python3 -m pip install --upgrade --pre nxt-python

As there is only pre-releases for the moment, you need the --pre option. Without this option, an old NXT-Python version would be installed for Python 2, which is no longer supported.

See installation instructions in the documentation for more informations.

Next steps

You can read the documentation, or start directly with the tutorial.

Upgrading your code

If you used previous version of NXT-Python with Python 2, the documentation includes an migration guide.

Contact

There is a mailing list for questions.

NXT-Python repository maintainer is Nicolas Schodet, since 2021-11-06. You can contact him on the mailing list.

You can use the Github issues page to report problems, but please use the mailing list for questions.

Thanks

  • Doug Lau for writing NXT_Python, our starting point.
  • rhn for creating what would become v2, making lots of smaller changes, and reviewing tons of code.
  • Marcus Wanner for maintaining NXT-Python up to v2.2.2, his work has been amazing!
  • Elvin Luff for taking over the project after Marcus, making a lot of work for the port to Python 3.
  • mindsensors.com (esp. Ryan Kneip) for helping out with the code for a lot of their sensors, expanding the sensors covered by the type checking database, and providing hardware for testing.
  • HiTechnic for providing identification information for their sensors. I note that they have now included this information in their website. ;)
  • Linus Atorf, Samuel Leeman-Munk, melducky, Simon Levy, Steve Castellotti, Paulo Vieira, zonedabone, migpics, TC Wan, jerradgenson, henryacev, Paul Hollensen, and anyone else I forgot for various fixes and additions.
  • Goldsloth for making some useful changes and keeping the tickets moving after the migration to Github.
  • All our users for their interest and support!

License

NXT-Python is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

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

nxt-python-3.0.0a2.tar.gz (89.6 kB view details)

Uploaded Source

Built Distribution

nxt_python-3.0.0a2-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

Details for the file nxt-python-3.0.0a2.tar.gz.

File metadata

  • Download URL: nxt-python-3.0.0a2.tar.gz
  • Upload date:
  • Size: 89.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for nxt-python-3.0.0a2.tar.gz
Algorithm Hash digest
SHA256 1d68807d0ed0483d92bebc9d76f3120f1bcfc997e379e2c403c8a3f5acce9bee
MD5 549c0b96adc5963f6c7705281dca473f
BLAKE2b-256 d0f2bf06238cd38f4bf16f84de636c72fa7c948b850d8cdcbf8b394cbf952660

See more details on using hashes here.

File details

Details for the file nxt_python-3.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: nxt_python-3.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 74.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for nxt_python-3.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 e48063961b6b1a9e3e3ca7c8af9d96cc3130ad5c7ccdf9a0dedd2661a38f6365
MD5 5aa6c57c1a081f305e7431cabd1f6e67
BLAKE2b-256 905596b8c4b35360b3c3dd205241865c066eb4d3797e78356ad382fc03f68356

See more details on using hashes here.

Supported by

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