checkup-python
Python project metrics plugin for checkup.
Installation
pip install checkup-python
Requirements
- Python >= 3.12
- checkup
Usage
from checkup import CheckHub
from checkup_python.metrics import PythonVersionMetric
results = (
CheckHub()
.with_metrics([PythonVersionMetric])
.measure()
)
Available Metrics
PythonVersionMetric
Detects the Python version configured for a project.
Detection order:
.python-versionfilepyproject.toml(requires-pythonfield)- Falls back to current runtime version
The metric supports comparison operators for version checking.
PythonVersionCheckMetric
Checks if the project's Python version falls within specified minimum and maximum boundaries. Configure by subclassing:
from checkup_python.metrics.version_check import PythonVersionCheckMetric
class MyVersionCheck(PythonVersionCheckMetric):
min_version = "3.11"
max_version = "3.13"
Metadata
Release files for checkup-python 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| checkup_python-0.5.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| checkup_python-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / checkup_python-0.5.0.tar.gz
| Download URL | checkup_python-0.5.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e44ba8d62110ecad316a2bcf19f93e6d1e2a58c998cfbf56b54dc48be97bec0
|
|
BLAKE2b-256 checksum How to use checksums |
9cf2c4a18c962753b0e8e699fb354c700335c9da32d60a9725b1e5640bcd1276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}
|
Release files / checkup_python-0.5.0-py3-none-any.whl
| Download URL | checkup_python-0.5.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
982bf5267c602a6b3afd9b0f3d4b3b64edcb4716c40e79ac4441cabf3512d40a
|
|
BLAKE2b-256 checksum How to use checksums |
04ba3ffd482a5c60216760fba0f67a70424528ad06c5e254a235185465e03b51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}
|