Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

This version
History Node


Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting