Skip to main content

Fast SPDX License Checker for Source Code

Project description

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spdx_checker-0.1.3-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

spdx_checker-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

spdx_checker-0.1.3-cp313-cp313-macosx_14_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

Details for the file spdx_checker-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for spdx_checker-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 664ee995814f2be2a271701c3ecda959a53c768f44141661e78b97b4def62821
MD5 8cf071b17137696f3f533591c05c2b91
BLAKE2b-256 70cf51186af4f79330aff0af1518485f74e3753a22491a06cc7ebf65ccf4238b

See more details on using hashes here.

File details

Details for the file spdx_checker-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spdx_checker-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd0434a2c3fbcbac69ed31a1fbe3763b9db2e95a8cc46536b3a00ddb498a8373
MD5 b68f09536027cae34033b82c3778ad5d
BLAKE2b-256 f394712e7cddd000b72bfb79840e55082dc6c74eb887c3f65dcaccf47ad1b8a2

See more details on using hashes here.

File details

Details for the file spdx_checker-0.1.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for spdx_checker-0.1.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 df36718595ebbc74e8ecdbcde472a22cff92140b2eee10e84bdb8e902edbc480
MD5 5d52428e75f8194d9bdca81d36b3a030
BLAKE2b-256 0a9e8945c71bc7bb32517300fed3761910159b20b05d411adf849fe6ef2e05a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page