scanoss 1.31.3__tar.gz → 1.31.5__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.
Files changed (118) hide show
  1. {scanoss-1.31.3/src/scanoss.egg-info → scanoss-1.31.5}/PKG-INFO +2 -1
  2. {scanoss-1.31.3 → scanoss-1.31.5}/pyproject.toml +1 -1
  3. {scanoss-1.31.3 → scanoss-1.31.5}/setup.cfg +1 -0
  4. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/__init__.py +1 -1
  5. scanoss-1.31.5/src/scanoss/api/common/v2/scanoss_common_pb2.py +63 -0
  6. scanoss-1.31.5/src/scanoss/api/common/v2/scanoss_common_pb2_grpc.py +24 -0
  7. scanoss-1.31.5/src/scanoss/api/components/v2/scanoss_components_pb2.py +72 -0
  8. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py +77 -16
  9. scanoss-1.31.5/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +76 -0
  10. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +105 -24
  11. scanoss-1.31.5/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +66 -0
  12. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +63 -12
  13. scanoss-1.31.5/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2.py +60 -0
  14. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2_grpc.py +63 -12
  15. scanoss-1.31.5/src/scanoss/api/licenses/v2/scanoss_licenses_pb2.py +84 -0
  16. scanoss-1.31.5/src/scanoss/api/licenses/v2/scanoss_licenses_pb2_grpc.py +302 -0
  17. scanoss-1.31.5/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +60 -0
  18. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +49 -8
  19. scanoss-1.31.5/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +52 -0
  20. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +49 -8
  21. scanoss-1.31.5/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +96 -0
  22. scanoss-1.31.5/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +406 -0
  23. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/cli.py +4 -3
  24. scanoss-1.31.5/src/scanoss/data/build_date.txt +1 -0
  25. scanoss-1.31.5/src/scanoss/inspection/__init__.py +23 -0
  26. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/dependency_track/project_violation.py +16 -9
  27. scanoss-1.31.5/src/scanoss/scanners/__init__.py +23 -0
  28. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/services/dependency_track_service.py +1 -1
  29. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/threadeddependencies.py +19 -18
  30. {scanoss-1.31.3 → scanoss-1.31.5/src/scanoss.egg-info}/PKG-INFO +2 -1
  31. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss.egg-info/SOURCES.txt +4 -0
  32. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss.egg-info/requires.txt +1 -0
  33. scanoss-1.31.3/src/scanoss/api/common/v2/scanoss_common_pb2.py +0 -38
  34. scanoss-1.31.3/src/scanoss/api/common/v2/scanoss_common_pb2_grpc.py +0 -4
  35. scanoss-1.31.3/src/scanoss/api/components/v2/scanoss_components_pb2.py +0 -61
  36. scanoss-1.31.3/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +0 -65
  37. scanoss-1.31.3/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +0 -55
  38. scanoss-1.31.3/src/scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2.py +0 -49
  39. scanoss-1.31.3/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +0 -49
  40. scanoss-1.31.3/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +0 -41
  41. scanoss-1.31.3/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +0 -49
  42. scanoss-1.31.3/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +0 -142
  43. scanoss-1.31.3/src/scanoss/data/build_date.txt +0 -1
  44. {scanoss-1.31.3 → scanoss-1.31.5}/LICENSE +0 -0
  45. {scanoss-1.31.3 → scanoss-1.31.5}/PACKAGE.md +0 -0
  46. {scanoss-1.31.3 → scanoss-1.31.5}/README.md +0 -0
  47. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/__init__.py +0 -0
  48. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/options/__init__.py +0 -0
  49. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/options/annotations_pb2.py +0 -0
  50. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/options/annotations_pb2_grpc.py +0 -0
  51. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/options/openapiv2_pb2.py +0 -0
  52. {scanoss-1.31.3 → scanoss-1.31.5}/src/protoc_gen_swagger/options/openapiv2_pb2_grpc.py +0 -0
  53. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/__init__.py +0 -0
  54. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/common/__init__.py +0 -0
  55. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/common/v2/__init__.py +0 -0
  56. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/components/__init__.py +0 -0
  57. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/components/v2/__init__.py +0 -0
  58. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/dependencies/__init__.py +0 -0
  59. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/dependencies/v2/__init__.py +0 -0
  60. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/geoprovenance/__init__.py +0 -0
  61. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/geoprovenance/v2/__init__.py +0 -0
  62. {scanoss-1.31.3/src/scanoss/export → scanoss-1.31.5/src/scanoss/api/licenses}/__init__.py +0 -0
  63. {scanoss-1.31.3/src/scanoss/inspection → scanoss-1.31.5/src/scanoss/api/licenses/v2}/__init__.py +0 -0
  64. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/scanning/__init__.py +0 -0
  65. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/scanning/v2/__init__.py +0 -0
  66. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/semgrep/__init__.py +0 -0
  67. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/semgrep/v2/__init__.py +0 -0
  68. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/vulnerabilities/__init__.py +0 -0
  69. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/api/vulnerabilities/v2/__init__.py +0 -0
  70. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/components.py +0 -0
  71. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/constants.py +0 -0
  72. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/cryptography.py +0 -0
  73. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/csvoutput.py +0 -0
  74. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/cyclonedx.py +0 -0
  75. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/data/scanoss-settings-schema.json +0 -0
  76. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/data/spdx-exceptions.json +0 -0
  77. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/data/spdx-licenses.json +0 -0
  78. {scanoss-1.31.3/src/scanoss/scanners → scanoss-1.31.5/src/scanoss/export}/__init__.py +0 -0
  79. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/export/dependency_track.py +0 -0
  80. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/file_filters.py +0 -0
  81. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/filecount.py +0 -0
  82. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/policy_check.py +0 -0
  83. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/raw/component_summary.py +0 -0
  84. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/raw/copyleft.py +0 -0
  85. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/raw/license_summary.py +0 -0
  86. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/raw/raw_base.py +0 -0
  87. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/raw/undeclared_component.py +0 -0
  88. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/inspection/utils/license_utils.py +0 -0
  89. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/results.py +0 -0
  90. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scancodedeps.py +0 -0
  91. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanner.py +0 -0
  92. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanners/container_scanner.py +0 -0
  93. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanners/folder_hasher.py +0 -0
  94. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanners/scanner_config.py +0 -0
  95. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanners/scanner_hfh.py +0 -0
  96. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanoss_settings.py +0 -0
  97. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanossapi.py +0 -0
  98. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanossbase.py +0 -0
  99. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanossgrpc.py +0 -0
  100. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scanpostprocessor.py +0 -0
  101. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/scantype.py +0 -0
  102. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/spdxlite.py +0 -0
  103. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/threadedscanning.py +0 -0
  104. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/utils/__init__.py +0 -0
  105. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/utils/abstract_presenter.py +0 -0
  106. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/utils/crc64.py +0 -0
  107. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/utils/file.py +0 -0
  108. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/utils/simhash.py +0 -0
  109. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss/winnowing.py +0 -0
  110. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss.egg-info/dependency_links.txt +0 -0
  111. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss.egg-info/entry_points.txt +0 -0
  112. {scanoss-1.31.3 → scanoss-1.31.5}/src/scanoss.egg-info/top_level.txt +0 -0
  113. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_csv_output.py +0 -0
  114. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_file_filters.py +0 -0
  115. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_policy_inspect.py +0 -0
  116. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_scan_post_processor.py +0 -0
  117. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_spdxlite.py +0 -0
  118. {scanoss-1.31.3 → scanoss-1.31.5}/tests/test_winnowing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scanoss
