Skip to main content

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

apache-license-check-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

apache_license_check-0.1.3-py2.py3-none-any.whl (3.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page