Skip to main content

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

MIT

Metadata

Release files for spdx_checker 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for spdx_checker 0.1.10
File Actions
spdx_checker-0.1.10-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for spdx_checker-0.1.10-cp313-cp313-win_amd64.whl
spdx_checker-0.1.10-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for spdx_checker-0.1.10-cp313-cp313-musllinux_1_2_x86_64.whl
spdx_checker-0.1.10-cp313-cp313-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.12+ x86-64, Linux glibc 2.17+ x86-64 Details for spdx_checker-0.1.10-cp313-cp313-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.10-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details for spdx_checker-0.1.10-cp313-cp313-macosx_14_0_arm64.whl
spdx_checker-0.1.10-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for spdx_checker-0.1.10-cp312-cp312-musllinux_1_2_x86_64.whl
spdx_checker-0.1.10-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.12+ x86-64 Details for spdx_checker-0.1.10-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.10-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details for spdx_checker-0.1.10-cp312-cp312-macosx_14_0_arm64.whl
spdx_checker-0.1.10-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for spdx_checker-0.1.10-cp311-cp311-musllinux_1_2_x86_64.whl
spdx_checker-0.1.10-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.12+ x86-64 Details for spdx_checker-0.1.10-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.10-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details for spdx_checker-0.1.10-cp311-cp311-macosx_14_0_arm64.whl

Total release size: 12.3 MB

Release files / spdx_checker-0.1.10-cp313-cp313-win_amd64.whl

Download URL spdx_checker-0.1.10-cp313-cp313-win_amd64.whl
Size 814.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ad16c0a6e1fa85ce6754e68d50a04ee0d09d04d8c173ebd5b73c9c57dd7624fd
BLAKE2b-256 checksum
How to use checksums
393a46f33277f0fdc7d3b6409b3b9580352edaf4cad6a57d3b3bf68bea7445f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL spdx_checker-0.1.10-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.7 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
28ba428b48cece1931d0b291de2f6f03e2f153e4c5e3766739518863b1a4c64a
BLAKE2b-256 checksum
How to use checksums
4b5c221da1f7b4ffb9ca1582ec50546712fef60f63c11bcc9b3e6ccae7467f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp313-cp313-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spdx_checker-0.1.10-cp313-cp313-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.13 Linux glibc 2.12+ x86-64 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5726603e093ca9f123222215f9ef324cac7b0ebf514db7e305c6b9805696f486
BLAKE2b-256 checksum
How to use checksums
7747538cbaa1af986968517efb1fe38de9d4b58ee9dbe356f827a0e82b0475f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp313-cp313-macosx_14_0_arm64.whl

Download URL spdx_checker-0.1.10-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
69f183a4db70684a9196389ffee5e9ba9c8eeb1f7ca2aa5ee20316a59decdff6
BLAKE2b-256 checksum
How to use checksums
ad8afd52290454c740b434d318546bb7da2e3a4a810f1f8530c3c4551f24bf38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL spdx_checker-0.1.10-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.7 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
0a2588d3465a1d682de0757e9d401fc06634a9078caa88b207571c97394525ff
BLAKE2b-256 checksum
How to use checksums
1a6f1f4cb3b355cd0d37b8b0c03cee91ae43976df10152717fbd373647c25bf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spdx_checker-0.1.10-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.12 Linux glibc 2.12+ x86-64 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dbf05cf97df90c8a652c227891767ad189782f34ad49c5dad7054eb0eb81baf1
BLAKE2b-256 checksum
How to use checksums
3ea45bf3f220a3853b4a4c73c125e06c06e79ee0165c6944eb005a559ef7d7f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp312-cp312-macosx_14_0_arm64.whl

Download URL spdx_checker-0.1.10-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
f96fc192df19fa17bd88ed61828899d550eb46fefd66a454a63a57414439022b
BLAKE2b-256 checksum
How to use checksums
7aad35d2b9dc904b1bf87f459293f0eafd27f76c3a8e11820c6280bd22975d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL spdx_checker-0.1.10-cp311-cp311-musllinux_1_2_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f8d76cbc68e1b713617510a7cd500bb95f60c7cbcdb67b91ba11947bad5d400e
BLAKE2b-256 checksum
How to use checksums
63e3b37f9bc226656fc464edf5e944fcf4bf5dd7897c24c7a1993b477a770692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spdx_checker-0.1.10-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.12+ x86-64 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bf4335cf612240ad3f4ba788f357c0b7c0c8981ea8b86e0a8df0365cd5ff6af2
BLAKE2b-256 checksum
How to use checksums
f5ea25f0bebb4846c4c7e526630de62288e0f1830d32941c94433de2c863f1ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / spdx_checker-0.1.10-cp311-cp311-macosx_14_0_arm64.whl

Download URL spdx_checker-0.1.10-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
6cf0239c43ba75960eb010ad63dee6f6c1ba093bed6bf301a40d8654639e2828
BLAKE2b-256 checksum
How to use checksums
ce0ac0f68c81f108fa93e7a2a7778e010e4f1d53588fdd2d5ff042c5c0830d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Security for spdx_checker 0.1.10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page