3
- Version: 1.31.3
3
+ Version: 1.31.5
4
4
  Summary: Simple Python library to leverage the SCANOSS APIs
5
5
  Home-page: https://scanoss.com
6
6
  Author: SCANOSS
@@ -30,6 +30,7 @@ Requires-Dist: packageurl-python
30
30
  Requires-Dist: pathspec
31
31
  Requires-Dist: jsonschema
32
32
  Requires-Dist: crc
33
+ Requires-Dist: protoc-gen-openapiv2
33
34
  Requires-Dist: cyclonedx-python-lib[validation]
34
35
  Provides-Extra: fast-winnowing
35
36
  Requires-Dist: scanoss_winnowing>=0.5.0; extra == "fast-winnowing"
@@ -24,4 +24,4 @@ line-ending = "auto"
24
24
  known-first-party = ["scanoss"]
25
25
 
26
26
  [tool.ruff.lint.pylint]
27
- max-args = 5
27
+ max-args = 6
@@ -39,6 +39,7 @@ install_requires =
39
39
  pathspec
40
40
  jsonschema
41
41
  crc
42
+ protoc-gen-openapiv2
42
43
  cyclonedx-python-lib[validation]
43
44
 
44
45
  [options.extras_require]
@@ -22,4 +22,4 @@ SPDX-License-Identifier: MIT
22
22
  THE SOFTWARE.
