Package: license-tools
License toolsCollection of tools for working with Open Source licenses, focusing on Python packages.FeaturesAt the moment, this primarily provides some convenience wrappers around theScanCode toolkitby nexB Inc. to be used as either as standalone CLI or library.Automatically download a specific Python package from PyPI and analyze it.Aggregate how often each license has been used inside the current artifact.Look into shared object files and ELF binaries to see what they are linking to (dynamically).Look into font files to easily analyze their metadata.Look into RPM file metadata.Recursively look into nested archives, for example by unpacking the actual upstream source code archives inside RPM (source) files.Make everything available from the terminal.InstallationYou can install this package from PyPI:python-mpipinstalllicense_toolsAlternatively, you can use the package from source directly after installing the required dependencies.UsageTo see the supported CLI parameters, just run:python-mlicense_tools--helpExample: To see the licenses of a specificpypdfpackage version, use something like this:$python-mlicense_tools--package"pypdf==3.4.17"pypdf-3.17.4.dist-info/LICENSEBSD-3-Clause[100.0]pypdf-3.17.4.dist-info/METADATABSD-3-Clause[99.0]pypdf-3.17.4.dist-info/RECORDpypdf-3.17.4.dist-info/WHEELpypdf/__init__.pypypdf/_cmap.pypypdf/_codecs/__init__.pypypdf/_codecs/adobe_glyphs.pyBSD-3-Clause[100.0]pypdf/_codecs/pdfdoc.pypypdf/_codecs/std.pypypdf/_codecs/symbol.pypypdf/_codecs/zapfding.pypypdf/_crypt_providers/__init__.pyBSD-3-Clause[100.0]pypdf/_crypt_providers/_base.pyBSD-3-Clause[100.0]pypdf/_crypt_providers/_cryptography.pyBSD-3-Clause[100.0]pypdf/_crypt_providers/_fallback.pyBSD-3-Clause[100.0]pypdf/_crypt_providers/_pycryptodome.pyBSD-3-Clause[100.0]pypdf/_encryption.pyBSD-3-Clause[100.0]pypdf/_merger.pyBSD-3-Clause[100.0]pypdf/_page.pyBSD-3-Clause[100.0]pypdf/_page_labels.pypypdf/_protocols.pypypdf/_reader.pyBSD-3-Clause[100.0]pypdf/_text_extraction/__init__.pypypdf/_utils.pyBSD-3-Clause[100.0]pypdf/_version.pypypdf/_writer.pyBSD-3-Clause[100.0]pypdf/_xobj_image_helpers.pypypdf/annotations/__init__.pypypdf/annotations/_base.pypypdf/annotations/_markup_annotations.pypypdf/annotations/_non_markup_annotations.pypypdf/constants.pypypdf/errors.pypypdf/filters.pyBSD-3-Clause[100.0]pypdf/generic/__init__.pyBSD-3-Clause[100.0]pypdf/generic/_base.pyBSD-3-Clause[100.0]pypdf/generic/_data_structures.pyBSD-3-Clause[100.0]pypdf/generic/_fit.pypypdf/generic/_outline.pypypdf/generic/_rectangle.pypypdf/generic/_utils.pypypdf/generic/_viewerpref.pyBSD-3-Clause[100.0]pypdf/pagerange.pyBSD-3-Clause[99.0]pypdf/papersizes.pypypdf/py.typedpypdf/types.pypypdf/xmp.py====================================================================================================BSD-3-Clause20None28If you want to use the package as a library, have a look at thelicense_tools.retrieval.runmethod for example to see how everything interacts.LicenseThis package is subject to the terms of the Apache-2.0 license.DisclaimerAll results are generated automatically and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No generated content should be considered or used as legal advice. Consult an Attorney for any legal advice.