Skip to main content

Licins

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

usage: licins [-h] [--version] [--list] [-l LICENSE] [-t LICTYPE]
              [-c COMMENT] [-C COMMENTEND] [-d PROGDESC] [-n CNAME]
              [-y CYEAR] [-p PREFIX] [-e ENCODING] [-s SIGNATURE]
              [FILE [FILE ...]]

positional arguments:
  FILE           specify files in which to insert licenses

optional arguments:
  -h, --help     show this help message and exit
  --version      show program's version number and exit
  --list         return a list of available licenses
  -l LICENSE     set which license to use
  -t LICTYPE     set license type
  -c COMMENT     set the comment string
  -C COMMENTEND  set the comment end string
  -d PROGDESC    set a program description line
  -n CNAME       set the copyright name
  -y CYEAR       set the copyright year (default: current year)
  -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!
Use ~/.config/licins.conf for persistent options.
==== 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

Metadata

Release files for licins 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for licins 1.1
File Size Uploaded Provenance Actions
licins-1.1.tar.gz 112.9 kB Without provenance Details for licins-1.1.tar.gz

Release files / licins-1.1.tar.gz

Download URL licins-1.1.tar.gz
Size 112.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a444aa301bc1f87077b5a6b24cecbaa44e5c628942c1b8b452544476e7fe87ae
BLAKE2b-256 checksum
How to use checksums
41cd1fe45d97d882619511cc6499326c02811ed88466433045550fd47863f9c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for licins 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page