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

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

Total release size: 13.9 MB

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

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

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

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

Release files / spdx_checker-0.1.11-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.11-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
ecfa47b2cee1219e916476cf6dfa46b4c7bbcd2012b9a32e30977fbe6d4dff31
BLAKE2b-256 checksum
How to use checksums
cd67a4b94a99ed56ebfc11fb0415cb54ba582e46af423f6b68b0b0fb3fb3a70e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

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

Download URL spdx_checker-0.1.11-cp312-cp312-win_amd64.whl
Size 813.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
495bb2a6f9c890c81aaaa7ac1596284f83883dfefd4c2ce2381d2f2e9ffc68b3
BLAKE2b-256 checksum
How to use checksums
8a026ec17c0fa34f29db736c936e12b168dacc10682dceb40408fcb9810de605
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Release files / spdx_checker-0.1.11-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.11-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
6a4831debf219331b12accf330adad722a428d54925087f70142f65046b849c2
BLAKE2b-256 checksum
How to use checksums
d8b0020c1e53331888b2392f55e8dc554e47b72601000e0ebe5ef18d969b7a78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

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

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

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

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

Release files / spdx_checker-0.1.11-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.11-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
dd2def57a01b6c75e02687a542170979d42c5aea612cfb99826d021f3a4b8291
BLAKE2b-256 checksum
How to use checksums
b2c7f20c59e85e415e9aa15da19cbab1d8491944cd8e07a0a09ce8bafbaae694
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

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

Security for spdx_checker 0.1.11

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