Skip to main content

A tool to find the concrete open source license given a source file header.

Project description

A tool to find the concrete open source licens given a source file header:

>>> import what_the_license
>>> what_the_license.wtk(open('some_source_file'))
    [
      {
        "score": 100.0,
        "license": "The MIT License"
      },
      {
        "score": 48.030888030888036,
        "license": "Boost Software License - Version 1.0 - August 17th, 2003"
      },
      {
        "score": 44.86486486486486,
        "license": "MOZILLA PUBLIC LICENSE Version 1.0"
      }
    ]

Supported by

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