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
Stubs install under klippy/ (PEP 561).
Pyright, basedpyright, ty, and mypy
resolve from klippy.* imports with no extra configuration.
from klippy.configfile import ConfigWrapper
from klippy.klippy import Printer
from klippy.gcode import GCodeCommand
Development
uv sync --dev
pre-commit install
uv run ty check smoke_check.py
Verify the wheel
uv build
uv pip install dist/klippy_stubs-*.whl --force-reinstall
uv run ty check smoke_check.py
uv run mypy smoke_check.py
npx pyright 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.2.0.tar.gz
(112.1 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.2.0-py3-none-any.whl
(112.6 kB
view details)
File details
Details for the file klippy_stubs-0.2.0.tar.gz.
File metadata
- Download URL: klippy_stubs-0.2.0.tar.gz
- Upload date:
- Size: 112.1 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 |
2566b60d3f8822c8e3599d2621f3bfcdd4ce851a15c9e398dddff2b79a0bb05a
|
|
| MD5 |
22a6cd159107c43eb765cea1fb1a4cd9
|
|
| BLAKE2b-256 |
65a90bce1cd68bbf50a44dd5593adf27b554e7f9d2c7a8e753093e52b6fc4e26
|
File details
Details for the file klippy_stubs-0.2.0-py3-none-any.whl.
File metadata
- Download URL: klippy_stubs-0.2.0-py3-none-any.whl
- Upload date:
- Size: 112.6 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 |
bf5d059a32779276f274fd7cc8521cd6d5d72f7da16153b54cbac4cf013fc504
|
|
| MD5 |
510f5770a1fb55b24c2bda932b164251
|
|
| BLAKE2b-256 |
bba8a3f697f5d4ea83fcfa19615f6d5fe25330652485f3734ff993e76302ab65
|