Metadata-Version: 2.4
Name: spike3-stubs
Version: 0.1.2
Summary: Unofficial type stubs for LEGO SPIKE Prime Python v3 providing VS Code IntelliSense and autocomplete support
Author: Paul Spitaler
License: MIT
Project-URL: Repository, https://github.com/Pablomatisch/spike-prime-v3-stubs
Keywords: lego,spike,spike prime,spike prime v3,robotics,python,stubs,typing,intellisense,autocomplete,vscode,micropython
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Typing :: Typed
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# spike-prime-v3-stubs

Python type stubs for **LEGO SPIKE Prime (MicroPython v3)** that fix missing autocomplete, IntelliSense, and type checking in VS Code and other Python IDEs.

If you're struggling with:
- no autocomplete in VS Code  
- missing SPIKE Prime API hints  
- poor type checking for SPIKE MicroPython  

→ this package solves that.

---

## Installation

Install from PyPI:

```bash
pip install spike3-stubs
```

## Features

- Type stubs for SPIKE Prime Python v3 API  
- Works with VS Code + Pylance (IntelliSense & autocomplete)  
- Improves developer experience for robotics projects  
- Enables static type checking  

---

## Recommended Setup (VS Code)

For the best development experience, combine this project with:

- LEGO SPIKE Prime / MINDSTORMS Robot Inventor Extension  

This extension lets you connect to the hub, upload programs, and run code directly from VS Code:  
https://marketplace.visualstudio.com/items?itemName=PeterStaev.lego-spikeprime-mindstorms-vscode

Together:
- the extension = **run code on the robot**
- this project = **proper autocomplete & type hints**

---

## Attribution

This project is based on the documentation and API reference from:

- lego-spike-python-v3-docs (https://github.com/jvolkening/lego-spike-python-v3-docs)

That project is licensed under the MIT License.

## License

This project is distributed under the MIT License.

See the LICENSE file for details.
