Skip to content

Commit

Permalink
Add copyright/license info to all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Feb 13, 2024
1 parent e49ffbd commit 76a00b5
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
# -- Project information -----------------------------------------------------

project = "ShellLogger"
copyright = "2021, Sandia National Laboratories"
copyright = (
"2024, National Technology & Engineering Solutions of Sandia, LLC "
"(NTESS)"
)
author = "Josh Braun, David Collins, Jason M. Gates"
version = "1.0.0"
release = version
Expand Down
6 changes: 6 additions & 0 deletions examples/build_flex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
An example of cloning, configuring, building, and installing software.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from pathlib import Path
from shelllogger import ShellLogger
Expand Down
6 changes: 6 additions & 0 deletions examples/hello_world_html.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
A simple example.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from pathlib import Path
from shelllogger import ShellLogger
Expand Down
6 changes: 6 additions & 0 deletions examples/hello_world_html_and_console.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
A simple example, sending output to the log file and console.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from pathlib import Path
from shelllogger import ShellLogger
Expand Down
6 changes: 6 additions & 0 deletions examples/hello_world_html_with_stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
A simple example, capturing various system statistics.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from pathlib import Path
from shelllogger import ShellLogger
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
"""
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""
import setuptools

if __name__ == "__main__":
Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
"""
The ``shell_logger`` package.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""
from .shell_logger import ShellLogger, ShellLoggerDecoder, ShellLoggerEncoder

__all__ = ["ShellLogger", "ShellLoggerDecoder", "ShellLoggerEncoder"]
6 changes: 6 additions & 0 deletions src/shelllogger/abstract_method.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Provides the :class:`AbstractMethod` exception.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

import inspect

Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/html_utilities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Various utitlities for building the HTML log file.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""
from collections.abc import Iterable, Mapping
from datetime import datetime
import pkgutil
Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/shell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Provides the :class:`Shell` class.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from __future__ import annotations
import fcntl
Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/shell_logger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Provides the :class:`ShellLogger` class, along with some helpers.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from __future__ import annotations
from .shell import Shell
Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/stats_collector.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Provides the various means of collecting machine statistics.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from __future__ import annotations
from .abstract_method import AbstractMethod
Expand Down
6 changes: 6 additions & 0 deletions src/shelllogger/trace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
"""
Provides the means of collecting various trace data.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""

from __future__ import annotations
from .abstract_method import AbstractMethod
Expand Down
6 changes: 6 additions & 0 deletions tests/test_shell_logger.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
"""
The unit test suite for the ``shell_logger`` package.
Copyright The shell-logger Authors.
SPDX-License-Identifier: BSD-3-Clause
"""
from _pytest.capture import CaptureFixture
from _pytest.monkeypatch import MonkeyPatch
from inspect import stack
Expand Down

0 comments on commit 76a00b5

Please sign in to comment.