amalgam-lang 15.0.7__py3-none-manylinux_2_29_x86_64.whl → 16.0.0__py3-none-manylinux_2_29_x86_64.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.
Potentially problematic release.
This version of amalgam-lang might be problematic. Click here for more details.
- amalgam/api.py +43 -0
- amalgam/lib/linux/amd64/amalgam-mt-afmi.so +0 -0
- amalgam/lib/linux/amd64/amalgam-mt-noavx.so +0 -0
- amalgam/lib/linux/amd64/amalgam-mt.so +0 -0
- amalgam/lib/linux/amd64/amalgam-omp.so +0 -0
- amalgam/lib/linux/amd64/amalgam-st-afmi.so +0 -0
- amalgam/lib/linux/amd64/amalgam-st.so +0 -0
- amalgam/lib/linux/amd64/docs/version.json +1 -1
- amalgam/lib/version.json +3 -3
- {amalgam_lang-15.0.7.dist-info → amalgam_lang-16.0.0.dist-info}/METADATA +1 -1
- amalgam_lang-16.0.0.dist-info/RECORD +15 -0
- amalgam_lang-15.0.7.dist-info/RECORD +0 -15
- {amalgam_lang-15.0.7.dist-info → amalgam_lang-16.0.0.dist-info}/LICENSE.txt +0 -0
- {amalgam_lang-15.0.7.dist-info → amalgam_lang-16.0.0.dist-info}/WHEEL +0 -0
- {amalgam_lang-15.0.7.dist-info → amalgam_lang-16.0.0.dist-info}/top_level.txt +0 -0
amalgam/api.py
CHANGED
|
@@ -1058,6 +1058,49 @@ class Amalgam:
|
|
|
1058
1058
|
|
|
1059
1059
|
return result
|
|
1060
1060
|
|
|
1061
|
+
def eval_on_entity(
|
|
1062
|
+
self,
|
|
1063
|
+
handle: str,
|
|
1064
|
+
amlg: str
|
|
1065
|
+
) -> bytes:
|
|
1066
|
+
"""
|
|
1067
|
+
Execute arbitrary Amalgam code against an entity.
|
|
1068
|
+
|
|
1069
|
+
Parameters
|
|
1070
|
+
----------
|
|
1071
|
+
handle : str
|
|
1072
|
+
The handle of the amalgam entity.
|
|
1073
|
+
amlg : str
|
|
1074
|
+
The code to execute.
|
|
1075
|
+
|
|
1076
|
+
Returns
|
|
1077
|
+
-------
|
|
1078
|
+
bytes
|
|
1079
|
+
A byte-encoded json representation of the response.
|
|
1080
|
+
|
|
1081
|
+
"""
|
|
1082
|
+
self.amlg.EvalOnEntity.restype = POINTER(c_char)
|
|
1083
|
+
self.amlg.EvalOnEntity.argtypes = [
|
|
1084
|
+
c_char_p, c_char_p]
|
|
1085
|
+
handle_buf = self.str_to_char_p(handle)
|
|
1086
|
+
amlg_buf = self.str_to_char_p(amlg)
|
|
1087
|
+
|
|
1088
|
+
self._log_time("EXECUTION START")
|
|
1089
|
+
self._log_execution((
|
|
1090
|
+
"EVAL_ON_ENTITY "
|
|
1091
|
+
f"\"{self.escape_double_quotes(handle)}\" "
|
|
1092
|
+
f"\"{self.escape_double_quotes(amlg)}\""
|
|
1093
|
+
))
|
|
1094
|
+
result = self.char_p_to_bytes(self.amlg.EvalOnEntity(
|
|
1095
|
+
handle_buf, amlg_buf))
|
|
1096
|
+
self._log_time("EXECUTION STOP")
|
|
1097
|
+
self._log_reply(result)
|
|
1098
|
+
|
|
1099
|
+
del handle_buf
|
|
1100
|
+
del amlg_buf
|
|
1101
|
+
|
|
1102
|
+
return result
|
|
1103
|
+
|
|
1061
1104
|
def get_version_string(self) -> bytes:
|
|
1062
1105
|
"""
|
|
1063
1106
|
Get the version string of the amalgam dynamic library.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
amalgam/lib/version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": {
|
|
3
|
-
"amalgam": "
|
|
4
|
-
"amalgam_sha": "
|
|
5
|
-
"amalgam_url": "https://github.com/howsoai/amalgam/releases/tag/
|
|
3
|
+
"amalgam": "58.0.0",
|
|
4
|
+
"amalgam_sha": "f797e187f376c7a45cc70be01a253edef8d01e5e",
|
|
5
|
+
"amalgam_url": "https://github.com/howsoai/amalgam/releases/tag/58.0.0",
|
|
6
6
|
"amalgam_build_date": "",
|
|
7
7
|
"amalgam_display_title": ""
|
|
8
8
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
amalgam/__init__.py,sha256=oHu7Zr4eGDUqj93pLwz8t7gLa8lpAx6Q-xbGiJ3nJx0,18
|
|
2
|
+
amalgam/api.py,sha256=-iK6AmVZk5fJuBVRmllT3Jmv-GbGq2I7XKIURo-ByO0,39296
|
|
3
|
+
amalgam/lib/version.json,sha256=ZqDqmXt4mkYPFUFGe-DKdmBQztBXr9lZNPP3mXjHhV4,250
|
|
4
|
+
amalgam/lib/linux/amd64/amalgam-mt-afmi.so,sha256=E5urPUL_Mzgb9hJPnyvOGPbIOcK6gQaJWbo44BPMfF8,74002640
|
|
5
|
+
amalgam/lib/linux/amd64/amalgam-mt-noavx.so,sha256=WZavRsMQkXx2_gVX6WzKCY8Z6R6SsTIG1CdQ24c-Go8,4177000
|
|
6
|
+
amalgam/lib/linux/amd64/amalgam-mt.so,sha256=z8kwKcDH7AKbUrO7o6NXiP7Y-_cKGF4vXj2gQ10ORwg,4209720
|
|
7
|
+
amalgam/lib/linux/amd64/amalgam-omp.so,sha256=-4k2Gf4a1bSBx0lM_ySa-EZFTo2MTRbaIxRmIsfylw8,4048536
|
|
8
|
+
amalgam/lib/linux/amd64/amalgam-st-afmi.so,sha256=SjS68mQ4-MdEVk5DePJwjIk_QgQxqeY_krdew919Y28,70651088
|
|
9
|
+
amalgam/lib/linux/amd64/amalgam-st.so,sha256=hH4L67UC0Bx2NgCfzK_mw1pr6PDl8Q3mUP_ytKu0Y14,4037808
|
|
10
|
+
amalgam/lib/linux/amd64/docs/version.json,sha256=vkT3SE1CNlzjDD1Twp5CLdApAO1e4MYnFbnLN41BW5I,25
|
|
11
|
+
amalgam_lang-16.0.0.dist-info/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
|
|
12
|
+
amalgam_lang-16.0.0.dist-info/METADATA,sha256=nLchDWzZVCctfoyVN8AYZCOLZSLOXk5tEfe6Jv1dfps,43807
|
|
13
|
+
amalgam_lang-16.0.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
14
|
+
amalgam_lang-16.0.0.dist-info/top_level.txt,sha256=rmPHU144SyaB25u5-FAQyECAQnJ39NvuJEcKXMRcdBo,8
|
|
15
|
+
amalgam_lang-16.0.0.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
amalgam/__init__.py,sha256=oHu7Zr4eGDUqj93pLwz8t7gLa8lpAx6Q-xbGiJ3nJx0,18
|
|
2
|
-
amalgam/api.py,sha256=32K9fOdTJTiJYHqs3mX2q9dqxkLCA72POQ5Ri958Tzk,38164
|
|
3
|
-
amalgam/lib/version.json,sha256=b9tDRrnPKYn6XqCvyq_s_McEZMBZIgk1LpFC2SW9oDY,250
|
|
4
|
-
amalgam/lib/linux/amd64/amalgam-mt-afmi.so,sha256=BuX8j5pFOgzZDb-i1oSeO1GVPYq-kZM3C3YtexFwRZI,72749056
|
|
5
|
-
amalgam/lib/linux/amd64/amalgam-mt-noavx.so,sha256=VEqJeUrfKwPpMvYcGVjdqBkx922fEXWq90URzoM7PGg,4177744
|
|
6
|
-
amalgam/lib/linux/amd64/amalgam-mt.so,sha256=mp7JxMaFFEnkbiG1jeuy6jN0ubBlv2Neb2N-MTBP9T8,4206336
|
|
7
|
-
amalgam/lib/linux/amd64/amalgam-omp.so,sha256=assI0On4E2pZim9aMjjs5DY3HwCiz-izRjNf4LYSgI8,4046088
|
|
8
|
-
amalgam/lib/linux/amd64/amalgam-st-afmi.so,sha256=bUBsd4iCAbWGZZMcX7V1EhH8x163TG4ivaQs7Sd-llU,69464856
|
|
9
|
-
amalgam/lib/linux/amd64/amalgam-st.so,sha256=Y4_mXa5SFmmRaRb_WNINWItnufruGk-L_ceWVrt3Gvg,4039424
|
|
10
|
-
amalgam/lib/linux/amd64/docs/version.json,sha256=-KmyGrhS5d1ChEHxEJ1xkFbhJ-sZ7ndV2vg-jvdC9x0,25
|
|
11
|
-
amalgam_lang-15.0.7.dist-info/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
|
|
12
|
-
amalgam_lang-15.0.7.dist-info/METADATA,sha256=lV89BWLbhsE-BPgkP0vhiKPIWVI6eWrHDtqXFcwdGJo,43807
|
|
13
|
-
amalgam_lang-15.0.7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
14
|
-
amalgam_lang-15.0.7.dist-info/top_level.txt,sha256=rmPHU144SyaB25u5-FAQyECAQnJ39NvuJEcKXMRcdBo,8
|
|
15
|
-
amalgam_lang-15.0.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|