Skip to main content

A command line tool for generating license files

Project description


The license-generator is a simple CLI tool which allows you to create LICENSE files. The tool ships with the most common types of licenses used in the software industry. The list of licenses available can be found in the license_generator/licenses/ folder.

Please note the package is undergoing development so you may find bugs or see ugly output.


To generate a license, run the command by specifying the license name as shown below. Example:

$ license-generator generate MIT

This commend will generate a LICENSE file in the current directory. It is also possible to generate a license in your preferred directory. Example:

$ license-generator generate MIT --destination-dir 'some/path'

This command will generate the LICENSE file in “some/path”.

Commands Available

  • generate: generates a LICENSE file from the license name specified.

  • help: shows usage info.

  • version: shows package version, copyright notice and legal status (as defined by the GNU Coding Standards)


Please see the DEVELOPMENT.rst file for more information.


Please see the LICENSE file for more information.

Project details

Supported by

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