Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Release history Release notifications

This version
History Node


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page