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-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_license_check-1.0.0-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

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

Hashes for apache-license-check-1.0.0.tar.gz
Algorithm Hash digest
SHA256 39806d326eea8f6c646834ff2d29f61bde34f03be440804f07f23003eb95e3d2
MD5 b0d86df563a60ff7c738fe3a28cd1e1f
BLAKE2b-256 302dd8e660195d1b55d20025e61ee2513de8ee293ed9010adcc7bf3f86c8884d

See more details on using hashes here.

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

Hashes for apache_license_check-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d320eb5604a77f06ed49641a1354a074f078fb3d47d86d4ed9f15114a8b81c7
MD5 8c447ffae5aef237ab3d26abda61ac84
BLAKE2b-256 8131ed3fe71a0abd56caec5ba6e26274d5e14577d6e287534a2b9f32eb35923d

See more details on using hashes here.

Supported by

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