23
23
  """
24
24
 
25
- __version__ = '1.31.3'
25
+ __version__ = '1.31.5'
@@ -0,0 +1,63 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: scanoss/api/common/v2/scanoss-common.proto
5
+ # Protobuf Python Version: 6.31.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 0,
17
+ '',
18
+ 'scanoss/api/common/v2/scanoss-common.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
26
+ from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*scanoss/api/common/v2/scanoss-common.proto\x12\x15scanoss.api.common.v2\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\"T\n\x0eStatusResponse\x12\x31\n\x06status\x18\x01 \x01(\x0e\x32!.scanoss.api.common.v2.StatusCode\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x1e\n\x0b\x45\x63hoRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x1f\n\x0c\x45\x63hoResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"k\n\x10\x43omponentRequest\x12\x11\n\x04purl\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0brequirement\x18\x02 \x01(\t:/\x92\x41,2*{\"purl\":\"pkg:github/scanoss/engine@1.0.0\"}\"\xc8\x01\n\x11\x43omponentsRequest\x12@\n\ncomponents\x18\x01 \x03(\x0b\x32\'.scanoss.api.common.v2.ComponentRequestB\x03\xe0\x41\x02:q\x92\x41n2l{\"components\":[{\"purl\":\"pkg:github/scanoss/engine@1.0.0\"},{\"purl\":\"pkg:github/scanoss/scanoss.py@v1.30.0\"}]}\"r\n\x0bPurlRequest\x12\x37\n\x05purls\x18\x01 \x03(\x0b\x32(.scanoss.api.common.v2.PurlRequest.Purls\x1a*\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x13\n\x0brequirement\x18\x02 \x01(\t\")\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x13\n\x0brequirement\x18\x02 \x01(\t*`\n\nStatusCode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x1b\n\x17SUCCEEDED_WITH_WARNINGS\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x42/Z-github.com/scanoss/papi/api/commonv2;commonv2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.common.v2.scanoss_common_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'Z-github.com/scanoss/papi/api/commonv2;commonv2'
37
+ _globals['_COMPONENTREQUEST'].fields_by_name['purl']._loaded_options = None
38
+ _globals['_COMPONENTREQUEST'].fields_by_name['purl']._serialized_options = b'\340A\002'
39
+ _globals['_COMPONENTREQUEST']._loaded_options = None
40
+ _globals['_COMPONENTREQUEST']._serialized_options = b'\222A,2*{\"purl\":\"pkg:github/scanoss/engine@1.0.0\"}'
41
+ _globals['_COMPONENTSREQUEST'].fields_by_name['components']._loaded_options = None
42
+ _globals['_COMPONENTSREQUEST'].fields_by_name['components']._serialized_options = b'\340A\002'
43
+ _globals['_COMPONENTSREQUEST']._loaded_options = None
44
+ _globals['_COMPONENTSREQUEST']._serialized_options = b'\222An2l{\"components\":[{\"purl\":\"pkg:github/scanoss/engine@1.0.0\"},{\"purl\":\"pkg:github/scanoss/scanoss.py@v1.30.0\"}]}'
45
+ _globals['_STATUSCODE']._serialized_start=772
46
+ _globals['_STATUSCODE']._serialized_end=868
47
+ _globals['_STATUSRESPONSE']._serialized_start=150
48
+ _globals['_STATUSRESPONSE']._serialized_end=234
49
+ _globals['_ECHOREQUEST']._serialized_start=236
50
+ _globals['_ECHOREQUEST']._serialized_end=266
51
+ _globals['_ECHORESPONSE']._serialized_start=268
52
+ _globals['_ECHORESPONSE']._serialized_end=299
53
+ _globals['_COMPONENTREQUEST']._serialized_start=301
54
+ _globals['_COMPONENTREQUEST']._serialized_end=408
55
+ _globals['_COMPONENTSREQUEST']._serialized_start=411
56
+ _globals['_COMPONENTSREQUEST']._serialized_end=611
57
+ _globals['_PURLREQUEST']._serialized_start=613
58
+ _globals['_PURLREQUEST']._serialized_end=727
59
+ _globals['_PURLREQUEST_PURLS']._serialized_start=685
60
+ _globals['_PURLREQUEST_PURLS']._serialized_end=727
61
+ _globals['_PURL']._serialized_start=729
62
+ _globals['_PURL']._serialized_end=770
63
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.73.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in scanoss/api/common/v2/scanoss_common_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,72 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: scanoss/api/components/v2/scanoss-components.proto
5
+ # Protobuf Python Version: 6.31.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 0,
17
+ '',
18
+ 'scanoss/api/components/v2/scanoss-components.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
26
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
27
+ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2scanoss/api/components/v2/scanoss-components.proto\x12\x19scanoss.api.components.v2\x1a*scanoss/api/common/v2/scanoss-common.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"v\n\x11\x43ompSearchRequest\x12\x0e\n\x06search\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\t\x12\x11\n\tcomponent\x18\x03 \x01(\t\x12\x0f\n\x07package\x18\x04 \x01(\t\x12\r\n\x05limit\x18\x06 \x01(\x05\x12\x0e\n\x06offset\x18\x07 \x01(\x05\"\xca\x01\n\rCompStatistic\x12\x1a\n\x12total_source_files\x18\x01 \x01(\x05\x12\x13\n\x0btotal_lines\x18\x02 \x01(\x05\x12\x19\n\x11total_blank_lines\x18\x03 \x01(\x05\x12\x44\n\tlanguages\x18\x04 \x03(\x0b\x32\x31.scanoss.api.components.v2.CompStatistic.Language\x1a\'\n\x08Language\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x01(\x05\"\xfb\x01\n\x15\x43ompStatisticResponse\x12\x45\n\x05purls\x18\x01 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompStatisticResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x64\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12<\n\nstatistics\x18\x03 \x01(\x0b\x32(.scanoss.api.components.v2.CompStatistic\"\xd3\x01\n\x12\x43ompSearchResponse\x12K\n\ncomponents\x18\x01 \x03(\x0b\x32\x37.scanoss.api.components.v2.CompSearchResponse.Component\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x39\n\tComponent\x12\x11\n\tcomponent\x18\x01 \x01(\t\x12\x0c\n\x04purl\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\"1\n\x12\x43ompVersionRequest\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\xe4\x03\n\x13\x43ompVersionResponse\x12K\n\tcomponent\x18\x01 \x01(\x0b\x32\x38.scanoss.api.components.v2.CompVersionResponse.Component\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aO\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07spdx_id\x18\x02 \x01(\t\x12\x18\n\x10is_spdx_approved\x18\x03 \x01(\x08\x12\x0b\n\x03url\x18\x04 \x01(\t\x1ar\n\x07Version\x12\x0f\n\x07version\x18\x01 \x01(\t\x12H\n\x08licenses\x18\x04 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompVersionResponse.License\x12\x0c\n\x04\x64\x61te\x18\x05 \x01(\t\x1a\x83\x01\n\tComponent\x12\x11\n\tcomponent\x18\x01 \x01(\t\x12\x0c\n\x04purl\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12H\n\x08versions\x18\x04 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompVersionResponse.Version2\xcb\x04\n\nComponents\x12p\n\x04\x45\x63ho\x12\".scanoss.api.common.v2.EchoRequest\x1a#.scanoss.api.common.v2.EchoResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v2/components/echo\x12\x92\x01\n\x10SearchComponents\x12,.scanoss.api.components.v2.CompSearchRequest\x1a-.scanoss.api.components.v2.CompSearchResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/v2/components/search\x12\x9a\x01\n\x14GetComponentVersions\x12-.scanoss.api.components.v2.CompVersionRequest\x1a..scanoss.api.components.v2.CompVersionResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/v2/components/versions\x12\x98\x01\n\x16GetComponentStatistics\x12\".scanoss.api.common.v2.PurlRequest\x1a\x30.scanoss.api.components.v2.CompStatisticResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/api/v2/components/statistics:\x01*B\x9a\x03Z5github.com/scanoss/papi/api/componentsv2;componentsv2\x92\x41\xdf\x02\x12\x9d\x01\n\x1aSCANOSS Components Service\x12(Provides component intelligence services\"P\n\x12scanoss-components\x12%https://github.com/scanoss/components\x1a\x13support@scanoss.com2\x03\x32.0\x1a\x0f\x61pi.scanoss.com*\x02\x02\x01\x32\x10\x61pplication/json:\x10\x61pplication/jsonR;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07Z8\n6\n\x07\x61pi_key\x12+\x08\x02\x12\x1a\x41PI key for authentication\x1a\tx-api-key \x02\x62\r\n\x0b\n\x07\x61pi_key\x12\x00\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.components.v2.scanoss_components_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'Z5github.com/scanoss/papi/api/componentsv2;componentsv2\222A\337\002\022\235\001\n\032SCANOSS Components Service\022(Provides component intelligence services\"P\n\022scanoss-components\022%https://github.com/scanoss/components\032\023support@scanoss.com2\0032.0\032\017api.scanoss.com*\002\002\0012\020application/json:\020application/jsonR;\n\003404\0224\n*Returned when the resource does not exist.\022\006\n\004\232\002\001\007Z8\n6\n\007api_key\022+\010\002\022\032API key for authentication\032\tx-api-key \002b\r\n\013\n\007api_key\022\000'
38
+ _globals['_COMPONENTS'].methods_by_name['Echo']._loaded_options = None
39
+ _globals['_COMPONENTS'].methods_by_name['Echo']._serialized_options = b'\202\323\344\223\002\031\022\027/api/v2/components/echo'
40
+ _globals['_COMPONENTS'].methods_by_name['SearchComponents']._loaded_options = None
41
+ _globals['_COMPONENTS'].methods_by_name['SearchComponents']._serialized_options = b'\202\323\344\223\002\033\022\031/api/v2/components/search'
42
+ _globals['_COMPONENTS'].methods_by_name['GetComponentVersions']._loaded_options = None
43
+ _globals['_COMPONENTS'].methods_by_name['GetComponentVersions']._serialized_options = b'\202\323\344\223\002\035\022\033/api/v2/components/versions'
44
+ _globals['_COMPONENTS'].methods_by_name['GetComponentStatistics']._loaded_options = None
45
+ _globals['_COMPONENTS'].methods_by_name['GetComponentStatistics']._serialized_options = b'\202\323\344\223\002\"\"\035/api/v2/components/statistics:\001*'
46
+ _globals['_COMPSEARCHREQUEST']._serialized_start=203
47
+ _globals['_COMPSEARCHREQUEST']._serialized_end=321
48
+ _globals['_COMPSTATISTIC']._serialized_start=324
49
+ _globals['_COMPSTATISTIC']._serialized_end=526
50
+ _globals['_COMPSTATISTIC_LANGUAGE']._serialized_start=487
51
+ _globals['_COMPSTATISTIC_LANGUAGE']._serialized_end=526
52
+ _globals['_COMPSTATISTICRESPONSE']._serialized_start=529
53
+ _globals['_COMPSTATISTICRESPONSE']._serialized_end=780
54
+ _globals['_COMPSTATISTICRESPONSE_PURLS']._serialized_start=680
55
+ _globals['_COMPSTATISTICRESPONSE_PURLS']._serialized_end=780
56
+ _globals['_COMPSEARCHRESPONSE']._serialized_start=783
57
+ _globals['_COMPSEARCHRESPONSE']._serialized_end=994
58
+ _globals['_COMPSEARCHRESPONSE_COMPONENT']._serialized_start=937
59
+ _globals['_COMPSEARCHRESPONSE_COMPONENT']._serialized_end=994
60
+ _globals['_COMPVERSIONREQUEST']._serialized_start=996
61
+ _globals['_COMPVERSIONREQUEST']._serialized_end=1045
62
+ _globals['_COMPVERSIONRESPONSE']._serialized_start=1048
63
+ _globals['_COMPVERSIONRESPONSE']._serialized_end=1532
64
+ _globals['_COMPVERSIONRESPONSE_LICENSE']._serialized_start=1203
65
+ _globals['_COMPVERSIONRESPONSE_LICENSE']._serialized_end=1282
66
+ _globals['_COMPVERSIONRESPONSE_VERSION']._serialized_start=1284
67
+ _globals['_COMPVERSIONRESPONSE_VERSION']._serialized_end=1398
68
+ _globals['_COMPVERSIONRESPONSE_COMPONENT']._serialized_start=1401
69
+ _globals['_COMPVERSIONRESPONSE_COMPONENT']._serialized_end=1532
70
+ _globals['_COMPONENTS']._serialized_start=1535
71
+ _globals['_COMPONENTS']._serialized_end=2122
72
+ # @@protoc_insertion_point(module_scope)
@@ -1,10 +1,30 @@
1
1
  # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
2
  """Client and server classes corresponding to protobuf-defined services."""
3
3
  import grpc
4
+ import warnings
4
5
 
5
6
  from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
6
7
  from scanoss.api.components.v2 import scanoss_components_pb2 as scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2
7
8
 
9
+ GRPC_GENERATED_VERSION = '1.73.1'
10
+ GRPC_VERSION = grpc.__version__
11
+ _version_not_supported = False
12
+
13
+ try:
14
+ from grpc._utilities import first_version_is_lower
15
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
16
+ except ImportError:
17
+ _version_not_supported = True
18
+
19
+ if _version_not_supported:
20
+ raise RuntimeError(
21
+ f'The grpc package installed is at version {GRPC_VERSION},'
22
+ + f' but the generated code in scanoss/api/components/v2/scanoss_components_pb2_grpc.py depends on'
23
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
24
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
25
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
26
+ )
27
+
8
28
 
9
29
  class ComponentsStub(object):
10
30
  """
