A command line tool for checking if the source files of a Python project have Apache License headers.
Install
pip install apache-license-check
Usage
To check all Python files recursively under the current directory:
apache-license-check
Optionally, pass one or more files or directories to check:
apache-license-check setup.py myproject/
You can also check that files include a copyright statement with the --copyright flag. Pass a substring (such as the name of the copyright holder) to check:
apache-license-check setup.py --copyright "Faculty Science Limited"
Metadata
Release files for apache-license-check 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apache-license-check-1.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apache_license_check-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.2 kB
Release files / apache-license-check-1.0.0.tar.gz
| Download URL | apache-license-check-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39806d326eea8f6c646834ff2d29f61bde34f03be440804f07f23003eb95e3d2
|
|
BLAKE2b-256 checksum How to use checksums |
302dd8e660195d1b55d20025e61ee2513de8ee293ed9010adcc7bf3f86c8884d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / apache_license_check-1.0.0-py2.py3-none-any.whl
| Download URL | apache_license_check-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d320eb5604a77f06ed49641a1354a074f078fb3d47d86d4ed9f15114a8b81c7
|
|
BLAKE2b-256 checksum How to use checksums |
8131ed3fe71a0abd56caec5ba6e26274d5e14577d6e287534a2b9f32eb35923d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|