SPDX License Checker
spdx-checker is a fast Python package for validating and analyzing SPDX license headers in your projects. It leverages Zig for exceptional speed and efficiency. The checker raises an error immediately if any file contains an incorrect or missing license header.
Example Usage
import spdx_checker
spdx_checker.check_license("MIT", ["example1.py", "example2.svelte", "example3.html"])
Development
Issues with uv caching
To force uv to ignore existing installed versions, pass --reinstall to any installation command (e.g., uv sync --reinstall or uv pip install --reinstall ...).
License
Metadata
Release files for spdx_checker 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spdx_checker-0.1.8-cp313-cp313-macosx_14_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 14.0+ ARM64 | Details for spdx_checker-0.1.8-cp313-cp313-macosx_14_0_arm64.whl |
| spdx_checker-0.1.8-cp312-cp312-macosx_14_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 14.0+ ARM64 | Details for spdx_checker-0.1.8-cp312-cp312-macosx_14_0_arm64.whl |
| spdx_checker-0.1.8-cp311-cp311-macosx_14_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 14.0+ ARM64 | Details for spdx_checker-0.1.8-cp311-cp311-macosx_14_0_arm64.whl |
Total release size: 1.3 MB
Release files / spdx_checker-0.1.8-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | spdx_checker-0.1.8-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 435.8 kB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bdcbab8c433ef2ba7a8dd90aef126cb22dec4fd04cb61e96f0e7ff1eb3121bb3
|
|
BLAKE2b-256 checksum How to use checksums |
70db383101e77f5ae0c7750ba58a637cbd5e61ef3c2a33ad5d1995bab51900c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Release files / spdx_checker-0.1.8-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | spdx_checker-0.1.8-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 435.7 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
78d99eaed895ad24745425f0ccd90dd9851d5e545f6902f893dd3cba4b72703b
|
|
BLAKE2b-256 checksum How to use checksums |
cd5d4059c26c5cefcf384a6db8b72b9bde539a4e9ce35ab63a4ecb65a0a7986d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Release files / spdx_checker-0.1.8-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | spdx_checker-0.1.8-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 435.7 kB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0ee60271a343d977cd0e3a6363aecd319f2187044cb1e4e97aae6a7f59ae5bb1
|
|
BLAKE2b-256 checksum How to use checksums |
ffa0426f70685f73d1723ccd1e40842efb4681a3d5893aae0d4145324ea38ca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Security for spdx_checker 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.