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.12

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.12
File Actions
spdx_checker-0.1.12-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for spdx_checker-0.1.12-cp313-cp313-win_amd64.whl
spdx_checker-0.1.12-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.12-cp313-cp313-musllinux_1_2_x86_64.whl
spdx_checker-0.1.12-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.12-cp313-cp313-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.12-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details for spdx_checker-0.1.12-cp313-cp313-macosx_14_0_arm64.whl
spdx_checker-0.1.12-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for spdx_checker-0.1.12-cp312-cp312-win_amd64.whl
spdx_checker-0.1.12-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.12-cp312-cp312-musllinux_1_2_x86_64.whl
spdx_checker-0.1.12-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.12-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.12-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details for spdx_checker-0.1.12-cp312-cp312-macosx_14_0_arm64.whl
spdx_checker-0.1.12-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for spdx_checker-0.1.12-cp311-cp311-win_amd64.whl
spdx_checker-0.1.12-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.12-cp311-cp311-musllinux_1_2_x86_64.whl
spdx_checker-0.1.12-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.12+ x86-64, Linux glibc 2.17+ x86-64 Details for spdx_checker-0.1.12-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spdx_checker-0.1.12-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details for spdx_checker-0.1.12-cp311-cp311-macosx_14_0_arm64.whl

Total release size: 13.9 MB

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

Download URL spdx_checker-0.1.12-cp313-cp313-win_amd64.whl
Size 814.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
72ae8de2be9f33d9889d35596f535795af8d9ad7744bba98acc0c630739dc3c1
BLAKE2b-256 checksum
How to use checksums
8925f68a17eda56658130c65cd57fcb88aecb64f318df881b09403785a3e7674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.12-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.12-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
d154db19528f201043bcfa558a8f2c556be2ff376225ba799c11d226f6c312f8
BLAKE2b-256 checksum
How to use checksums
16c5d46e0fc142dc562d57324dabadf8ea0a1e5816eadd481897a82b64b5195d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.12-cp312-cp312-win_amd64.whl

Download URL spdx_checker-0.1.12-cp312-cp312-win_amd64.whl
Size 814.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6c7f6bf8e209dc3351bbb36bffbc5bbe24769680f9e04d3fae4759057c793d38
BLAKE2b-256 checksum
How to use checksums
3a4ecdff7f43a43cd6f05716a06f081a4b303c61aac5f05fbe9bc88d0fbb201e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.12-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.12-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
67a9c5e3e89d96a2f18269ede735871c492cd7c4ef6ca77b3b930bf892861162
BLAKE2b-256 checksum
How to use checksums
bbe7289633927029d71f689d42d93f12806ae58d7d7272d647e9b5ab9e7e63ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.12-cp311-cp311-win_amd64.whl

Download URL spdx_checker-0.1.12-cp311-cp311-win_amd64.whl
Size 814.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
451da74ec41684fa469aa979498750529f54e5d375f771d1e154e6168cdd58ab
BLAKE2b-256 checksum
How to use checksums
bbcd0ad173ebdfed0e377d45f0be8037be408ef3bbf24b4c06308833ca10fc35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.12-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.12-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
64c862756465ec4539544a58854c469069d6239e572d5ba0d2c3bd2c0c95eb47
BLAKE2b-256 checksum
How to use checksums
a7aa0584d0c09408ebf16c38050e6ba8bb588585e414abfef280cf2a17ae7da1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Security for spdx_checker 0.1.12

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