@@ -21,22 +41,22 @@ class ComponentsStub(object):
21
41
  '/scanoss.api.components.v2.Components/Echo',
22
42
  request_serializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoRequest.SerializeToString,
23
43
  response_deserializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoResponse.FromString,
24
- )
44
+ _registered_method=True)
25
45
  self.SearchComponents = channel.unary_unary(
26
46
  '/scanoss.api.components.v2.Components/SearchComponents',
27
47
  request_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchRequest.SerializeToString,
28
48
  response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchResponse.FromString,
29
- )
49
+ _registered_method=True)
30
50
  self.GetComponentVersions = channel.unary_unary(
31
51
  '/scanoss.api.components.v2.Components/GetComponentVersions',
32
52
  request_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionRequest.SerializeToString,
33
53
  response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionResponse.FromString,
34
- )
54
+ _registered_method=True)
35
55
  self.GetComponentStatistics = channel.unary_unary(
36
56
  '/scanoss.api.components.v2.Components/GetComponentStatistics',
37
57
  request_serializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.PurlRequest.SerializeToString,
38
58
  response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompStatisticResponse.FromString,
39
- )
59
+ _registered_method=True)
40
60
 
41
61
 
42
62
  class ComponentsServicer(object):
@@ -99,6 +119,7 @@ def add_ComponentsServicer_to_server(servicer, server):
99
119
  generic_handler = grpc.method_handlers_generic_handler(
100
120
  'scanoss.api.components.v2.Components', rpc_method_handlers)
