facultyai / apache-license-check

Check Python source files for Apache License headers

Home Page:https://pypi.org/project/apache-license-check/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apache License Check

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"

About

Check Python source files for Apache License headers

https://pypi.org/project/apache-license-check/

License:Other


Languages

Language:Python 100.0%