amalgam-lang 19.1.1__tar.gz → 20.0.1__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.
Potentially problematic release.
This version of amalgam-lang might be problematic. Click here for more details.
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/PKG-INFO +1 -1
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/api.py +73 -2
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/amd64/amalgam-mt-noavx.dylib +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/amd64/amalgam-mt.dylib +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/amd64/amalgam-omp.dylib +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/amd64/amalgam-st.dylib +0 -0
- amalgam_lang-20.0.1/amalgam/lib/darwin/amd64/docs/version.json +3 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/arm64/amalgam-mt.dylib +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/arm64/amalgam-omp.dylib +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/darwin/arm64/amalgam-st.dylib +0 -0
- amalgam_lang-20.0.1/amalgam/lib/darwin/arm64/docs/version.json +3 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/linux/amd64/amalgam-mt-afmi.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/amd64/amalgam-mt-noavx.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/amd64/amalgam-mt.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/amd64/amalgam-omp.so +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/linux/amd64/amalgam-st-afmi.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/amd64/amalgam-st.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/amd64/docs/version.json +3 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64/amalgam-mt.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64/amalgam-omp.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64/amalgam-st.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64/docs/version.json +3 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64_8a/amalgam-st.so +0 -0
- amalgam_lang-20.0.1/amalgam/lib/linux/arm64_8a/docs/version.json +3 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/version.json +3 -3
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/windows/amd64/amalgam-mt-noavx.dll +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/windows/amd64/amalgam-mt.dll +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/windows/amd64/amalgam-omp.dll +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/lib/windows/amd64/amalgam-st.dll +0 -0
- amalgam_lang-20.0.1/amalgam/lib/windows/amd64/docs/version.json +3 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam_lang.egg-info/PKG-INFO +1 -1
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/version.json +1 -1
- amalgam_lang-19.1.1/amalgam/lib/darwin/amd64/docs/version.json +0 -3
- amalgam_lang-19.1.1/amalgam/lib/darwin/arm64/docs/version.json +0 -3
- amalgam_lang-19.1.1/amalgam/lib/linux/amd64/amalgam-mt-noavx.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/amd64/amalgam-mt.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/amd64/amalgam-omp.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/amd64/amalgam-st.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/amd64/docs/version.json +0 -3
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64/amalgam-mt.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64/amalgam-omp.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64/amalgam-st.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64/docs/version.json +0 -3
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64_8a/amalgam-st.so +0 -0
- amalgam_lang-19.1.1/amalgam/lib/linux/arm64_8a/docs/version.json +0 -3
- amalgam_lang-19.1.1/amalgam/lib/windows/amd64/docs/version.json +0 -3
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.coveragerc +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.flake8 +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.github/CODEOWNERS +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.github/templates/version_summary.md +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.github/workflows/build-pr.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.github/workflows/build-release.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.github/workflows/build.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.gitignore +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/.pylintrc +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/CONTRIBUTING.md +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/LICENSE.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/MANIFEST.in +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/README.md +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam/__init__.py +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam_lang.egg-info/SOURCES.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam_lang.egg-info/dependency_links.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam_lang.egg-info/requires.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/amalgam_lang.egg-info/top_level.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/bin/build.sh +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/config/latest-mt-debug-howso.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/config/latest-mt-howso.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/config/latest-mt-traces-howso.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/config/latest-st-howso.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/config/latest-st-traces-howso.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/doc/dependency_decisions.yml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/pyproject.toml +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/requirements-3.10-dev.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/requirements-3.11-dev.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/requirements-3.12-dev.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/requirements-3.13-dev.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/requirements-3.9-dev.txt +0 -0
- {amalgam_lang-19.1.1 → amalgam_lang-20.0.1}/setup.cfg +0 -0
|
@@ -874,6 +874,77 @@ class Amalgam:
|
|
|
874
874
|
|
|
875
875
|
return result
|
|
876
876
|
|
|
877
|
+
def get_entity_permissions(
|
|
878
|
+
self,
|
|
879
|
+
handle: str
|
|
880
|
+
) -> bytes:
|
|
881
|
+
"""
|
|
882
|
+
Get the entity permissions as a JSON object.
|
|
883
|
+
|
|
884
|
+
Parameters
|
|
885
|
+
----------
|
|
886
|
+
handle : str
|
|
887
|
+
The handle of the entity.
|
|
888
|
+
|
|
889
|
+
Returns
|
|
890
|
+
-------
|
|
891
|
+
str
|
|
892
|
+
A JSON object representing the entity permissions.
|
|
893
|
+
"""
|
|
894
|
+
self.amlg.GetEntityPermissions.argtypes = [c_char_p]
|
|
895
|
+
self.amlg.GetEntityPermissions.restype = POINTER(c_char)
|
|
896
|
+
handle_buf = self.str_to_char_p(handle)
|
|
897
|
+
|
|
898
|
+
self._log_execution(f"GET_ENTITY_PERMISSIONS \"{self.escape_double_quotes(handle)}\"")
|
|
899
|
+
result = self.char_p_to_bytes(self.amlg.GetEntityPermissions(handle_buf))
|
|
900
|
+
self._log_reply(result)
|
|
901
|
+
|
|
902
|
+
del handle_buf
|
|
903
|
+
self.gc()
|
|
904
|
+
|
|
905
|
+
return result
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
def set_entity_permissions(
|
|
909
|
+
self,
|
|
910
|
+
handle: str,
|
|
911
|
+
json_permissions: str | bytes
|
|
912
|
+
) -> bool:
|
|
913
|
+
"""
|
|
914
|
+
Set the entity permissions to the object in json_permissions.
|
|
915
|
+
See Amalgam language documentation for details of valid permissions.
|
|
916
|
+
|
|
917
|
+
Parameters
|
|
918
|
+
----------
|
|
919
|
+
handle : str
|
|
920
|
+
The handle of the entity.
|
|
921
|
+
json_permissions : str or bytes
|
|
922
|
+
A JSON object representing the entity permissions.
|
|
923
|
+
|
|
924
|
+
Returns
|
|
925
|
+
-------
|
|
926
|
+
bool
|
|
927
|
+
True if the set was successful, false if not.
|
|
928
|
+
"""
|
|
929
|
+
self.amlg.SetEntityPermissions.argtypes = [c_char_p, c_char_p]
|
|
930
|
+
self.amlg.SetEntityPermissions.restype = c_bool
|
|
931
|
+
handle_buf = self.str_to_char_p(handle)
|
|
932
|
+
json_permissions_buf = self.str_to_char_p(json_permissions)
|
|
933
|
+
|
|
934
|
+
set_permissions_log_entry = (
|
|
935
|
+
f"SET_ENTITY_PERMISSIONS \"{self.escape_double_quotes(handle)}\" "
|
|
936
|
+
f"{json_permissions}"
|
|
937
|
+
)
|
|
938
|
+
self._log_execution(set_permissions_log_entry)
|
|
939
|
+
result = self.amlg.SetEntityPermissions(handle_buf, json_permissions_buf)
|
|
940
|
+
self._log_reply(result)
|
|
941
|
+
|
|
942
|
+
del handle_buf
|
|
943
|
+
del json_permissions_buf
|
|
944
|
+
self.gc()
|
|
945
|
+
|
|
946
|
+
return result
|
|
947
|
+
|
|
877
948
|
def clone_entity(
|
|
878
949
|
self,
|
|
879
950
|
handle: str,
|
|
@@ -1053,9 +1124,9 @@ class Amalgam:
|
|
|
1053
1124
|
handle_buf = self.str_to_char_p(handle)
|
|
1054
1125
|
rand_seed_buf = self.str_to_char_p(rand_seed)
|
|
1055
1126
|
|
|
1056
|
-
self._log_execution(f'SET_RANDOM_SEED "{self.escape_double_quotes(handle)}"'
|
|
1127
|
+
self._log_execution(f'SET_RANDOM_SEED "{self.escape_double_quotes(handle)}" '
|
|
1057
1128
|
f'"{self.escape_double_quotes(rand_seed)}"')
|
|
1058
|
-
result = self.amlg.SetRandomSeed(handle_buf,
|
|
1129
|
+
result = self.amlg.SetRandomSeed(handle_buf, rand_seed_buf)
|
|
1059
1130
|
self._log_reply(None)
|
|
1060
1131
|
|
|
1061
1132
|
del handle_buf
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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": "63.0.1",
|
|
4
|
+
"amalgam_sha": "e58eefabb6f5ef5ec946dc15e9fecd6e8e4ee548",
|
|
5
|
+
"amalgam_url": "https://github.com/howsoai/amalgam/releases/tag/63.0.1",
|
|
6
6
|
"amalgam_build_date": "",
|
|
7
7
|
"amalgam_display_title": ""
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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
|