| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: nxt-python |
| 3 |
Version: 3.5.1 |
| 4 |
Summary: LEGO Mindstorms NXT Control Package |
| 5 |
Home-page: https://sr.ht/~ni/nxt-python/ |
| 6 |
License: GPL-3.0-or-later |
| 7 |
Author: Nicolas Schodet |
| 8 |
Author-email: [email protected] |
| 9 |
Requires-Python: >=3.9,<4.0 |
| 10 |
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) |
| 11 |
Classifier: Programming Language :: Python :: 3 |
| 12 |
Classifier: Programming Language :: Python :: 3.9 |
| 13 |
Classifier: Programming Language :: Python :: 3.10 |
| 14 |
Classifier: Programming Language :: Python :: 3.11 |
| 15 |
Provides-Extra: bluetooth |
| 16 |
Provides-Extra: screenshot |
| 17 |
Requires-Dist: pillow (>=9.4.0,<10.0.0) ; extra == "screenshot" |
| 18 |
Requires-Dist: pybluez (>=0.23,<0.24) ; extra == "bluetooth" |
| 19 |
Requires-Dist: pyusb (>=1.2.1,<2.0.0) |
| 20 |
Project-URL: Documentation, https://ni.srht.site/nxt-python/latest/ |
| 21 |
Project-URL: Repository, https://git.sr.ht/~ni/nxt-python |
| 22 |
Description-Content-Type: text/markdown |
| 23 |
|
| 24 |
#  |
| 25 |
|
| 26 |
NXT-Python is a package for controlling a LEGO NXT robot using the Python |
| 27 |
programming language. It can communicate using either USB or Bluetooth. |
| 28 |
|
| 29 |
NXT-Python for Python 2 is no longer supported. |
| 30 |
|
| 31 |
NXT-Python repository is on [sourcehut][] with a mirror on [Github][]. |
| 32 |
|
| 33 |
[sourcehut]: https://sr.ht/~ni/nxt-python/ "NXT-Python repository on sourcehut" |
| 34 |
[Github]: https://github.com/schodet/nxt-python "NXT-Python repository on Github" |
| 35 |
|
| 36 |
## Requirements |
| 37 |
|
| 38 |
- [Python 3.x](https://www.python.org) |
| 39 |
- USB communication: |
| 40 |
- [PyUSB](https://github.com/pyusb/pyusb) |
| 41 |
- Bluetooth communication: |
| 42 |
- [PyBluez](https://github.com/pybluez/pybluez) |
| 43 |
|
| 44 |
## Installation |
| 45 |
|
| 46 |
Install NXT-Python with pip: |
| 47 |
|
| 48 |
python3 -m pip install --upgrade nxt-python |
| 49 |
|
| 50 |
See [installation][] instructions in the documentation for more informations. |
| 51 |
|
| 52 |
[installation]: https://ni.srht.site/nxt-python/latest/installation.html |
| 53 |
|
| 54 |
## Next steps |
| 55 |
|
| 56 |
You can read the [documentation][], or start directly with the [tutorial][]. |
| 57 |
|
| 58 |
[documentation]: https://ni.srht.site/nxt-python/latest/ |
| 59 |
[tutorial]: https://ni.srht.site/nxt-python/latest/handbook/tutorial.html |
| 60 |
|
| 61 |
## Upgrading your code |
| 62 |
|
| 63 |
If you used previous version of NXT-Python with Python 2, the documentation |
| 64 |
includes an [migration guide][]. |
| 65 |
|
| 66 |
[migration guide]: https://ni.srht.site/nxt-python/latest/migration.html |
| 67 |
|
| 68 |
## Contact |
| 69 |
|
| 70 |
There is a [mailing list][] for questions. |
| 71 |
|
| 72 |
NXT-Python repository maintainer is Nicolas Schodet, since 2021-11-06. You can |
| 73 |
contact him on the mailing list. |
| 74 |
|
| 75 |
You can use the [Github issues page][] to report problems, but please use the |
| 76 |
mailing list for questions. |
| 77 |
|
| 78 |
[mailing list]: https://lists.sr.ht/~ni/nxt-python |
| 79 |
[Github issues page]: https://github.com/schodet/nxt-python/issues |
| 80 |
|
| 81 |
## Thanks |
| 82 |
|
| 83 |
- Doug Lau for writing NXT\_Python, our starting point. |
| 84 |
- rhn for creating what would become v2, making lots of smaller changes, and |
| 85 |
reviewing tons of code. |
| 86 |
- Marcus Wanner for maintaining NXT-Python up to v2.2.2, his work has been |
| 87 |
amazing! |
| 88 |
- Elvin Luff for taking over the project after Marcus, making a lot of work |
| 89 |
for the port to Python 3. |
| 90 |
- mindsensors.com (esp. Ryan Kneip) for helping out with the code for a lot of |
| 91 |
their sensors, expanding the sensors covered by the type checking database, |
| 92 |
and providing hardware for testing. |
| 93 |
- HiTechnic for providing identification information for their sensors. I note |
| 94 |
that they have now included this information in their website. ;) |
| 95 |
- Linus Atorf, Samuel Leeman-Munk, melducky, Simon Levy, Steve Castellotti, |
| 96 |
Paulo Vieira, zonedabone, migpics, TC Wan, jerradgenson, henryacev, Paul |
| 97 |
Hollensen, and anyone else I forgot for various fixes and additions. |
| 98 |
- Goldsloth for making some useful changes and keeping the tickets moving |
| 99 |
after the migration to Github. |
| 100 |
- All our users for their interest and support! |
| 101 |
|
| 102 |
## License |
| 103 |
|
| 104 |
NXT-Python is free software: you can redistribute it and/or modify it under |
| 105 |
the terms of the GNU General Public License as published by the Free Software |
| 106 |
Foundation, either version 3 of the License, or (at your option) any later |
| 107 |
version. |
| 108 |
|
| 109 |
This program is distributed in the hope that it will be useful, but WITHOUT |
| 110 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 111 |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 112 |
|
| 113 |
You should have received a copy of the GNU General Public License along with |
| 114 |
this program. If not, see <https://www.gnu.org/licenses/>. |
| 115 |
|