Catalog PyPI
Back to packageRELEASE DETAILS

0.0.2

PyPI

addlicense

addlicense automatically inserts a specified license file or copyright message at the top of one or more source code files

Published9 Oct 2018
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.0.2 documentation

addlicense

addlicense is a simple utility that automatically inserts a specified license file or copyright message at the top of one or more source code files

usage: addlicense.py [-h] [--licensefile LICENSEFILE]
                     [--commentblock COMMENTBLOCK] [--comment COMMENT] [-s]
                     [--backup]
                     sourcefiles [sourcefiles ...]

Automatically inserts a specified license file or copyright message at the top
of one or more source code files

positional arguments:
  sourcefiles           a list of files to update with the license or
                        copyright message

optional arguments:
  -h, --help            show this help message and exit
  --licensefile LICENSEFILE
                        a file containing the license or copyright text,
                        defaulting to LICENSE.txt
  --commentblock COMMENTBLOCK
                        a space-separated string indicating the characters to
                        use at the beginning and end of the license message to
                        demark them as a comment block
  --comment COMMENT     a string indicating the characters to use at the
                        beginning of each line of the license message to
                        demark them as comments
  -s, --skip-shebang-executable
                        skip the initial shebang executable command: if the
                        source file starts with a comment symbol (identified
                        via the --comment option) followed by a shebang, to
                        indicate an executable script on a POSIX system, then
                        the license text will be inserted AFTER this initial
                        line
  --backup              keep a copy of the original source-file with a .bak
                        extension


Installation

addlicense is written in Python, and you can use the pip installer to install it thus:

$ pip install addlicense

Homepage

You can find the homepage of addlicense at https://github.com/hossg/addlicense

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
addlicense-0.0.2-py3-none-any.whl

bdist_wheel · 3.84 KB · Python py3

Source file
addlicense-0.0.2.tar.gz

sdist · 2.97 KB · Python source

Source file

Repository

PENDING
hossg/addlicense

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:19 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:5347448cfcc9a07d40bcc69c0d2be9aa3a89f7cc6ff18e3649b39a87920d4b07

Other collected versions

View all collected versions →