101
121
  server.add_generic_rpc_handlers((generic_handler,))
122
+ server.add_registered_method_handlers('scanoss.api.components.v2.Components', rpc_method_handlers)
102
123
 
103
124
 
104
125
  # This class is part of an EXPERIMENTAL API.
@@ -118,11 +139,21 @@ class Components(object):
118
139
  wait_for_ready=None,
119
140
  timeout=None,
120
141
  metadata=None):
121
- return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/Echo',
142
+ return grpc.experimental.unary_unary(
143
+ request,
144
+ target,
145
+ '/scanoss.api.components.v2.Components/Echo',
122
146
  scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoRequest.SerializeToString,
123
147
  scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoResponse.FromString,
124
- options, channel_credentials,
125
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
148
+ options,
149
+ channel_credentials,
150
+ insecure,
151
+ call_credentials,
152
+ compression,
153
+ wait_for_ready,
154
+ timeout,
155
+ metadata,
156
+ _registered_method=True)
126
157
 
127
158
  @staticmethod
128
159
  def SearchComponents(request,
@@ -135,11 +166,21 @@ class Components(object):
135
166
  wait_for_ready=None,
136
167
  timeout=None,
137
168
  metadata=None):
138
- return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/SearchComponents',
169
+ return grpc.experimental.unary_unary(
170
+ request,
171
+ target,
172
+ '/scanoss.api.components.v2.Components/SearchComponents',
139
173
  scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchRequest.SerializeToString,
140
174
  scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchResponse.FromString,
141
- options, channel_credentials,
142
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
175
+ options,
176
+ channel_credentials,
177
+ insecure,
178
+ call_credentials,
179
+ compression,
180
+ wait_for_ready,
181
+ timeout,
182
+ metadata,
183
+ _registered_method=True)
143
184
 
