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.2.tar.gz (16.6 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.2-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file spike3_stubs-0.1.2.tar.gz.

File metadata

  • Download URL: spike3_stubs-0.1.2.tar.gz
  • Upload date:
  • Size: 16.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a1408139ad7cc81b631dc65f12aeae8bf96fbe662c4ff9252e6beac5ff0441b0
MD5 6001f3d08c82d5214b24a7a8f87fcc2f
BLAKE2b-256 01828161dec798473829005a9de1a071ca548357e5f277dbf8538de509cdf717

See more details on using hashes here.

Provenance

The following attestation bundles were made for spike3_stubs-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: spike3_stubs-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38eb21cd6b7f9163174be2cfb48985f791266bba51a792690eaeb28c86527f69
MD5 138a661ebbb6d8f5b9cced084f29e3b2
BLAKE2b-256 8a80e32d9f398ea4b1411998b2ee0c8ba1f6c928de754511c42c4b712cff8432

See more details on using hashes here.

Provenance

The following attestation bundles were made for spike3_stubs-0.1.2-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