skip to navigation
skip to content

licins 1.0

Insert commented licenses into source files

Licins is a tool for inserting commented software licenses into source code. It comes with modules for popular open source licenses, and can use config files for persistent options. Licenses are inserted at the beginnigs of files, but after any lines starting with #!. Options for copyright name, encoding, signature, and other add-ons.

Options

--version     show program's version number and exit
-h, --help    show this help message and exit
--list        return a list of available licenses
-l LICENSE    set which license to use
-t LICTYPE    set license type (header|full, default=header)
-c COMMENT    set the comment string (default='# ')
-c COMMENTEND set the comment end string
-d PROGDESC   set a program description line
-n CNAME      set the copyright name
-p PREFIX     set the first line (e.g. #!/bin/bash)
-e ENCODING   add an encoding line
-s SIGNATURE  add a signature line to follow the (c) name

Always put multi-word option arguments in single quotes!

==== Available license modules: ====

apache    : The Apache 2.0 license
bsd2      : The Berkeley Software Distribution license v2
bsd3      : The Berkeley Software Distribution license v3
gfdl1-2   : The GNU Free Documentation License v1.2
gfdl1-3   : The GNU Free Documentation License v1.3
gpl2      : The GNU General Public License v2+
gpl3      : The Gnu General Public License v3
lgpl2     : The GNU Library General Public License v2+
lgpl2-1   : The GNU Library General Public License v2.1+
lgpl3     : The GNU Library General Public License v3
mit       : The MIT License
 
File Type Py Version Uploaded on Size
licins-1.0.tar.gz (md5) Source 2017-04-01 101KB