Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spike3_stubs-0.1.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spike3_stubs-0.1.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

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

Hashes for spike3_stubs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 005a15d4bdf76600f2693d380332ad7eb32f4d7cb02b331c8ea9a6bf71e03560
MD5 9485f66febab081d646b951e14646822
BLAKE2b-256 b06f3774cb9ac3a0b527bf37c718c14a22c7af85f9ffa601ad07ef2fecefba2f

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for spike3_stubs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04d909e4802585fc78a862a5676e073f31bbc3b93fa3227a6e1a970b9e24c2a1
MD5 458bedaa60c9e045cb5782ab4703ccd0
BLAKE2b-256 3620451ca35fdc8eee709166c9e20e775b43821d86dd89e29e29d379614048c4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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