experimaestro 1.8.0rc6__py3-none-any.whl → 1.8.0rc7__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.
Potentially problematic release.
This version of experimaestro might be problematic. Click here for more details.
- experimaestro/core/identifier.py +296 -0
- experimaestro/core/objects/__init__.py +44 -0
- experimaestro/core/{objects.py → objects/config.py} +157 -549
- experimaestro/core/objects/config_utils.py +58 -0
- experimaestro/core/objects/config_walk.py +150 -0
- experimaestro/core/objects.pyi +6 -38
- experimaestro/core/types.py +28 -4
- experimaestro/notifications.py +1 -0
- experimaestro/scheduler/base.py +1 -0
- experimaestro/tests/core/__init__.py +0 -0
- experimaestro/tests/core/test_generics.py +206 -0
- experimaestro/tests/restart.py +3 -1
- experimaestro/tests/test_instance.py +3 -3
- experimaestro/tests/test_objects.py +20 -4
- experimaestro/tests/test_serializers.py +3 -3
- experimaestro/tests/test_types.py +2 -2
- {experimaestro-1.8.0rc6.dist-info → experimaestro-1.8.0rc7.dist-info}/METADATA +5 -5
- {experimaestro-1.8.0rc6.dist-info → experimaestro-1.8.0rc7.dist-info}/RECORD +21 -15
- {experimaestro-1.8.0rc6.dist-info → experimaestro-1.8.0rc7.dist-info}/LICENSE +0 -0
- {experimaestro-1.8.0rc6.dist-info → experimaestro-1.8.0rc7.dist-info}/WHEEL +0 -0
- {experimaestro-1.8.0rc6.dist-info → experimaestro-1.8.0rc7.dist-info}/entry_points.txt +0 -0
|
@@ -5,7 +5,7 @@ from experimaestro import Config, Param
|
|
|
5
5
|
from typing import Union
|
|
6
6
|
|
|
7
7
|
import pytest
|
|
8
|
-
from experimaestro.core.objects import
|
|
8
|
+
from experimaestro.core.objects import ConfigMixin
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def test_multiple_inheritance():
|
|
@@ -36,7 +36,7 @@ def test_multiple_inheritance():
|
|
|
36
36
|
assert issubclass(C.__xpmtype__.objecttype, B1.__xpmtype__.basetype)
|
|
37
37
|
assert issubclass(C.__xpmtype__.objecttype, B.__xpmtype__.basetype)
|
|
38
38
|
assert issubclass(C.__xpmtype__.objecttype, A.__xpmtype__.basetype)
|
|
39
|
-
assert not issubclass(C.__xpmtype__.objecttype,
|
|
39
|
+
assert not issubclass(C.__xpmtype__.objecttype, ConfigMixin)
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
def test_missing_hierarchy():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: experimaestro
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.0rc7
|
|
4
4
|
Summary: "Experimaestro is a computer science experiment manager"
|
|
5
5
|
License: GPL-3
|
|
6
6
|
Keywords: experiment manager
|
|
@@ -28,7 +28,7 @@ Requires-Dist: docstring-parser (>=0.15,<0.16)
|
|
|
28
28
|
Requires-Dist: fasteners (>=0.19,<0.20)
|
|
29
29
|
Requires-Dist: flask (>=2.3,<3.0)
|
|
30
30
|
Requires-Dist: flask-socketio (>=5.3,<6.0)
|
|
31
|
-
Requires-Dist: gevent (>=
|
|
31
|
+
Requires-Dist: gevent (>=24.11.1,<25.0.0)
|
|
32
32
|
Requires-Dist: gevent-websocket (>=0.10,<0.11)
|
|
33
33
|
Requires-Dist: huggingface-hub (>0.17)
|
|
34
34
|
Requires-Dist: humanfriendly (>=10,<11)
|
|
@@ -144,11 +144,11 @@ def cli(port, workdir, sleeptime):
|
|
|
144
144
|
# Sets the working directory and the name of the xp
|
|
145
145
|
with experiment(workdir, "helloworld", port=port) as xp:
|
|
146
146
|
# Submit the tasks
|
|
147
|
-
hello = Say(word="hello", sleeptime=sleeptime).submit()
|
|
148
|
-
world = Say(word="world", sleeptime=sleeptime).submit()
|
|
147
|
+
hello = Say.C(word="hello", sleeptime=sleeptime).submit()
|
|
148
|
+
world = Say.C(word="world", sleeptime=sleeptime).submit()
|
|
149
149
|
|
|
150
150
|
# Concat will depend on the two first tasks
|
|
151
|
-
Concat(strings=[hello, world], sleeptime=sleeptime).tag("y", 1).submit()
|
|
151
|
+
Concat.C(strings=[hello, world], sleeptime=sleeptime).tag("y", 1).submit()
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
if __name__ == "__main__":
|
|
@@ -15,11 +15,15 @@ experimaestro/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
15
15
|
experimaestro/core/arguments.py,sha256=7hpkU1f8LJ7JL8kQaD514h9CFSfMotYLsVfMsMmdpWk,6487
|
|
16
16
|
experimaestro/core/callbacks.py,sha256=59JfeUgWcCCdIQ3pvh-xNnoRp9BX8f4iOAkgm16wBzE,1660
|
|
17
17
|
experimaestro/core/context.py,sha256=41jvgudz4sgMDWrqOhPbgFRJHa3klWKvS3l_L661er0,2600
|
|
18
|
-
experimaestro/core/
|
|
19
|
-
experimaestro/core/objects.
|
|
18
|
+
experimaestro/core/identifier.py,sha256=JadBAdW2fOIgoTyMRtKI_RY9SXQP2B1vq1rUcV465Hs,10214
|
|
19
|
+
experimaestro/core/objects/__init__.py,sha256=ucJY5e17QQ1Kc-GYXeL7g8GFj8rP0XB4g2vrl32uhxY,721
|
|
20
|
+
experimaestro/core/objects/config.py,sha256=epISMLkB27N6180K7ZRP30OJYhTKKrmzgB2TtIMXKbg,56762
|
|
21
|
+
experimaestro/core/objects/config_utils.py,sha256=ZLECGkeIWdzunm8vwWsQhvcSgV1e064BgXbLiZnxSEM,1288
|
|
22
|
+
experimaestro/core/objects/config_walk.py,sha256=FOSsyJlntglWL8DshxwEbQPmNZ3ZE9r5yOvTKkmRTHw,4198
|
|
23
|
+
experimaestro/core/objects.pyi,sha256=xvlsRj4u1xsJxbevJl5Ner_HwmxR8x1JlAeIVDJzuy0,6498
|
|
20
24
|
experimaestro/core/serialization.py,sha256=TLMTfU627bs9_1gyY2O5tX_xy1GhePIzleXwi27ffz0,5683
|
|
21
25
|
experimaestro/core/serializers.py,sha256=R_CAMyjjfU1oi-eHU6VlEUixJpFayGqEPaYu7VsD9xA,1197
|
|
22
|
-
experimaestro/core/types.py,sha256=
|
|
26
|
+
experimaestro/core/types.py,sha256=AH3ni1nIKGTeRmc7ECL6GH_dYqiuZp_mAN4E-JqdqnY,21741
|
|
23
27
|
experimaestro/core/utils.py,sha256=JfC3qGUS9b6FUHc2VxIYUI9ysNpXSQ1LjOBkjfZ8n7o,495
|
|
24
28
|
experimaestro/exceptions.py,sha256=cUy83WHM3GeynxmMk6QRr5xsnpqUAdAoc-m3KQVrE2o,44
|
|
25
29
|
experimaestro/experiments/__init__.py,sha256=GcpDUIbCvhnv6rxFdAp4wTffCVNTv-InY6fbQAlTy-o,159
|
|
@@ -45,12 +49,12 @@ experimaestro/mkdocs/base.py,sha256=SwLh9s7BZfrTAZdBaealSqVeLAroDSwLLMOHmLCxMPQ,
|
|
|
45
49
|
experimaestro/mkdocs/metaloader.py,sha256=qCqnTWhlgxql-oe46E8AbvYdoM311-lQh-msmPnbllQ,1481
|
|
46
50
|
experimaestro/mkdocs/style.css,sha256=42kJ6Ozq_n4Iw5UfJ4-nO1u-HN3ELvV7Vhvj1Xkn7rQ,66
|
|
47
51
|
experimaestro/mypy.py,sha256=M39VFuDrab-ymlCDIF5jys9oKpTwnuBPzb1T8Un5J3s,285
|
|
48
|
-
experimaestro/notifications.py,sha256=
|
|
52
|
+
experimaestro/notifications.py,sha256=TLG9sw6bxukj0Wj4ZXASn-A9sQuET_exzUHtgk8AgRQ,9335
|
|
49
53
|
experimaestro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
54
|
experimaestro/rpyc.py,sha256=ZRKol-3tVoeoUITLNFenLF4dhWBLW_FvSV_GvsypmeI,3605
|
|
51
55
|
experimaestro/run.py,sha256=58ZlIZ2dQ7a0un2iGiyHJhK14zc18BnpEFDis7OyTPA,5222
|
|
52
56
|
experimaestro/scheduler/__init__.py,sha256=ERmmOxz_9mUkIuccNbzUa5Y6gVLLVDdyc4cCxbCCUbY,20
|
|
53
|
-
experimaestro/scheduler/base.py,sha256=
|
|
57
|
+
experimaestro/scheduler/base.py,sha256=294a_29UtsSfoW4NpL4_6mvDyDslG0qDXGmVkcGRUDA,35829
|
|
54
58
|
experimaestro/scheduler/dependencies.py,sha256=n9XegwrmjayOIxt3xhuTEBVEBGSq4oeVdzz-FviDGXo,1994
|
|
55
59
|
experimaestro/scheduler/dynamic_outputs.py,sha256=yYPL98I0nSgDjlE3Sk9dtvovh2PZ6rUDnKjDNnAg1dc,5732
|
|
56
60
|
experimaestro/scheduler/services.py,sha256=aCKkNZMULlceabqf-kOs_-C7KPINnjU3Q-I00o5x6iY,2189
|
|
@@ -97,6 +101,8 @@ experimaestro/tests/conftest.py,sha256=CtC6TvUS9sbgSc3pZYyTyEvfilnNGPpOUJvi-jn6t
|
|
|
97
101
|
experimaestro/tests/connectors/bin/executable.py,sha256=RmCrH_MQiHuPRyeTP2jut0ASpfvHEH1QCxRnlvDZW2s,21
|
|
98
102
|
experimaestro/tests/connectors/test_local.py,sha256=hMX3maYYRABGXqRZFZbTWjf-jcvPkBq9nReLtDwLydk,1204
|
|
99
103
|
experimaestro/tests/connectors/utils.py,sha256=9sM3Pwy2nRfSr7pwQoOoSCDhBrEcDsEElI08Fmrw_gU,702
|
|
104
|
+
experimaestro/tests/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
|
+
experimaestro/tests/core/test_generics.py,sha256=QfO25aSV6kKKlGGSvPK19pSOI86FhXKEy3iFQbspIzE,5185
|
|
100
106
|
experimaestro/tests/definitions_types.py,sha256=nMoQxZxhTJAYV87Ce9F2dAITxXGHf7Uw5j-MKsZ3LmQ,399
|
|
101
107
|
experimaestro/tests/launchers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
108
|
experimaestro/tests/launchers/bin/sacct,sha256=9mmRAYCE4RBSBOf7aanhFw9hzujOUlcw3OJmZJ3K-Wc,639
|
|
@@ -108,7 +114,7 @@ experimaestro/tests/launchers/config_slurm/__init__.py,sha256=47DEQpj8HBSa-_TImW
|
|
|
108
114
|
experimaestro/tests/launchers/config_slurm/launchers.py,sha256=DohwQVv1eXWfDpAYFg7KJekEm7q7G-lMou2lPg-PKOk,838
|
|
109
115
|
experimaestro/tests/launchers/test_local.py,sha256=4oGgWH2YgkEm-Muu6s4cwlgriXtYr5xAd72DVoIw_Yk,717
|
|
110
116
|
experimaestro/tests/launchers/test_slurm.py,sha256=5s-mMtqvE62xJ_GijLd4Hmsu3vWCRCbFy7cPce8YKsM,2534
|
|
111
|
-
experimaestro/tests/restart.py,sha256=
|
|
117
|
+
experimaestro/tests/restart.py,sha256=Mkf5CKZNKT4s2XEQMBFYWS6XqdmwI-OEzNnm2ttbtBc,4189
|
|
112
118
|
experimaestro/tests/restart_main.py,sha256=iAFzw0H1q9Aq7t6TrSAj236QBnYU52qx0VF-2dz6tx4,295
|
|
113
119
|
experimaestro/tests/scripts/notifyandwait.py,sha256=3BLXLI5XgP3BnKf6sQ56oKoMVqR80VMHmploJ3JO6Ko,407
|
|
114
120
|
experimaestro/tests/scripts/waitforfile.py,sha256=EDT-TuFi2fU_qt51K5EmAxjw_OnJKkBW7UCfhrtDbVw,120
|
|
@@ -122,18 +128,18 @@ experimaestro/tests/test_experiment.py,sha256=QWF9aHewL9hepagrKKFyfikKn3iiZ_lRRX
|
|
|
122
128
|
experimaestro/tests/test_findlauncher.py,sha256=8tjpR8bLMi6Gjs7KpY2t64izZso6bmY7vIivMflm-Bc,2965
|
|
123
129
|
experimaestro/tests/test_forward.py,sha256=9y1zYm7hT_Lx5citxnK7n20cMZ2WJbsaEeY5irCZ9U4,735
|
|
124
130
|
experimaestro/tests/test_identifier.py,sha256=L-r0S0dI9ErOZSmqGOPbbUZBvWJ-uzc3sijoyTPyMYU,13680
|
|
125
|
-
experimaestro/tests/test_instance.py,sha256=
|
|
126
|
-
experimaestro/tests/test_objects.py,sha256=
|
|
131
|
+
experimaestro/tests/test_instance.py,sha256=h-8UeoOlNsD-STWq5jbhmxw35CyiwJxtKAaUGmLPgB8,1521
|
|
132
|
+
experimaestro/tests/test_objects.py,sha256=zycxjvWuJAbPR8-q2T3zuBY9xfmlhf1YvtOcrImHxnc,2431
|
|
127
133
|
experimaestro/tests/test_outputs.py,sha256=DYzPk5TT_yLumy8SsQbl-S66ivVxJ-ERFrZ68KQZ4KU,781
|
|
128
134
|
experimaestro/tests/test_param.py,sha256=R6NTuOBXJiL0wnshwG1KRtGtLUijI5WnBzzdg26qiXo,6899
|
|
129
135
|
experimaestro/tests/test_progress.py,sha256=wtIGQzlV3ldd_wMng11LinVESchW-1J954mCJNlG28E,7580
|
|
130
|
-
experimaestro/tests/test_serializers.py,sha256=
|
|
136
|
+
experimaestro/tests/test_serializers.py,sha256=p3WdDsifizn5FDq_jIYTm0Z2AWf62P4B6nnzcVgHoYA,2341
|
|
131
137
|
experimaestro/tests/test_snippets.py,sha256=rojnyDjtmAMnSuDUj6Bv9XEgdP8oQf2nVc132JF8vsM,3081
|
|
132
138
|
experimaestro/tests/test_ssh.py,sha256=KS1NWltiXrJBSStY9d4mwrexeqgNGWmhxuAU_WLQDAU,1449
|
|
133
139
|
experimaestro/tests/test_tags.py,sha256=v_8_7LuEHfY_gfa0JRCUkmgJh8h6RMya_nd5NcPAJPw,2852
|
|
134
140
|
experimaestro/tests/test_tasks.py,sha256=bUSB_UT1MTN2P_RPHd4AT5NK-DFsgCVeFKSiXu3bEz8,9429
|
|
135
141
|
experimaestro/tests/test_tokens.py,sha256=U3nKBL1KftWhmk3dQZZLQd-MLJL_SscMjI3zMieMHfc,7823
|
|
136
|
-
experimaestro/tests/test_types.py,sha256=
|
|
142
|
+
experimaestro/tests/test_types.py,sha256=HVOu05ivOQB0Y7iBLVBg1J_FKg9E49pbU3yk0jvWA6U,1301
|
|
137
143
|
experimaestro/tests/test_validation.py,sha256=t0fu-5wkCzpUKLu8K0rbU5zDE_LtsgehWm84HtIF5JY,4076
|
|
138
144
|
experimaestro/tests/token_reschedule.py,sha256=V8lAbjTWTatBrBjxde_KN-fDEI4sQ3HNr4scCXBU6fI,1701
|
|
139
145
|
experimaestro/tests/utils.py,sha256=41krZFgUaCxCYBQPmo5dNFDd9W6RU8ZzzyzY3FyutUI,3805
|
|
@@ -150,8 +156,8 @@ experimaestro/utils/jupyter.py,sha256=JcEo2yQK7x3Cr1tNl5FqGMZOICxCv9DwMvL5xsWdQP
|
|
|
150
156
|
experimaestro/utils/resources.py,sha256=j-nvsTFwmgENMoVGOD2Ap-UD3WU85WkI0IgeSszMCX4,1328
|
|
151
157
|
experimaestro/utils/settings.py,sha256=jpFMqF0DLL4_P1xGal0zVR5cOrdD8O0Y2IOYvnRgN3k,793
|
|
152
158
|
experimaestro/xpmutils.py,sha256=S21eMbDYsHfvmZ1HmKpq5Pz5O-1HnCLYxKbyTBbASyQ,638
|
|
153
|
-
experimaestro-1.8.
|
|
154
|
-
experimaestro-1.8.
|
|
155
|
-
experimaestro-1.8.
|
|
156
|
-
experimaestro-1.8.
|
|
157
|
-
experimaestro-1.8.
|
|
159
|
+
experimaestro-1.8.0rc7.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
160
|
+
experimaestro-1.8.0rc7.dist-info/METADATA,sha256=s7LckvrnTMHZOy9lWIUYPeEFLRt0m6VDrmkmHplLRCY,6173
|
|
161
|
+
experimaestro-1.8.0rc7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
162
|
+
experimaestro-1.8.0rc7.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
|
|
163
|
+
experimaestro-1.8.0rc7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|