reait 1.2.3__py3-none-any.whl → 1.2.5__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.
- reait/api.py +8 -1
- {reait-1.2.3.dist-info → reait-1.2.5.dist-info}/METADATA +1 -1
- reait-1.2.5.dist-info/RECORD +9 -0
- reait-1.2.3.dist-info/RECORD +0 -9
- {reait-1.2.3.dist-info → reait-1.2.5.dist-info}/WHEEL +0 -0
- {reait-1.2.3.dist-info → reait-1.2.5.dist-info}/entry_points.txt +0 -0
- {reait-1.2.3.dist-info → reait-1.2.5.dist-info}/licenses/LICENSE +0 -0
- {reait-1.2.3.dist-info → reait-1.2.5.dist-info}/top_level.txt +0 -0
reait/api.py
CHANGED
@@ -15,7 +15,7 @@ from pandas import DataFrame
|
|
15
15
|
from requests import request, Response, HTTPError
|
16
16
|
from sklearn.metrics.pairwise import cosine_similarity
|
17
17
|
|
18
|
-
__version__ = "1.2.
|
18
|
+
__version__ = "1.2.5"
|
19
19
|
|
20
20
|
re_conf = {
|
21
21
|
"apikey": environ.get("REAI_API_KEY", ""),
|
@@ -249,6 +249,7 @@ def RE_analyse(
|
|
249
249
|
skip_capabilities: bool = False,
|
250
250
|
skip_sbom: bool = False,
|
251
251
|
advanced_analysis: bool = False,
|
252
|
+
skip_cves: bool = False,
|
252
253
|
) -> Response:
|
253
254
|
"""
|
254
255
|
Start analysis job for binary file
|
@@ -1201,6 +1202,12 @@ def RE_models() -> Response:
|
|
1201
1202
|
res.raise_for_status()
|
1202
1203
|
return res
|
1203
1204
|
|
1205
|
+
def RE_models_v2() -> Response:
|
1206
|
+
res: Response = reveng_req(requests.get, "v2/models")
|
1207
|
+
|
1208
|
+
res.raise_for_status()
|
1209
|
+
return res
|
1210
|
+
|
1204
1211
|
|
1205
1212
|
# NOTE: newest API as per documentation still using /v1/ prefix
|
1206
1213
|
def RE_functions_dump(function_ids: list[int]) -> Response:
|
@@ -0,0 +1,9 @@
|
|
1
|
+
reait/__init__.py,sha256=EoVCKwQwWxEBfwe-iEE5rFKvhi1gPEA8NPhnzXJTb2Y,42
|
2
|
+
reait/api.py,sha256=9q0kwR6S72El7M6gxUZnNh7laoprqoixAW6Vq1_d36g,39035
|
3
|
+
reait/main.py,sha256=rSzEowDrK2KFmmLdbRNVsfVpvMLZNXA3fQOrBw03T4Y,20396
|
4
|
+
reait-1.2.5.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
5
|
+
reait-1.2.5.dist-info/METADATA,sha256=ZCFG-8okxHlrktKhtaV02ZEbEzc87rRSmv7138p7zBs,47663
|
6
|
+
reait-1.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
reait-1.2.5.dist-info/entry_points.txt,sha256=8Ek11o7a6O8hjBFw6-1vmkBfbv_45O2vOKj5CDUB1e4,42
|
8
|
+
reait-1.2.5.dist-info/top_level.txt,sha256=EnJssmctKe3Ugjcmu66L9_Q4elLdAwaXK6M8E6E8f_M,6
|
9
|
+
reait-1.2.5.dist-info/RECORD,,
|
reait-1.2.3.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
reait/__init__.py,sha256=EoVCKwQwWxEBfwe-iEE5rFKvhi1gPEA8NPhnzXJTb2Y,42
|
2
|
-
reait/api.py,sha256=Y7SZVr8d8gTE0y1Y7FVpEJGGzWhFtD00aHTtV7VXM8Q,38872
|
3
|
-
reait/main.py,sha256=rSzEowDrK2KFmmLdbRNVsfVpvMLZNXA3fQOrBw03T4Y,20396
|
4
|
-
reait-1.2.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
5
|
-
reait-1.2.3.dist-info/METADATA,sha256=Ue_-BK0dEm_0kI1O4WlBZeiYsvJJKeUyWA8lrYfmcy4,47663
|
6
|
-
reait-1.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
reait-1.2.3.dist-info/entry_points.txt,sha256=8Ek11o7a6O8hjBFw6-1vmkBfbv_45O2vOKj5CDUB1e4,42
|
8
|
-
reait-1.2.3.dist-info/top_level.txt,sha256=EnJssmctKe3Ugjcmu66L9_Q4elLdAwaXK6M8E6E8f_M,6
|
9
|
-
reait-1.2.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|