Unofficial type stubs for LEGO SPIKE Prime Python v3 providing VS Code IntelliSense and autocomplete support
Project description
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spike3_stubs-0.1.1.tar.gz.
File metadata
- Download URL: spike3_stubs-0.1.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
005a15d4bdf76600f2693d380332ad7eb32f4d7cb02b331c8ea9a6bf71e03560
|
|
| MD5 |
9485f66febab081d646b951e14646822
|
|
| BLAKE2b-256 |
b06f3774cb9ac3a0b527bf37c718c14a22c7af85f9ffa601ad07ef2fecefba2f
|
Provenance
The following attestation bundles were made for spike3_stubs-0.1.1.tar.gz:
Publisher:
python-publish.yml on Pablomatisch/spike-prime-v3-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spike3_stubs-0.1.1.tar.gz -
Subject digest:
005a15d4bdf76600f2693d380332ad7eb32f4d7cb02b331c8ea9a6bf71e03560 - Sigstore transparency entry: 1602226927
- Sigstore integration time:
-
Permalink:
Pablomatisch/spike-prime-v3-stubs@a556778463763d52a248f7402199afddfb6d51a2 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/Pablomatisch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a556778463763d52a248f7402199afddfb6d51a2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file spike3_stubs-0.1.1-py3-none-any.whl.
File metadata
- Download URL: spike3_stubs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04d909e4802585fc78a862a5676e073f31bbc3b93fa3227a6e1a970b9e24c2a1
|
|
| MD5 |
458bedaa60c9e045cb5782ab4703ccd0
|
|
| BLAKE2b-256 |
3620451ca35fdc8eee709166c9e20e775b43821d86dd89e29e29d379614048c4
|
Provenance
The following attestation bundles were made for spike3_stubs-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on Pablomatisch/spike-prime-v3-stubs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spike3_stubs-0.1.1-py3-none-any.whl -
Subject digest:
04d909e4802585fc78a862a5676e073f31bbc3b93fa3227a6e1a970b9e24c2a1 - Sigstore transparency entry: 1602226930
- Sigstore integration time:
-
Permalink:
Pablomatisch/spike-prime-v3-stubs@a556778463763d52a248f7402199afddfb6d51a2 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/Pablomatisch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a556778463763d52a248f7402199afddfb6d51a2 -
Trigger Event:
release
-
Statement type: