diff --git a/NOTICE b/NOTICE index 11bdafa..ddd4dd4 100644 --- a/NOTICE +++ b/NOTICE @@ -5,6 +5,16 @@ This software uses the following third-party libraries. Full license texts are a 1. cryptography 46.0.5 Author: Python Cryptographic Authority - License: Apache License 2.0 + License: Apache License 2.0 or BSD 3-Clause License URL: https://cryptography.io/ - See licenses/cryptography.txt for full license text. \ No newline at end of file + See licenses/cryptography.APACHE.txt or licenses/cryptography.BSD.txt for full license text. + +2. cffi 2.0.0 + Author: Armin Rigo, Maciej Fijalkowski + License: MIT License + See licenses/cffi.txt for full license text. + +3. pycparser 3.0 + Author: Eli Bendersky + License: BSD 3-Clause License + See licenses/pycparser.txt for full license text. \ No newline at end of file diff --git a/licenses/cffi.txt b/licenses/cffi.txt new file mode 100644 index 0000000..51ac1b9 --- /dev/null +++ b/licenses/cffi.txt @@ -0,0 +1,22 @@ + +Except when otherwise stated (look for LICENSE files in directories or +information at the beginning of each file) all software and +documentation is licensed as follows: + + MIT No Attribution + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/licenses/cryptography.txt b/licenses/cryptography.APACHE.txt similarity index 100% rename from licenses/cryptography.txt rename to licenses/cryptography.APACHE.txt diff --git a/licenses/cryptography.BSD.txt b/licenses/cryptography.BSD.txt new file mode 100644 index 0000000..86dddf1 --- /dev/null +++ b/licenses/cryptography.BSD.txt @@ -0,0 +1,27 @@ +Copyright (c) Individual contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of PyCA Cryptography nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/licenses/pycparser.txt b/licenses/pycparser.txt new file mode 100644 index 0000000..a89b5fa --- /dev/null +++ b/licenses/pycparser.txt @@ -0,0 +1,27 @@ +pycparser -- A C parser in Python + +Copyright (c) 2008-2022, Eli Bendersky +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of the copyright holder nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/jeb_utils/jeb_utils.py b/src/jeb_utils/jeb_utils.py index 4dc5804..d48b6f4 100644 --- a/src/jeb_utils/jeb_utils.py +++ b/src/jeb_utils/jeb_utils.py @@ -12,18 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -import dbm -import pickle -import os -import shutil -import time -import binascii import io -import warnings import re -from types import FunctionType, MethodType from . import utils -from . import exceptions __all__ = [ 'TOPIC_PARTITION_SEPARATOR' diff --git a/src/jeb_utils/utils.py b/src/jeb_utils/utils.py index bbda3f6..b43f1f9 100644 --- a/src/jeb_utils/utils.py +++ b/src/jeb_utils/utils.py @@ -15,7 +15,6 @@ import os from typing import Tuple, Literal, Sequence import ipaddress -import socket __all__ = [ 'is_number',