CLI tool to check source files for Apache License headers.
Project description
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"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apache-license-check-1.0.0.tar.gz.
File metadata
- Download URL: apache-license-check-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39806d326eea8f6c646834ff2d29f61bde34f03be440804f07f23003eb95e3d2
|
|
| MD5 |
b0d86df563a60ff7c738fe3a28cd1e1f
|
|
| BLAKE2b-256 |
302dd8e660195d1b55d20025e61ee2513de8ee293ed9010adcc7bf3f86c8884d
|
File details
Details for the file apache_license_check-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: apache_license_check-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d320eb5604a77f06ed49641a1354a074f078fb3d47d86d4ed9f15114a8b81c7
|
|
| MD5 |
8c447ffae5aef237ab3d26abda61ac84
|
|
| BLAKE2b-256 |
8131ed3fe71a0abd56caec5ba6e26274d5e14577d6e287534a2b9f32eb35923d
|