Install & Compatibility
Where this runs
tested against v0.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LicenseHeaderCheck
✓ from license_header_check import LicenseHeaderCheck
✗ from license_header_check import LicenseHeaderCheck
Create a checker instance, run check on current directory for Python files, ensuring they contain the SPDX MIT header.
from license_header_check import LicenseHeaderCheck
checker = LicenseHeaderCheck('.', patterns=['\.py$'], comment='#')
missing = checker.check(headers=['# SPDX-License-Identifier: MIT'])
print('Missing headers in:', missing)
license-header-check --version
Upgrade
Version history
0.2.1latest on PyPI · released Nov 16, 2021
Audit
Dependencies
No dependency data recorded yet.