144
185
  @staticmethod
145
186
  def GetComponentVersions(request,
@@ -152,11 +193,21 @@ class Components(object):
152
193
  wait_for_ready=None,
153
194
  timeout=None,
154
195
  metadata=None):
155
- return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/GetComponentVersions',
196
+ return grpc.experimental.unary_unary(
197
+ request,
198
+ target,
199
+ '/scanoss.api.components.v2.Components/GetComponentVersions',
156
200
  scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionRequest.SerializeToString,
157
201
  scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionResponse.FromString,
158
- options, channel_credentials,
159
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
202
+ options,
203
+ channel_credentials,
204
+ insecure,
205
+ call_credentials,
206
+ compression,
207
+ wait_for_ready,
208
+ timeout,
209
+ metadata,
210
+ _registered_method=True)
160
211
 
161
212
  @staticmethod
162
213
  def GetComponentStatistics(request,
@@ -169,8 +220,18 @@ class Components(object):
169
220
  wait_for_ready=None,
170
221
  timeout=None,
171
222
  metadata=None):
172
- return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/GetComponentStatistics',
223
+ return grpc.experimental.unary_unary(
224
+ request,
225
+ target,
226
+ '/scanoss.api.components.v2.Components/GetComponentStatistics',
173
227
  scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.PurlRequest.SerializeToString,
174
228
  scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompStatisticResponse.FromString,
175
- options, channel_credentials,
176
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
229
+ options,
230
+ channel_credentials,
231
+ insecure,
232
+ call_credentials,
233
+ compression,
234
+ wait_for_ready,
235
+ timeout,
236
+ metadata,
237
+ _registered_method=True)
@@ -0,0 +1,76 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: scanoss/api/cryptography/v2/scanoss-cryptography.proto
5
+ # Protobuf Python Version: 6.31.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 0,
17
+ '',
18
+ 'scanoss/api/cryptography/v2/scanoss-cryptography.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
26
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
27
+ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6scanoss/api/cryptography/v2/scanoss-cryptography.proto\x12\x1bscanoss.api.cryptography.v2\x1a*scanoss/api/common/v2/scanoss-common.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"0\n\tAlgorithm\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x10\n\x08strength\x18\x02 \x01(\t\"\xf3\x01\n\x11\x41lgorithmResponse\x12\x43\n\x05purls\x18\x01 \x03(\x0b\x32\x34.scanoss.api.cryptography.v2.AlgorithmResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x62\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12:\n\nalgorithms\x18\x03 \x03(\x0b\x32&.scanoss.api.cryptography.v2.Algorithm\"\x82\x02\n\x19\x41lgorithmsInRangeResponse\x12J\n\x05purls\x18\x01 \x03(\x0b\x32;.scanoss.api.cryptography.v2.AlgorithmsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x62\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x03(\t\x12:\n\nalgorithms\x18\x03 \x03(\x0b\x32&.scanoss.api.cryptography.v2.Algorithm\"\xe1\x01\n\x17VersionsInRangeResponse\x12H\n\x05purls\x18\x01 \x03(\x0b\x32\x39.scanoss.api.cryptography.v2.VersionsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x45\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x15\n\rversions_with\x18\x02 \x03(\t\x12\x18\n\x10versions_without\x18\x03 \x03(\t\"b\n\x04Hint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x0c\n\x04purl\x18\x06 \x01(\t\"\xe1\x01\n\rHintsResponse\x12?\n\x05purls\x18\x01 \x03(\x0b\x32\x30.scanoss.api.cryptography.v2.HintsResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aX\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x30\n\x05hints\x18\x03 \x03(\x0b\x32!.scanoss.api.cryptography.v2.Hint\"\xee\x01\n\x14HintsInRangeResponse\x12\x45\n\x05purls\x18\x01 \x03(\x0b\x32\x36.scanoss.api.cryptography.v2.HintsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aX\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x03(\t\x12\x30\n\x05hints\x18\x03 \x03(\x0b\x32!.scanoss.api.cryptography.v2.Hint2\x88\x07\n\x0c\x43ryptography\x12u\n\x04\x45\x63ho\x12\".scanoss.api.common.v2.EchoRequest\x1a#.scanoss.api.common.v2.EchoResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api/v2/cryptography/echo:\x01*\x12\x8f\x01\n\rGetAlgorithms\x12\".scanoss.api.common.v2.PurlRequest\x1a..scanoss.api.cryptography.v2.AlgorithmResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/api/v2/cryptography/algorithms:\x01*\x12\xa5\x01\n\x14GetAlgorithmsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x36.scanoss.api.cryptography.v2.AlgorithmsInRangeResponse\"1\x82\xd3\xe4\x93\x02+\"&/api/v2/cryptography/algorithmsInRange:\x01*\x12\x9f\x01\n\x12GetVersionsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x34.scanoss.api.cryptography.v2.VersionsInRangeResponse\"/\x82\xd3\xe4\x93\x02)\"$/api/v2/cryptography/versionsInRange:\x01*\x12\x96\x01\n\x0fGetHintsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x31.scanoss.api.cryptography.v2.HintsInRangeResponse\",\x82\xd3\xe4\x93\x02&\"!/api/v2/cryptography/hintsInRange:\x01*\x12\x8b\x01\n\x12GetEncryptionHints\x12\".scanoss.api.common.v2.PurlRequest\x1a*.scanoss.api.cryptography.v2.HintsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v2/cryptography/hints:\x01*B\x9e\x02Z9github.com/scanoss/papi/api/cryptographyv2;cryptographyv2\x92\x41\xdf\x01\x12y\n\x1cSCANOSS Cryptography Service\"T\n\x14scanoss-cryptography\x12\'https://github.com/scanoss/crpytography\x1a\x13support@scanoss.com2\x03\x32.0*\x01\x01\x32\x10\x61pplication/json:\x10\x61pplication/jsonR;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.cryptography.v2.scanoss_cryptography_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'Z9github.com/scanoss/papi/api/cryptographyv2;cryptographyv2\222A\337\001\022y\n\034SCANOSS Cryptography Service\"T\n\024scanoss-cryptography\022\'https://github.com/scanoss/crpytography\032\023support@scanoss.com2\0032.0*\001\0012\020application/json:\020application/jsonR;\n\003404\0224\n*Returned when the resource does not exist.\022\006\n\004\232\002\001\007'
38
+ _globals['_CRYPTOGRAPHY'].methods_by_name['Echo']._loaded_options = None
39
+ _globals['_CRYPTOGRAPHY'].methods_by_name['Echo']._serialized_options = b'\202\323\344\223\002\036\"\031/api/v2/cryptography/echo:\001*'
40
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetAlgorithms']._loaded_options = None
41
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetAlgorithms']._serialized_options = b'\202\323\344\223\002$\"\037/api/v2/cryptography/algorithms:\001*'
42
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetAlgorithmsInRange']._loaded_options = None
43
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetAlgorithmsInRange']._serialized_options = b'\202\323\344\223\002+\"&/api/v2/cryptography/algorithmsInRange:\001*'
44
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetVersionsInRange']._loaded_options = None
45
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetVersionsInRange']._serialized_options = b'\202\323\344\223\002)\"$/api/v2/cryptography/versionsInRange:\001*'
46
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetHintsInRange']._loaded_options = None
47
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetHintsInRange']._serialized_options = b'\202\323\344\223\002&\"!/api/v2/cryptography/hintsInRange:\001*'
48
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetEncryptionHints']._loaded_options = None
49
+ _globals['_CRYPTOGRAPHY'].methods_by_name['GetEncryptionHints']._serialized_options = b'\202\323\344\223\002\037\"\032/api/v2/cryptography/hints:\001*'
50
+ _globals['_ALGORITHM']._serialized_start=209
51
+ _globals['_ALGORITHM']._serialized_end=257
52
+ _globals['_ALGORITHMRESPONSE']._serialized_start=260
53
+ _globals['_ALGORITHMRESPONSE']._serialized_end=503
54
+ _globals['_ALGORITHMRESPONSE_PURLS']._serialized_start=405
55
+ _globals['_ALGORITHMRESPONSE_PURLS']._serialized_end=503
56
+ _globals['_ALGORITHMSINRANGERESPONSE']._serialized_start=506
57
+ _globals['_ALGORITHMSINRANGERESPONSE']._serialized_end=764
58
+ _globals['_ALGORITHMSINRANGERESPONSE_PURL']._serialized_start=666
59
+ _globals['_ALGORITHMSINRANGERESPONSE_PURL']._serialized_end=764
60
+ _globals['_VERSIONSINRANGERESPONSE']._serialized_start=767
61
+ _globals['_VERSIONSINRANGERESPONSE']._serialized_end=992
62
+ _globals['_VERSIONSINRANGERESPONSE_PURL']._serialized_start=923
63
+ _globals['_VERSIONSINRANGERESPONSE_PURL']._serialized_end=992
64
+ _globals['_HINT']._serialized_start=994
65
+ _globals['_HINT']._serialized_end=1092
66
+ _globals['_HINTSRESPONSE']._serialized_start=1095
67
+ _globals['_HINTSRESPONSE']._serialized_end=1320
68
+ _globals['_HINTSRESPONSE_PURLS']._serialized_start=1232
69
+ _globals['_HINTSRESPONSE_PURLS']._serialized_end=1320
70
+ _globals['_HINTSINRANGERESPONSE']._serialized_start=1323
71
+ _globals['_HINTSINRANGERESPONSE']._serialized_end=1561
72
+ _globals['_HINTSINRANGERESPONSE_PURL']._serialized_start=1473
73
+ _globals['_HINTSINRANGERESPONSE_PURL']._serialized_end=1561
74
+ _globals['_CRYPTOGRAPHY']._serialized_start=1564
75
+ _globals['_CRYPTOGRAPHY']._serialized_end=2468
76
+ # @@protoc_insertion_point(module_scope)