amalgam-lang 9.0.0__py3-none-win_amd64.whl → 10.0.0__py3-none-win_amd64.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 +17 -4
- amalgam/lib/version.json +3 -3
- amalgam/lib/windows/amd64/amalgam-mt-noavx.dll +0 -0
- amalgam/lib/windows/amd64/amalgam-mt.dll +0 -0
- amalgam/lib/windows/amd64/amalgam-omp.dll +0 -0
- amalgam/lib/windows/amd64/amalgam-st.dll +0 -0
- amalgam/lib/windows/amd64/docs/version.json +1 -1
- {amalgam_lang-9.0.0.dist-info → amalgam_lang-10.0.0.dist-info}/METADATA +3 -3
- amalgam_lang-10.0.0.dist-info/RECORD +13 -0
- amalgam_lang-9.0.0.dist-info/RECORD +0 -13
- {amalgam_lang-9.0.0.dist-info → amalgam_lang-10.0.0.dist-info}/LICENSE.txt +0 -0
- {amalgam_lang-9.0.0.dist-info → amalgam_lang-10.0.0.dist-info}/WHEEL +0 -0
- {amalgam_lang-9.0.0.dist-info → amalgam_lang-10.0.0.dist-info}/top_level.txt +0 -0
amalgam/api.py
CHANGED
|
@@ -650,8 +650,11 @@ class Amalgam:
|
|
|
650
650
|
self,
|
|
651
651
|
handle: str,
|
|
652
652
|
amlg_path: str,
|
|
653
|
+
*,
|
|
653
654
|
persist: bool = False,
|
|
654
655
|
load_contained: bool = False,
|
|
656
|
+
escape_filename: bool = False,
|
|
657
|
+
escape_contained_filenames: bool = True,
|
|
655
658
|
write_log: str = "",
|
|
656
659
|
print_log: str = ""
|
|
657
660
|
) -> LoadEntityStatus:
|
|
@@ -669,6 +672,11 @@ class Amalgam:
|
|
|
669
672
|
saved over the original source.
|
|
670
673
|
load_contained : bool, default False
|
|
671
674
|
If set to true, contained entities will be loaded.
|
|
675
|
+
escape_filename : bool, default False
|
|
676
|
+
If set to true, the filename will be aggressively escaped.
|
|
677
|
+
escape_contained_filenames : bool, default True
|
|
678
|
+
If set to true, the filenames of contained entities will be
|
|
679
|
+
aggressively escaped.
|
|
672
680
|
write_log : str, default ""
|
|
673
681
|
Path to the write log. If empty string, the write log is
|
|
674
682
|
not generated.
|
|
@@ -682,7 +690,7 @@ class Amalgam:
|
|
|
682
690
|
Status of LoadEntity call.
|
|
683
691
|
"""
|
|
684
692
|
self.amlg.LoadEntity.argtype = [
|
|
685
|
-
c_char_p, c_char_p, c_bool, c_bool, c_char_p, c_char_p]
|
|
693
|
+
c_char_p, c_char_p, c_bool, c_bool, c_bool, c_bool, c_char_p, c_char_p]
|
|
686
694
|
self.amlg.LoadEntity.restype = _LoadEntityStatus
|
|
687
695
|
handle_buf = self.str_to_char_p(handle)
|
|
688
696
|
amlg_path_buf = self.str_to_char_p(amlg_path)
|
|
@@ -692,11 +700,14 @@ class Amalgam:
|
|
|
692
700
|
load_command_log_entry = (
|
|
693
701
|
f"LOAD_ENTITY \"{self.escape_double_quotes(handle)}\" "
|
|
694
702
|
f"\"{self.escape_double_quotes(amlg_path)}\" {str(persist).lower()} "
|
|
695
|
-
f"{str(load_contained).lower()}
|
|
703
|
+
f"{str(load_contained).lower()} {str(escape_filename).lower()} "
|
|
704
|
+
f"{str(escape_contained_filenames).lower()} \"{write_log}\" "
|
|
705
|
+
f"\"{print_log}\""
|
|
696
706
|
)
|
|
697
707
|
self._log_execution(load_command_log_entry)
|
|
698
708
|
result = LoadEntityStatus(self, self.amlg.LoadEntity(
|
|
699
709
|
handle_buf, amlg_path_buf, persist, load_contained,
|
|
710
|
+
escape_filename, escape_contained_filenames,
|
|
700
711
|
write_log_buf, print_log_buf))
|
|
701
712
|
self._log_reply(result)
|
|
702
713
|
|
|
@@ -742,6 +753,7 @@ class Amalgam:
|
|
|
742
753
|
self,
|
|
743
754
|
handle: str,
|
|
744
755
|
clone_handle: str,
|
|
756
|
+
*,
|
|
745
757
|
amlg_path: str = "",
|
|
746
758
|
persist: bool = False,
|
|
747
759
|
write_log: str = "",
|
|
@@ -788,8 +800,8 @@ class Amalgam:
|
|
|
788
800
|
f'"{write_log}" "{print_log}"'
|
|
789
801
|
)
|
|
790
802
|
self._log_execution(clone_command_log_entry)
|
|
791
|
-
result = self.amlg.
|
|
792
|
-
handle_buf, amlg_path_buf, persist,
|
|
803
|
+
result = self.amlg.CloneEntity(
|
|
804
|
+
handle_buf, clone_handle_buf, amlg_path_buf, persist,
|
|
793
805
|
write_log_buf, print_log_buf)
|
|
794
806
|
self._log_reply(result)
|
|
795
807
|
|
|
@@ -806,6 +818,7 @@ class Amalgam:
|
|
|
806
818
|
self,
|
|
807
819
|
handle: str,
|
|
808
820
|
amlg_path: str,
|
|
821
|
+
*,
|
|
809
822
|
update_persistence_location: bool = False,
|
|
810
823
|
store_contained: bool = False
|
|
811
824
|
) -> None:
|
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": "51.0.0",
|
|
4
|
+
"amalgam_sha": "99b424f7df08950d6adecf400a720764afdfade4",
|
|
5
|
+
"amalgam_url": "https://github.com/howsoai/amalgam/releases/tag/51.0.0",
|
|
6
6
|
"amalgam_build_date": "",
|
|
7
7
|
"amalgam_display_title": ""
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amalgam-lang
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0.0
|
|
4
4
|
Summary: A direct interface with Amalgam compiled DLL or so.
|
|
5
5
|
Author: Howso Incorporated
|
|
6
6
|
Author-email: support@howso.com
|
|
@@ -675,17 +675,17 @@ Classifier: Intended Audience :: Science/Research
|
|
|
675
675
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
676
676
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
677
677
|
Classifier: Programming Language :: Python :: 3
|
|
678
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
679
678
|
Classifier: Programming Language :: Python :: 3.9
|
|
680
679
|
Classifier: Programming Language :: Python :: 3.10
|
|
681
680
|
Classifier: Programming Language :: Python :: 3.11
|
|
681
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
682
682
|
Classifier: Operating System :: MacOS
|
|
683
683
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
684
684
|
Classifier: Operating System :: Microsoft :: Windows
|
|
685
685
|
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
|
|
686
686
|
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
|
|
687
687
|
Classifier: Operating System :: POSIX :: Linux
|
|
688
|
-
Requires-Python: >=3.
|
|
688
|
+
Requires-Python: >=3.9
|
|
689
689
|
Description-Content-Type: text/markdown
|
|
690
690
|
License-File: LICENSE.txt
|
|
691
691
|
Provides-Extra: dev
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
amalgam/__init__.py,sha256=oHu7Zr4eGDUqj93pLwz8t7gLa8lpAx6Q-xbGiJ3nJx0,18
|
|
2
|
+
amalgam/api.py,sha256=jNrmNzRdkKTym8B0QHLA-nDUFbCtjwimgDX9Uub5rUI,40993
|
|
3
|
+
amalgam/lib/version.json,sha256=-mFy7Urwtdr8Y2iJo7xeev_n1o_uj8iFYldbaT53yTM,250
|
|
4
|
+
amalgam/lib/windows/amd64/amalgam-mt-noavx.dll,sha256=G7spOR9KS9TzYcveX-oL6qHOZn6nm7fHK3gVSWzXnbA,2587136
|
|
5
|
+
amalgam/lib/windows/amd64/amalgam-mt.dll,sha256=TuflUzpInRnu8BGQDuYHzaf2tVT4_LNOvlPDbUVI83k,2522112
|
|
6
|
+
amalgam/lib/windows/amd64/amalgam-omp.dll,sha256=m4XgiYqzzhhc_sXB3D59qoudci60kONe2FlYkE60V58,2435584
|
|
7
|
+
amalgam/lib/windows/amd64/amalgam-st.dll,sha256=SF2GQ4wNISFzIIqO69h3g1zRNs91RKxZgFQST9L23PU,2434560
|
|
8
|
+
amalgam/lib/windows/amd64/docs/version.json,sha256=V8M2xjl9puKbemZiTTp6dT9O29vAC0W0hwx8FCopPWo,27
|
|
9
|
+
amalgam_lang-10.0.0.dist-info/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
|
|
10
|
+
amalgam_lang-10.0.0.dist-info/METADATA,sha256=5jAktpQp3iXxJvIeSMZCrK-YjFBt_asUQS8MaRvnSxU,43353
|
|
11
|
+
amalgam_lang-10.0.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
12
|
+
amalgam_lang-10.0.0.dist-info/top_level.txt,sha256=rmPHU144SyaB25u5-FAQyECAQnJ39NvuJEcKXMRcdBo,8
|
|
13
|
+
amalgam_lang-10.0.0.dist-info/RECORD,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
amalgam/__init__.py,sha256=oHu7Zr4eGDUqj93pLwz8t7gLa8lpAx6Q-xbGiJ3nJx0,18
|
|
2
|
-
amalgam/api.py,sha256=3gja53jwoM6mVSkIN2Dt9QvRLSywDHixp-VRpQAn91E,40396
|
|
3
|
-
amalgam/lib/version.json,sha256=593CC3b-oEtCtETprH2JIAw7hmYV5DUssQT1cVOxh2c,250
|
|
4
|
-
amalgam/lib/windows/amd64/amalgam-mt-noavx.dll,sha256=ycp32qbodQppsQjqunduVgQ9X8qxq-jfnnbBg5jqFe4,2561024
|
|
5
|
-
amalgam/lib/windows/amd64/amalgam-mt.dll,sha256=AqZqzwW0nMkVZ-AHp14mzIMhu9fTzrwt-56JEMZUsKQ,2498048
|
|
6
|
-
amalgam/lib/windows/amd64/amalgam-omp.dll,sha256=g_xxHjchWrnRGy2wAyVZ91dkmMyxIqSML2_MQ0jKFTE,2411008
|
|
7
|
-
amalgam/lib/windows/amd64/amalgam-st.dll,sha256=bcvGbFtShWvvmGVW7PrHpNIJj-vViQ6oddkQqdcMbRA,2409984
|
|
8
|
-
amalgam/lib/windows/amd64/docs/version.json,sha256=CJwSJ9wg6f26GcyDPZiLpvi5Lp_iyYx6W0-IXtqspUU,27
|
|
9
|
-
amalgam_lang-9.0.0.dist-info/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
|
|
10
|
-
amalgam_lang-9.0.0.dist-info/METADATA,sha256=S86jwfOPMr0QY2oNYjgXkyvSZaR9_HT9WtLom9ZhWk8,43351
|
|
11
|
-
amalgam_lang-9.0.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
12
|
-
amalgam_lang-9.0.0.dist-info/top_level.txt,sha256=rmPHU144SyaB25u5-FAQyECAQnJ39NvuJEcKXMRcdBo,8
|
|
13
|
-
amalgam_lang-9.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|