scanoss 1.34.0__py3-none-any.whl → 1.35.0__py3-none-any.whl

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/__init__.py CHANGED
@@ -22,4 +22,4 @@ SPDX-License-Identifier: MIT
22
22
  THE SOFTWARE.
23
23
  """
24
24
 
25
- __version__ = '1.34.0'
25
+ __version__ = '1.35.0'
scanoss/cli.py CHANGED
@@ -1070,7 +1070,8 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
1070
1070
  c_versions,
1071
1071
  c_licenses,
1072
1072
  ]:
1073
- p.add_argument('--grpc', action='store_true', help='Enable gRPC support')
1073
+ p.add_argument('--grpc', action='store_true', default=True, help='Use gRPC (default)')
1074
+ p.add_argument('--rest', action='store_true', dest='rest', help='Use REST instead of gRPC')
1074
1075
 
1075
1076
  # Help/Trace command options
1076
1077
  for p in [
@@ -1111,6 +1112,12 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
1111
1112
  p.add_argument('--quiet', '-q', action='store_true', help='Enable quiet mode')
1112
1113
 
1113
1114
  args = parser.parse_args()
1115
+
1116
+ # TODO: Remove this hack once we go back to using REST as default
1117
+ # Handle --rest overriding --grpc default
1118
+ if hasattr(args, 'rest') and args.rest:
1119
+ args.grpc = False
1120
+
1114
1121
  if args.version:
1115
1122
  ver(parser, args)
1116
1123
  sys.exit(0)
@@ -1 +1 @@
1
- date: 20251006080454, utime: 1759737894
1
+ date: 20251007151647, utime: 1759850207
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scanoss
3
- Version: 1.34.0
3
+ Version: 1.35.0
4
4
  Summary: Simple Python library to leverage the SCANOSS APIs
5
5
  Home-page: https://scanoss.com
6
6
  Author: SCANOSS
@@ -6,8 +6,8 @@ protoc_gen_swagger/options/annotations_pb2_grpc.py,sha256=KZOW9Ciio-f9iL42FuLFnS
6
6
  protoc_gen_swagger/options/openapiv2_pb2.py,sha256=w0xDs63uyrWGgzRaQZXfJpfI7Jpyvh-i9ay_uzOR-aM,16475
7
7
  protoc_gen_swagger/options/openapiv2_pb2.pyi,sha256=hYOV6uQ2yqhP89042_V3GuAsvoBBiXf5CGuYmnFnfv4,54665
8
8
  protoc_gen_swagger/options/openapiv2_pb2_grpc.py,sha256=sje9Nh3yE7CHCUWZwtjTgwsKB4GvyGz5vOrGTnRXJfc,917
9
- scanoss/__init__.py,sha256=iszlfD4fugPy_ty6keOVMBWVIX86uT6COrc_9OrF_i0,1146
10
- scanoss/cli.py,sha256=zpCPpDOh97vT9uRag6vFg7wwxbGkIYFwRHUYyBkVQ_0,93420
9
+ scanoss/__init__.py,sha256=b9jbvOsn1fEt-O0NxNrIhAXQFnJvzF8RfjiZMpxzxo4,1146
10
+ scanoss/cli.py,sha256=TXqwh5afwHN-e7OIncAoZbQZ5tbFCm6WQQxIA7NCDvs,93721
11
11
  scanoss/components.py,sha256=NFyt_w3aoMotr_ZaFU-ng00_89sruc0kgY7ERnJXkmM,15891
12
12
  scanoss/constants.py,sha256=On8mQ-8ardVMHSJ7WOJqeTvGXIOWPLCgUanjE7Wk-wE,351
13
13
  scanoss/cryptography.py,sha256=lOoD_dW16ARQxYiYyb5R8S7gx0FqWIsnGkKfsB0nGaU,10627
@@ -63,7 +63,7 @@ scanoss/api/vulnerabilities/__init__.py,sha256=IFrDk_DTJgKSZmmU-nuLXuq_s8sQZlrSC
63
63
  scanoss/api/vulnerabilities/v2/__init__.py,sha256=IFrDk_DTJgKSZmmU-nuLXuq_s8sQZlrSCHhIDMJT4r0,1122
64
64
  scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py,sha256=pmm0MSiXkdf8e4rCIIDRcsNRixR2vGvD1Xak4l-wdwI,16550
65
65
  scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py,sha256=BNxT5kUKQ-mgtOt5QYBM1Qrg5LNDqSpWKpfEZquIlsM,19127
66
- scanoss/data/build_date.txt,sha256=X7cDi6gjYeaXRna5VQRS0-BsXrAcps3ySPxwmmeGCDY,40
66
+ scanoss/data/build_date.txt,sha256=bfD4whIFHTFl82pMAxKj6p8gD2hRI5ULRF3642cQp_Q,40
67
67
  scanoss/data/scanoss-settings-schema.json,sha256=ClkRYAkjAN0Sk704G8BE_Ok006oQ6YnIGmX84CF8h9w,8798
68
68
  scanoss/data/spdx-exceptions.json,sha256=s7UTYxC7jqQXr11YBlIWYCNwN6lRDFTR33Y8rpN_dA4,17953
69
69
  scanoss/data/spdx-licenses.json,sha256=A6Z0q82gaTLtnopBfzeIVZjJFxkdRW1g2TuumQc-lII,228794
@@ -89,9 +89,9 @@ scanoss/utils/abstract_presenter.py,sha256=teiDTxBj5jBMCk2T8i4l1BJPf_u4zBLWrtCTF
89
89
  scanoss/utils/crc64.py,sha256=TMrwQimSdE6imhFOUL7oAG6Kxu-8qMpGWMuMg8QpSVs,3169
90
90
  scanoss/utils/file.py,sha256=62cA9a17TU9ZvfA3FY5HY4-QOajJeSrc8S6xLA_f-3M,2980
91
91
  scanoss/utils/simhash.py,sha256=6iu8DOcecPAY36SZjCOzrrLMT9oIE7-gI6QuYwUQ7B0,5793
92
- scanoss-1.34.0.dist-info/licenses/LICENSE,sha256=LLUaXoiyOroIbr5ubAyrxBOwSRLTm35ETO2FmLpy8QQ,1074
93
- scanoss-1.34.0.dist-info/METADATA,sha256=15TNOTcPJ_O6nfh7Rb40fHKiWcdWFBR2RRKdfubdtLQ,6181
94
- scanoss-1.34.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
- scanoss-1.34.0.dist-info/entry_points.txt,sha256=Uy28xnaDL5KQ7V77sZD5VLDXPNxYYzSr5tsqtiXVzAs,48
96
- scanoss-1.34.0.dist-info/top_level.txt,sha256=V11PrQ6Pnrc-nDF9xnisnJ8e6-i7HqSIKVNqduRWcL8,27
97
- scanoss-1.34.0.dist-info/RECORD,,
92
+ scanoss-1.35.0.dist-info/licenses/LICENSE,sha256=LLUaXoiyOroIbr5ubAyrxBOwSRLTm35ETO2FmLpy8QQ,1074
93
+ scanoss-1.35.0.dist-info/METADATA,sha256=-AO7LRmiZDfAUhDHart9bCFgX6i3ahHH1eH7TaQdbk8,6181
94
+ scanoss-1.35.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
+ scanoss-1.35.0.dist-info/entry_points.txt,sha256=Uy28xnaDL5KQ7V77sZD5VLDXPNxYYzSr5tsqtiXVzAs,48
96
+ scanoss-1.35.0.dist-info/top_level.txt,sha256=V11PrQ6Pnrc-nDF9xnisnJ8e6-i7HqSIKVNqduRWcL8,27
97
+ scanoss-1.35.0.dist-info/RECORD,,