Skip to main content

snlcopyright

Create, read, update, delete a copyright block in Python source code.

python os license Code style: black

tests codecov

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

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 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.

Metadata

Release files for snlcopyright 0.0.12

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

Source distribution (sdist)

Source distribution for snlcopyright 0.0.12
File Size Uploaded Provenance Actions
snlcopyright-0.0.12.tar.gz 9.8 kB Without provenance Details for snlcopyright-0.0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for snlcopyright 0.0.12
File Interpreter ABI Platform Actions
snlcopyright-0.0.12-py3-none-any.whl Python 3 none any Details for snlcopyright-0.0.12-py3-none-any.whl

Total release size: 20.4 kB

Release files / snlcopyright-0.0.12.tar.gz

Download URL snlcopyright-0.0.12.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
48dfa37f64ebd4a3326c365f718cd607848cc3dee40714cc0c3fba6b9a8ee9d2
BLAKE2b-256 checksum
How to use checksums
a1a8a2099ac0feff974700b4e7edf07fb3ae228e530e6cff4a33d66d2e5dfa09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / snlcopyright-0.0.12-py3-none-any.whl

Download URL snlcopyright-0.0.12-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
826352d35c5affaaf8072cf0efb408d57f24653e29ed954a4e3b4988b7848624
BLAKE2b-256 checksum
How to use checksums
374c814ed8c75f8d517f50ecfeab6fd12345b3b0655a887ee95a8dfb4f37fa8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Security for snlcopyright 0.0.12

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.

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