From bea3590825d6a3c594f5967f3298700cd17d44bf Mon Sep 17 00:00:00 2001 From: Panos Date: Sun, 12 Oct 2025 13:12:30 +0100 Subject: [PATCH] Updated copyright notices, setup.py classifiers --- ci/integration_tests/__init__.py | 16 ++++++++++++ .../embedded_server/__init__.py | 16 ++++++++++++ .../embedded_server/openssh.py | 26 +++++++++---------- .../libssh2_clients/__init__.py | 16 ++++++++++++ .../libssh2_clients/base_ssh2_case.py | 26 +++++++++---------- .../libssh2_clients/test_parallel_client.py | 26 +++++++++---------- .../libssh2_clients/test_single_client.py | 26 +++++++++---------- .../libssh2_clients/test_tunnel.py | 26 +++++++++---------- .../libssh_clients/__init__.py | 16 ++++++++++++ .../libssh_clients/base_ssh_case.py | 26 +++++++++---------- .../libssh_clients/test_parallel_client.py | 26 +++++++++---------- .../libssh_clients/test_single_client.py | 26 +++++++++---------- pssh/__init__.py | 26 +++++++++---------- pssh/clients/__init__.py | 26 +++++++++---------- pssh/clients/base/__init__.py | 16 ++++++++++++ pssh/clients/base/parallel.py | 26 +++++++++---------- pssh/clients/base/single.py | 26 +++++++++---------- pssh/clients/common.py | 26 +++++++++---------- pssh/clients/native/__init__.py | 26 +++++++++---------- pssh/clients/native/parallel.py | 26 +++++++++---------- pssh/clients/native/single.py | 26 +++++++++---------- pssh/clients/native/tunnel.py | 26 +++++++++---------- pssh/clients/reader.py | 26 +++++++++---------- pssh/clients/ssh/__init__.py | 26 +++++++++---------- pssh/clients/ssh/parallel.py | 26 +++++++++---------- pssh/clients/ssh/single.py | 26 +++++++++---------- pssh/config.py | 26 +++++++++---------- pssh/constants.py | 26 +++++++++---------- pssh/exceptions.py | 26 +++++++++---------- pssh/output.py | 26 +++++++++---------- pssh/utils.py | 26 +++++++++---------- setup.py | 12 ++++++--- tests/__init__.py | 16 ++++++++++++ tests/test_api_use.py | 26 +++++++++---------- tests/test_exceptions.py | 26 +++++++++---------- tests/test_host_config.py | 26 +++++++++---------- tests/test_output.py | 26 +++++++++---------- tests/test_reader.py | 26 +++++++++---------- tests/test_utils.py | 26 +++++++++---------- 39 files changed, 520 insertions(+), 420 deletions(-) diff --git a/ci/integration_tests/__init__.py b/ci/integration_tests/__init__.py index e69de29b..edc34670 100644 --- a/ci/integration_tests/__init__.py +++ b/ci/integration_tests/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/ci/integration_tests/embedded_server/__init__.py b/ci/integration_tests/embedded_server/__init__.py index e69de29b..edc34670 100644 --- a/ci/integration_tests/embedded_server/__init__.py +++ b/ci/integration_tests/embedded_server/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/ci/integration_tests/embedded_server/openssh.py b/ci/integration_tests/embedded_server/openssh.py index cd347d76..70459f87 100644 --- a/ci/integration_tests/embedded_server/openssh.py +++ b/ci/integration_tests/embedded_server/openssh.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging import os diff --git a/ci/integration_tests/libssh2_clients/__init__.py b/ci/integration_tests/libssh2_clients/__init__.py index e69de29b..edc34670 100644 --- a/ci/integration_tests/libssh2_clients/__init__.py +++ b/ci/integration_tests/libssh2_clients/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/ci/integration_tests/libssh2_clients/base_ssh2_case.py b/ci/integration_tests/libssh2_clients/base_ssh2_case.py index 9fdfff5e..ca67649a 100644 --- a/ci/integration_tests/libssh2_clients/base_ssh2_case.py +++ b/ci/integration_tests/libssh2_clients/base_ssh2_case.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging import os diff --git a/ci/integration_tests/libssh2_clients/test_parallel_client.py b/ci/integration_tests/libssh2_clients/test_parallel_client.py index 62aa9c6c..00efd229 100644 --- a/ci/integration_tests/libssh2_clients/test_parallel_client.py +++ b/ci/integration_tests/libssh2_clients/test_parallel_client.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Unittests for :mod:`pssh.ParallelSSHClient` class""" diff --git a/ci/integration_tests/libssh2_clients/test_single_client.py b/ci/integration_tests/libssh2_clients/test_single_client.py index 9b3173a7..de9156b0 100644 --- a/ci/integration_tests/libssh2_clients/test_single_client.py +++ b/ci/integration_tests/libssh2_clients/test_single_client.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import os import pytest diff --git a/ci/integration_tests/libssh2_clients/test_tunnel.py b/ci/integration_tests/libssh2_clients/test_tunnel.py index 483f4543..a69b7d58 100644 --- a/ci/integration_tests/libssh2_clients/test_tunnel.py +++ b/ci/integration_tests/libssh2_clients/test_tunnel.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import gc import os diff --git a/ci/integration_tests/libssh_clients/__init__.py b/ci/integration_tests/libssh_clients/__init__.py index e69de29b..edc34670 100644 --- a/ci/integration_tests/libssh_clients/__init__.py +++ b/ci/integration_tests/libssh_clients/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/ci/integration_tests/libssh_clients/base_ssh_case.py b/ci/integration_tests/libssh_clients/base_ssh_case.py index c73b5f5b..a0d6f9bc 100644 --- a/ci/integration_tests/libssh_clients/base_ssh_case.py +++ b/ci/integration_tests/libssh_clients/base_ssh_case.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging import os diff --git a/ci/integration_tests/libssh_clients/test_parallel_client.py b/ci/integration_tests/libssh_clients/test_parallel_client.py index 953cb7b2..d8c54e32 100644 --- a/ci/integration_tests/libssh_clients/test_parallel_client.py +++ b/ci/integration_tests/libssh_clients/test_parallel_client.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import os import unittest diff --git a/ci/integration_tests/libssh_clients/test_single_client.py b/ci/integration_tests/libssh_clients/test_single_client.py index e3bed248..100b1fc7 100644 --- a/ci/integration_tests/libssh_clients/test_single_client.py +++ b/ci/integration_tests/libssh_clients/test_single_client.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging from datetime import datetime diff --git a/pssh/__init__.py b/pssh/__init__.py index 2a425bd0..2c722bd6 100644 --- a/pssh/__init__.py +++ b/pssh/__init__.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Asynchronous parallel SSH client library. diff --git a/pssh/clients/__init__.py b/pssh/clients/__init__.py index 6ac14d3e..1b534045 100644 --- a/pssh/clients/__init__.py +++ b/pssh/clients/__init__.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2025 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # flake8: noqa: F401 from .native import ParallelSSHClient, SSHClient diff --git a/pssh/clients/base/__init__.py b/pssh/clients/base/__init__.py index e69de29b..edc34670 100644 --- a/pssh/clients/base/__init__.py +++ b/pssh/clients/base/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/pssh/clients/base/parallel.py b/pssh/clients/base/parallel.py index 479a4a67..276ecc3e 100644 --- a/pssh/clients/base/parallel.py +++ b/pssh/clients/base/parallel.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Abstract parallel SSH client package""" diff --git a/pssh/clients/base/single.py b/pssh/clients/base/single.py index d843a6e8..4c1110f5 100644 --- a/pssh/clients/base/single.py +++ b/pssh/clients/base/single.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging import os diff --git a/pssh/clients/common.py b/pssh/clients/common.py index 58e2e418..174a4ea7 100644 --- a/pssh/clients/common.py +++ b/pssh/clients/common.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging import os diff --git a/pssh/clients/native/__init__.py b/pssh/clients/native/__init__.py index 255e9901..5e5f19ad 100644 --- a/pssh/clients/native/__init__.py +++ b/pssh/clients/native/__init__.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # flake8: noqa: F401 from .parallel import ParallelSSHClient diff --git a/pssh/clients/native/parallel.py b/pssh/clients/native/parallel.py index 9ce02918..2612f548 100644 --- a/pssh/clients/native/parallel.py +++ b/pssh/clients/native/parallel.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging diff --git a/pssh/clients/native/single.py b/pssh/clients/native/single.py index db1b5a6c..7c1cc2e2 100644 --- a/pssh/clients/native/single.py +++ b/pssh/clients/native/single.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA from collections import deque diff --git a/pssh/clients/native/tunnel.py b/pssh/clients/native/tunnel.py index 02c41506..6bea348d 100644 --- a/pssh/clients/native/tunnel.py +++ b/pssh/clients/native/tunnel.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import atexit import logging diff --git a/pssh/clients/reader.py b/pssh/clients/reader.py index bcb8685d..c472f8a2 100644 --- a/pssh/clients/reader.py +++ b/pssh/clients/reader.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA from io import BytesIO diff --git a/pssh/clients/ssh/__init__.py b/pssh/clients/ssh/__init__.py index c4881707..75d7457d 100644 --- a/pssh/clients/ssh/__init__.py +++ b/pssh/clients/ssh/__init__.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # flake8: noqa: F401 from .parallel import ParallelSSHClient diff --git a/pssh/clients/ssh/parallel.py b/pssh/clients/ssh/parallel.py index d8e66343..06d40950 100644 --- a/pssh/clients/ssh/parallel.py +++ b/pssh/clients/ssh/parallel.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging diff --git a/pssh/clients/ssh/single.py b/pssh/clients/ssh/single.py index 5b0be5b3..b637b8b6 100644 --- a/pssh/clients/ssh/single.py +++ b/pssh/clients/ssh/single.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import logging from gevent import sleep, spawn, Timeout as GTimeout, joinall diff --git a/pssh/config.py b/pssh/config.py index 3ee8de66..1490f0bc 100644 --- a/pssh/config.py +++ b/pssh/config.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Host specific configuration.""" diff --git a/pssh/constants.py b/pssh/constants.py index 5b58aa4c..1fba4ae3 100644 --- a/pssh/constants.py +++ b/pssh/constants.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Constants definitions for pssh package""" diff --git a/pssh/exceptions.py b/pssh/exceptions.py index ae203147..b0a3fa5e 100644 --- a/pssh/exceptions.py +++ b/pssh/exceptions.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Exceptions raised by parallel-ssh classes.""" diff --git a/pssh/output.py b/pssh/output.py index cd9b043c..48bf23c7 100644 --- a/pssh/output.py +++ b/pssh/output.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Output module of ParallelSSH""" diff --git a/pssh/utils.py b/pssh/utils.py index 3ee6ef2b..a9dd359a 100644 --- a/pssh/utils.py +++ b/pssh/utils.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Module containing static utility functions for parallel-ssh.""" diff --git a/setup.py b/setup.py index 3882f687..db782650 100644 --- a/setup.py +++ b/setup.py @@ -26,9 +26,9 @@ description='Asynchronous parallel SSH library', long_description=open('README.rst').read(), author='Panos Kittenis', - author_email='zuboci@yandex.com', + author_email='danst@tutanota.com', url="https://github.com/ParallelSSH/parallel-ssh", - license='LGPLv2.1', + license='LGPL-2.1-only', packages=find_packages( '.', exclude=('embedded_server', 'embedded_server.*', 'tests', 'tests.*', @@ -38,19 +38,23 @@ 'gevent', 'ssh2-python', 'ssh-python'], classifiers=[ 'Development Status :: 5 - Production/Stable', - 'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)', 'Intended Audience :: Developers', 'Operating System :: OS Independent', - 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', + 'Topic :: System :: Shells', 'Topic :: System :: Networking', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', + 'Operating System :: POSIX', 'Operating System :: POSIX :: Linux', 'Operating System :: POSIX :: BSD', 'Operating System :: Microsoft :: Windows', diff --git a/tests/__init__.py b/tests/__init__.py index e69de29b..edc34670 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,16 @@ +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/tests/test_api_use.py b/tests/test_api_use.py index 31ad09f6..92ade040 100644 --- a/tests/test_api_use.py +++ b/tests/test_api_use.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2025 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import unittest diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index 10fb983f..c0cedce9 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import unittest diff --git a/tests/test_host_config.py b/tests/test_host_config.py index aa108282..685e3d5f 100644 --- a/tests/test_host_config.py +++ b/tests/test_host_config.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import unittest diff --git a/tests/test_output.py b/tests/test_output.py index cd083c08..3d460ede 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Unittests for :mod:`pssh.output.HostOutput` class""" diff --git a/tests/test_reader.py b/tests/test_reader.py index 45ad8fef..98804577 100644 --- a/tests/test_reader.py +++ b/tests/test_reader.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import unittest from random import randrange diff --git a/tests/test_utils.py b/tests/test_utils.py index 5a1b2e0a..dc0fa7f0 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,19 +1,19 @@ -# This file is part of parallel-ssh. +# This file is part of parallel-ssh. +# Copyright (C) 2014-2025 Panos Kittenis. +# Copyright (C) 2014-2025 parallel-ssh Contributors. # -# Copyright (C) 2014-2022 Panos Kittenis and contributors. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation, version 2.1. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, version 2.1. +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA import unittest