PEP 561 type stubs for Klipper's klippy package
Project description
klippy-stubs
PEP 561 type stubs for Klipper's klippy package.
Install
uv add klippy-stubs
# or
pip install klippy-stubs
Type checkers pick up the stubs automatically after install.
from klippy.configfile import ConfigWrapper
from klippy.klippy import Printer
from klippy.gcode import GCodeCommand
Development
uv sync --dev
uv run ty check
uv run python smoke_check.py
To verify the installable package (required for mypy):
uv build
uv pip install dist/klippy_stubs-*.whl --force-reinstall
uv run mypy smoke_check.py
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
klippy_stubs-0.1.1.tar.gz
(103.9 kB
view details)
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
klippy_stubs-0.1.1-py3-none-any.whl
(113.7 kB
view details)
File details
Details for the file klippy_stubs-0.1.1.tar.gz.
File metadata
- Download URL: klippy_stubs-0.1.1.tar.gz
- Upload date:
- Size: 103.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
396f81abb1055515f9e70c0eea8865958b86b29f2662d9ac59c850b3ec2eb255
|
|
| MD5 |
0e52e8e94bc0e12865a37d03012d4845
|
|
| BLAKE2b-256 |
d614b35baa432026bff657a3241898f4c5289d2028f9833ccac77935211609d6
|
File details
Details for the file klippy_stubs-0.1.1-py3-none-any.whl.
File metadata
- Download URL: klippy_stubs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 113.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11922b4647c6fa69b550b0768529bb32eb3c4d98bf8d90949f8dc15cc70d8a4f
|
|
| MD5 |
9ddf1c201ba5a8b4e213fdf9a012c724
|
|
| BLAKE2b-256 |
13e0835982d123fcd9c45dcc355ca7b0cb04f4acc47a843e675fd5a2f5faed4a
|