scanoss 1.28.3__tar.gz → 1.29.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scanoss-1.28.3 → scanoss-1.29.0}/PACKAGE.md +1 -1
- {scanoss-1.28.3/src/scanoss.egg-info → scanoss-1.29.0}/PKG-INFO +3 -3
- {scanoss-1.28.3 → scanoss-1.29.0}/README.md +1 -1
- {scanoss-1.28.3 → scanoss-1.29.0}/pyproject.toml +2 -2
- {scanoss-1.28.3 → scanoss-1.29.0}/setup.cfg +1 -1
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/__init__.py +1 -1
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/cyclonedx.py +4 -4
- scanoss-1.29.0/src/scanoss/data/build_date.txt +1 -0
- {scanoss-1.28.3 → scanoss-1.29.0/src/scanoss.egg-info}/PKG-INFO +3 -3
- scanoss-1.28.3/src/scanoss/data/build_date.txt +0 -1
- {scanoss-1.28.3 → scanoss-1.29.0}/LICENSE +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/options/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/options/annotations_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/options/annotations_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/options/openapiv2_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/protoc_gen_swagger/options/openapiv2_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/common/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/common/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/common/v2/scanoss_common_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/common/v2/scanoss_common_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/components/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/components/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/components/v2/scanoss_components_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/scanning/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/scanning/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/semgrep/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/semgrep/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/vulnerabilities/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/vulnerabilities/v2/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/cli.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/components.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/constants.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/cryptography.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/csvoutput.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/data/scanoss-settings-schema.json +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/data/spdx-exceptions.json +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/data/spdx-licenses.json +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/file_filters.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/filecount.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/component_summary.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/copyleft.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/inspect_base.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/license_summary.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/policy_check.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/undeclared_component.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/inspection/utils/license_utils.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/results.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scancodedeps.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanner.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanners/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanners/container_scanner.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanners/folder_hasher.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanners/scanner_config.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanners/scanner_hfh.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanoss_settings.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanossapi.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanossbase.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanossgrpc.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scanpostprocessor.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/scantype.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/spdxlite.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/threadeddependencies.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/threadedscanning.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/utils/__init__.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/utils/abstract_presenter.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/utils/crc64.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/utils/file.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/utils/simhash.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/winnowing.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss.egg-info/SOURCES.txt +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss.egg-info/dependency_links.txt +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss.egg-info/entry_points.txt +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss.egg-info/requires.txt +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss.egg-info/top_level.txt +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_csv_output.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_file_filters.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_policy_inspect.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_scan_post_processor.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_spdxlite.py +0 -0
- {scanoss-1.28.3 → scanoss-1.29.0}/tests/test_winnowing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scanoss
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.29.0
|
|
4
4
|
Summary: Simple Python library to leverage the SCANOSS APIs
|
|
5
5
|
Home-page: https://scanoss.com
|
|
6
6
|
Author: SCANOSS
|
|
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: requests
|
|
@@ -174,7 +174,7 @@ if __name__ == "__main__":
|
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
## Requirements
|
|
177
|
-
Python 3.
|
|
177
|
+
Python 3.9 or higher.
|
|
178
178
|
|
|
179
179
|
## Source code
|
|
180
180
|
The source for this package can be found [here](https://github.com/scanoss/scanoss.py).
|
|
@@ -24,7 +24,7 @@ To leverage the CLI from within a container, please look at [GHCR.md](GHCR.md).
|
|
|
24
24
|
Before starting with development of this project, please read our [CONTRIBUTING](CONTRIBUTING.md) and [CODE OF CONDUCT](CODE_OF_CONDUCT.md).
|
|
25
25
|
|
|
26
26
|
### Requirements
|
|
27
|
-
Python 3.
|
|
27
|
+
Python 3.9 or higher.
|
|
28
28
|
|
|
29
29
|
The dependencies can be found in the [requirements.txt](requirements.txt) and [requirements-dev.txt](requirements-dev.txt) files.
|
|
30
30
|
|
|
@@ -6,8 +6,8 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
# Enable pycodestyle (E), pyflakes (F), isort (I), pylint (PL)
|
|
7
7
|
select = ["E", "F", "I", "PL"]
|
|
8
8
|
line-length = 120
|
|
9
|
-
# Assume Python 3.
|
|
10
|
-
target-version = "
|
|
9
|
+
# Assume Python 3.9+
|
|
10
|
+
target-version = "py39"
|
|
11
11
|
exclude = [
|
|
12
12
|
"tests/*",
|
|
13
13
|
"test_*.py",
|
|
@@ -48,10 +48,10 @@ class CycloneDx(ScanossBase):
|
|
|
48
48
|
self.debug = debug
|
|
49
49
|
self._spdx = SpdxLite(debug=debug)
|
|
50
50
|
|
|
51
|
-
def parse(self, data:
|
|
51
|
+
def parse(self, data: dict): # noqa: PLR0912, PLR0915
|
|
52
52
|
"""
|
|
53
53
|
Parse the given input (raw/plain) JSON string and return CycloneDX summary
|
|
54
|
-
:param data:
|
|
54
|
+
:param data: dict - JSON object
|
|
55
55
|
:return: CycloneDX dictionary, and vulnerability dictionary
|
|
56
56
|
"""
|
|
57
57
|
if not data:
|
|
@@ -170,12 +170,12 @@ class CycloneDx(ScanossBase):
|
|
|
170
170
|
success = self.produce_from_str(f.read(), output_file)
|
|
171
171
|
return success
|
|
172
172
|
|
|
173
|
-
def produce_from_json(self, data:
|
|
173
|
+
def produce_from_json(self, data: dict, output_file: str = None) -> tuple[bool, dict]: # noqa: PLR0912
|
|
174
174
|
"""
|
|
175
175
|
Produce the CycloneDX output from the raw scan results input data
|
|
176
176
|
|
|
177
177
|
Args:
|
|
178
|
-
data (
|
|
178
|
+
data (dict): JSON object
|
|
179
179
|
output_file (str, optional): Output file (optional). Defaults to None.
|
|
180
180
|
|
|
181
181
|
Returns:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
date: 20250715073533, utime: 1752564933
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scanoss
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.29.0
|
|
4
4
|
Summary: Simple Python library to leverage the SCANOSS APIs
|
|
5
5
|
Home-page: https://scanoss.com
|
|
6
6
|
Author: SCANOSS
|
|
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: requests
|
|
@@ -174,7 +174,7 @@ if __name__ == "__main__":
|
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
## Requirements
|
|
177
|
-
Python 3.
|
|
177
|
+
Python 3.9 or higher.
|
|
178
178
|
|
|
179
179
|
## Source code
|
|
180
180
|
The source for this package can be found [here](https://github.com/scanoss/scanoss.py).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
date: 20250714165622, utime: 1752512182
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py
RENAMED
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py
RENAMED
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py
RENAMED
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2.py
RENAMED
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.28.3 → scanoss-1.29.0}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|