Create, read, update, delete a copyright block in Python source code.
Project description
snlcopyright
Create, read, update, delete a copyright block in Python source code.
Install
pip install snlcopyright
Configure
Optional: Configure your local for development.
Use
copyright <path>
Examples:
copyright . # process cwd and children
copyright ~/jdoe/foo # process foo and children
Command line entry points to the module are available via the commands
command
commands
------------
snlcopyright
------------
This is the command line interface help for Sandia National Laboratories snlcopyright Python module.
Available commands:
commands (this command)
copyright Appends contents of `copyright.txt` to .py files in the cwd, recursively.
copyright-delete Deletes contents of `copyright.txt` from .py files in cwd, recursively.
copyright-info Describes the installation details.
copyright-show Echos the `copyright.txt` contents to the terminal.
copyright-status Shows whether or not the copyright block was found in a .py file in the cwd, recursively.
copyright-version Prints the semantic verison of the current installation.
Contact
- Chad B. Hovey, Sandia National Laboratories, chovey@sandia.gov
License
Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy's National Nuclear Security Administration under contract DE-NA-0003525.
Copyright
Copyright 2023 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.
Notice
For five (5) years from the United States Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this data to reproduce, prepare derivative works, and perform publicly and display publicly, by or on behalf of the Government. There is provision for the possible extension of the term of this license. Subsequent to that period or any extension granted, the United States Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this data to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so. The specific term of the license can be identified by inquiry made to National Technology and Engineering Solutions of Sandia, LLC or DOE.
NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT OF ENERGY, NOR NATIONAL TECHNOLOGY AND ENGINEERING SOLUTIONS OF SANDIA, LLC, NOR ANY OF THEIR EMPLOYEES, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.
Any licensee of this software has the obligation and responsibility to abide by the applicable export control laws, regulations, and general prohibitions relating to the export of technical data. Failure to obtain an export control license or other authority from the Government may result in criminal liability under U.S. laws.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file snlcopyright-0.0.12.tar.gz
.
File metadata
- Download URL: snlcopyright-0.0.12.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48dfa37f64ebd4a3326c365f718cd607848cc3dee40714cc0c3fba6b9a8ee9d2 |
|
MD5 | ae0eeea4197080c61aee51049b60bbf0 |
|
BLAKE2b-256 | a1a8a2099ac0feff974700b4e7edf07fb3ae228e530e6cff4a33d66d2e5dfa09 |
File details
Details for the file snlcopyright-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: snlcopyright-0.0.12-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 826352d35c5affaaf8072cf0efb408d57f24653e29ed954a4e3b4988b7848624 |
|
MD5 | f542226479cd8b684c775027e8296b80 |
|
BLAKE2b-256 | 374c814ed8c75f8d517f50ecfeab6fd12345b3b0655a887ee95a8dfb4f37fa8e |