LawyerUp
LawyerUp adds license headers to your code.
Inspired by lice.
Installation
pip install lawyerup
Usage
$ lawyerup --help
usage: lawyerup [-h] [--vars | --context [KEY=VALUE [KEY=VALUE ...]]] LICENSE
Add license headers to files passed in on stdin
positional arguments:
LICENSE the license to add, one of GPR, GRR, generic
optional arguments:
-h, --help show this help message and exit
--vars list template variables for specified license
--context [KEY=VALUE [KEY=VALUE ...]]
KEY=VALUE formatted variables to generate the license
$ cat list-of-files | lawyerup <license> --context KEY1=VAL1 KEY2=VAL2 ...
Available Licenses
Government Purpose Rights (GPR)
Government Restricted Rights (GRR)
Generic “see COPYING file in the root of this distribution” (generic)
History
0.1.4 (2014-11-20)
Bugfix: Python 2.6 requires argparse.
Stylus support.
0.1.3 (2013-12-16)
Bugfix: Strip trailing whitespace from formatted headers.
0.1.2 (2013-11-13)
Bugfix: Don’t die on empty files.
Bugfix: Treat all input files as UTF-8.
0.1.1 (2013-11-13)
Bugfix release. Actually include the license headers in the distribution.
0.1.0 (2013-11-13)
First release. Add headers to lists of files read from stdin.
Metadata
Release files for lawyerup 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lawyerup-0.1.5.tar.gz | 9.4 kB | Without provenance | Details for lawyerup-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lawyerup-0.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for lawyerup-0.1.5-py2.py3-none-any.whl |
Total release size: 18.1 kB
Release files / lawyerup-0.1.5.tar.gz
| Download URL | lawyerup-0.1.5.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9416b4216d12b776e16baf8e4188eddabea7edc15a96d89abe2f360c3124e05f
|
|
BLAKE2b-256 checksum How to use checksums |
fd6c9ac67717a6708310232e047caa2eb903c432233058aa6d4a539e4775141e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / lawyerup-0.1.5-py2.py3-none-any.whl
| Download URL | lawyerup-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e52bcce550cd124c63941a87f847c4191f3ee3d8b0c921c8d8d4f25beeb732bd
|
|
BLAKE2b-256 checksum How to use checksums |
74986472d36c0020f6c8f7be5475585079ab5548ab8f4c613633a8ea7721b0b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lawyerup 0.1.5
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.