A python license header checker.
Project description
# license-header-check
license-header-check is a tool to test if all modules in a python package have a certain license header.
## Install
`bash pip install license-header-check `
## Usage
You have to provide two arguments:
license_file: A file with the license header as its only content.
package_name: The name of the package that should be checked.
Optional:
–ignore: A path in the package that should be ignored.
## Example
`bash license-header-check LICENSE my_package `
`bash license-header-check LICENSE my_package --ignore my_package.my_subpackage `
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
File details
Details for the file license-header-check-0.2.1.tar.gz
.
File metadata
- Download URL: license-header-check-0.2.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706a536a3873e00b975d667a38dabb679e73b2c4332beb9ec4dc6a6cab977264 |
|
MD5 | 98e3461b8cb42e53c628fe11ebf6e820 |
|
BLAKE2b-256 | da75ba8fe6d3ed72d5d70023ca4bee69254056e55615966d3f5fb4b7f80675b9 |
File details
Details for the file license_header_check-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: license_header_check-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e1c5b3f91a3707dab01318a9f22458968615c5e38a4bb201a9ac162cbb2cf9b |
|
MD5 | b3c2a2ce5737184621ae5b8f5cf76b3c |
|
BLAKE2b-256 | 14595f3511e183f017c8b18db99d8f7cb3bee6799a015a3d856a369a428def58 |