Skip to main content

# 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 `

Metadata

Release files for license-header-check 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for license-header-check 0.2.1
File Size Uploaded
license-header-check-0.2.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for license-header-check 0.2.1
File Interpreter ABI Platform
license_header_check-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / license-header-check-0.2.1.tar.gz

Download URL license-header-check-0.2.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
706a536a3873e00b975d667a38dabb679e73b2c4332beb9ec4dc6a6cab977264
BLAKE2b-256 checksum
How to use checksums
da75ba8fe6d3ed72d5d70023ca4bee69254056e55615966d3f5fb4b7f80675b9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / license_header_check-0.2.1-py3-none-any.whl

Download URL license_header_check-0.2.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e1c5b3f91a3707dab01318a9f22458968615c5e38a4bb201a9ac162cbb2cf9b
BLAKE2b-256 checksum
How to use checksums
14595f3511e183f017c8b18db99d8f7cb3bee6799a015a3d856a369a428def58
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page