cornflow 1.1.2__py3-none-any.whl → 1.1.5a1__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.
- cornflow/app.py +8 -0
- cornflow/config.py +43 -5
- cornflow/endpoints/login.py +86 -35
- cornflow/schemas/user.py +18 -2
- cornflow/shared/authentication/auth.py +10 -4
- cornflow/shared/exceptions.py +9 -8
- cornflow/tests/custom_test_case.py +342 -0
- cornflow/tests/unit/test_actions.py +46 -1
- cornflow/tests/unit/test_alarms.py +57 -9
- cornflow/tests/unit/test_apiview.py +45 -1
- cornflow/tests/unit/test_application.py +60 -0
- cornflow/tests/unit/test_cases.py +483 -5
- cornflow/tests/unit/test_cli.py +233 -0
- cornflow/tests/unit/test_commands.py +230 -2
- cornflow/tests/unit/test_dags.py +139 -11
- cornflow/tests/unit/test_data_checks.py +134 -2
- cornflow/tests/unit/test_log_in.py +481 -3
- {cornflow-1.1.2.dist-info → cornflow-1.1.5a1.dist-info}/METADATA +23 -19
- {cornflow-1.1.2.dist-info → cornflow-1.1.5a1.dist-info}/RECORD +22 -21
- {cornflow-1.1.2.dist-info → cornflow-1.1.5a1.dist-info}/WHEEL +1 -1
- {cornflow-1.1.2.dist-info → cornflow-1.1.5a1.dist-info}/entry_points.txt +0 -1
- {cornflow-1.1.2.dist-info → cornflow-1.1.5a1.dist-info}/top_level.txt +0 -0
@@ -1,47 +1,53 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: cornflow
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5a1
|
4
4
|
Summary: Cornflow is an open source multi-solver optimization server with a REST API built using flask.
|
5
5
|
Home-page: https://github.com/baobabsoluciones/cornflow
|
6
6
|
Author: baobab soluciones
|
7
7
|
Author-email: cornflow@baobabsoluciones.es
|
8
|
-
License: UNKNOWN
|
9
|
-
Platform: UNKNOWN
|
10
8
|
Classifier: Programming Language :: Python :: 3
|
11
9
|
Classifier: License :: OSI Approved :: Apache Software License
|
12
10
|
Classifier: Operating System :: OS Independent
|
13
11
|
Classifier: Development Status :: 5 - Production/Stable
|
14
|
-
Requires-Python: >=3.
|
12
|
+
Requires-Python: >=3.9
|
15
13
|
Requires-Dist: alembic==1.9.2
|
16
|
-
Requires-Dist: apispec<=6.
|
17
|
-
Requires-Dist: click<=8.1.
|
14
|
+
Requires-Dist: apispec<=6.3.0
|
15
|
+
Requires-Dist: click<=8.1.7
|
18
16
|
Requires-Dist: cornflow-client>=1.1.0
|
19
17
|
Requires-Dist: cryptography<=42.0.5
|
20
18
|
Requires-Dist: disposable-email-domains>=0.0.86
|
21
19
|
Requires-Dist: Flask==2.3.2
|
22
20
|
Requires-Dist: flask-apispec<=0.11.4
|
23
21
|
Requires-Dist: Flask-Bcrypt<=1.0.1
|
24
|
-
Requires-Dist: Flask-Compress<=1.
|
22
|
+
Requires-Dist: Flask-Compress<=1.14
|
25
23
|
Requires-Dist: flask-cors>=4.0.2
|
26
24
|
Requires-Dist: flask-inflate<=0.3
|
27
|
-
Requires-Dist: Flask-Migrate<=4.0.
|
28
|
-
Requires-Dist: Flask-RESTful<=0.3.
|
25
|
+
Requires-Dist: Flask-Migrate<=4.0.5
|
26
|
+
Requires-Dist: Flask-RESTful<=0.3.10
|
29
27
|
Requires-Dist: Flask-SQLAlchemy==2.5.1
|
30
28
|
Requires-Dist: gevent==23.9.1
|
29
|
+
Requires-Dist: greenlet<=2.0.2; python_version < "3.11"
|
30
|
+
Requires-Dist: greenlet==3.0.3; python_version >= "3.11"
|
31
31
|
Requires-Dist: gunicorn<=22.0.0
|
32
|
-
Requires-Dist: jsonpatch<=1.
|
32
|
+
Requires-Dist: jsonpatch<=1.33
|
33
33
|
Requires-Dist: ldap3<=2.9.1
|
34
|
-
Requires-Dist: marshmallow<=3.
|
34
|
+
Requires-Dist: marshmallow<=3.20.2
|
35
35
|
Requires-Dist: PuLP<=2.9.0
|
36
|
-
Requires-Dist: psycopg2<=2.
|
37
|
-
Requires-Dist: PyJWT<=2.
|
36
|
+
Requires-Dist: psycopg2<=2.9.9
|
37
|
+
Requires-Dist: PyJWT<=2.8.0
|
38
38
|
Requires-Dist: pytups>=0.86.2
|
39
39
|
Requires-Dist: requests<=2.32.3
|
40
40
|
Requires-Dist: SQLAlchemy==1.3.21
|
41
|
-
Requires-Dist: webargs<=8.
|
41
|
+
Requires-Dist: webargs<=8.3.0
|
42
42
|
Requires-Dist: Werkzeug==3.0.6
|
43
|
-
|
44
|
-
|
43
|
+
Dynamic: author
|
44
|
+
Dynamic: author-email
|
45
|
+
Dynamic: classifier
|
46
|
+
Dynamic: description
|
47
|
+
Dynamic: home-page
|
48
|
+
Dynamic: requires-dist
|
49
|
+
Dynamic: requires-python
|
50
|
+
Dynamic: summary
|
45
51
|
|
46
52
|
Cornflow
|
47
53
|
=========
|
@@ -256,5 +262,3 @@ or to get the html reports::
|
|
256
262
|
|
257
263
|
coverage html
|
258
264
|
|
259
|
-
|
260
|
-
|
@@ -5,8 +5,8 @@ airflow_config/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
5
5
|
airflow_config/plugins/XCom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
airflow_config/plugins/XCom/gce_xcom_backend.py,sha256=vCGvF2jbfZt5bOv-pk5Q_kUR6LomFUojIymimSJmj3o,1795
|
7
7
|
cornflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
cornflow/app.py,sha256=
|
9
|
-
cornflow/config.py,sha256=
|
8
|
+
cornflow/app.py,sha256=X73N64o8OGEqVIRWbC13e_4xb1lxzOH_BV3F3fzAmXE,7312
|
9
|
+
cornflow/config.py,sha256=IJg757HpjRgXdW1nINHMzWRxfGPW5_8ioV9ZW1aPSNs,5585
|
10
10
|
cornflow/gunicorn.py,sha256=uO-Yk7w7nvQSWh12iDxsVvlG-_2BiKIIjm2UiTk4P9E,480
|
11
11
|
cornflow/cli/__init__.py,sha256=5jBmSMpaE1S9rDaQjS8VHJ6x4FfJG8MhKzMzfw7G4Zc,743
|
12
12
|
cornflow/cli/actions.py,sha256=BdTFucT6gZ0QJqo96Zu0C2G9acZ578tLkktKSfTybJ8,414
|
@@ -49,7 +49,7 @@ cornflow/endpoints/execution.py,sha256=5SWwgbxBUj_gDU6Yb7Z-iKNakr9vr3g5qU82Bw9y5
|
|
49
49
|
cornflow/endpoints/health.py,sha256=TWmWjKdQOoDzpqwcfksuaAGOLIb2idxzPQcGMWrdkCY,1610
|
50
50
|
cornflow/endpoints/instance.py,sha256=WAnloocXFxSW4vunBJo3CIHx4NzC_0GPJh5bj3ETd9U,11615
|
51
51
|
cornflow/endpoints/licenses.py,sha256=82hHWGYvVIiyw9mlwGtMwJMDJ-ShHOi9rvuM6KvfE4U,873
|
52
|
-
cornflow/endpoints/login.py,sha256=
|
52
|
+
cornflow/endpoints/login.py,sha256=rchsQBL60FQXoub4dznB_UjQ5r9CmJBGnI-HnQY37Mk,9413
|
53
53
|
cornflow/endpoints/main_alarms.py,sha256=GUB-UdnvEFi7n6FGFKO9VtZeZb4Ox3NvBMhB7rdqNyI,2006
|
54
54
|
cornflow/endpoints/meta_resource.py,sha256=eqC6U8IpY65Cbk2WpdphRtE6o5kes2lB4LhezfUB7xI,8471
|
55
55
|
cornflow/endpoints/permission.py,sha256=FpEBIucfUl89UaJ80SC0VR6pFAdqdSsS43SdNkcXWtI,3751
|
@@ -114,14 +114,14 @@ cornflow/schemas/role.py,sha256=lZYoLpA0weuDiFgpk3PWrHYJdljvZ3HEIOS-ISNLcCg,469
|
|
114
114
|
cornflow/schemas/schemas.py,sha256=vNyOwrchuTT3TMR9Jj07pauSr2sFTM-rfIfiKUycOjo,433
|
115
115
|
cornflow/schemas/solution_log.py,sha256=jSutvj0-2RJIqzn7ANLFanAD4jrSDvtgqf6DF6UZBhs,2255
|
116
116
|
cornflow/schemas/tables.py,sha256=6uEmG_ddXVPk-itY0aWms568fKroWzv73DtaQ5aeVng,105
|
117
|
-
cornflow/schemas/user.py,sha256=
|
117
|
+
cornflow/schemas/user.py,sha256=E5XmdgU318l4n2tS7uvKzhs06MIYtvni5ZOE7-TwkV4,2860
|
118
118
|
cornflow/schemas/user_role.py,sha256=e5y6RgdZZtLqD-h2B3sa5WokI5-pT78tWw85IG34I74,615
|
119
119
|
cornflow/schemas/view.py,sha256=ctq9Y1TmjrWdyOqgDYeEx7qbbuNLKfSiNOlFTlXmpaw,429
|
120
120
|
cornflow/shared/__init__.py,sha256=1ahcBwWOsSjGI4FEm77JBQjitBdBszOncKcEMjzwGYE,29
|
121
121
|
cornflow/shared/compress.py,sha256=pohQaGs1xbH8CN6URIH6BAHA--pFq7Hmjz8oI3c3B5c,1347
|
122
122
|
cornflow/shared/const.py,sha256=nRZElCjbuJIpjzVlCfZjTN4mAbqDTXIyAbSMlkNL3n8,3440
|
123
123
|
cornflow/shared/email.py,sha256=QNDDMv86LZObkevSCyUbLQeR2UD3zWScPIr82NDzYHQ,3437
|
124
|
-
cornflow/shared/exceptions.py,sha256=
|
124
|
+
cornflow/shared/exceptions.py,sha256=tjXd4Hl-QPJviE2NviapS1rwd2NImFd3vMzmp6OTg28,6911
|
125
125
|
cornflow/shared/licenses.py,sha256=Lc71Jw2NxVTFWtoXdQ9wJX_o3BDfYg1xVoehDXvnCkQ,1328
|
126
126
|
cornflow/shared/log_config.py,sha256=FM2ajjp2MB4BlFbUHklnWInT7-LLjtrqQ0mo3k_HRmE,621
|
127
127
|
cornflow/shared/query_tools.py,sha256=6yGLCWjv-I2a_ZU4A0IymyJq67fZPZdRcCGOGQQpSXg,1199
|
@@ -129,27 +129,28 @@ cornflow/shared/utils.py,sha256=g2ZsD3SwsqIHXZ7GWVAVB0F9gX7mT9dQkPgR2Ahsh6M,860
|
|
129
129
|
cornflow/shared/utils_tables.py,sha256=A7bjpt7Metkb0FP7tKXMqOkak2fgi3O9dejYvoJBpb0,2236
|
130
130
|
cornflow/shared/validators.py,sha256=aFKAAJ2diElUA8WdDyCcXJI6r3FV7HFVzoOTC6t4f8Y,4803
|
131
131
|
cornflow/shared/authentication/__init__.py,sha256=cJIChk5X6hbA_16usEvfHr8g4JDFI6WKo0GPVOOiYHA,137
|
132
|
-
cornflow/shared/authentication/auth.py,sha256=
|
132
|
+
cornflow/shared/authentication/auth.py,sha256=VDRQaP9Oarg2i66CPAAQgvhw4uY1Un1SgTAnoMGa_Jc,18800
|
133
133
|
cornflow/shared/authentication/decorators.py,sha256=_QpwOU1kYzpaK85Dl0Btdj5hG8Ps47PFgySp_gqhlgk,1276
|
134
134
|
cornflow/shared/authentication/ldap.py,sha256=QfdC2X_ZMcIJabKC5pYWDGMhS5pIOJJvdZXuuiruq-M,4853
|
135
135
|
cornflow/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
136
136
|
cornflow/tests/const.py,sha256=_5BYFGN42Xg0PXMR8UU5DBL6dYmYn5rgRBgPyptrKso,2499
|
137
137
|
cornflow/tests/custom_liveServer.py,sha256=I_0YNrcKIwVmRov3zCQMWwcCWkMe5V246Hpa4gS8AZE,3079
|
138
|
-
cornflow/tests/custom_test_case.py,sha256=
|
138
|
+
cornflow/tests/custom_test_case.py,sha256=X1j-cy9QKhF4W6_7jcJsTm-0Jn6lluq6gj-g126dFpQ,35945
|
139
139
|
cornflow/tests/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
140
140
|
cornflow/tests/integration/test_commands.py,sha256=FZcoEM-05D4MBMe0L0V-0sxk_L0zMbzQxb9UCd7iBe0,695
|
141
141
|
cornflow/tests/integration/test_cornflowclient.py,sha256=ioAQmQKWW6mXVJhdF4LECZcGIOa_N0xPkFaGWGtxOO8,20963
|
142
142
|
cornflow/tests/ldap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
143
143
|
cornflow/tests/ldap/test_ldap_authentication.py,sha256=6Gu1WkF7MQmcV_10IJkpo2qEloZZ9zjpV18ANDD0HRw,4286
|
144
144
|
cornflow/tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
145
|
-
cornflow/tests/unit/test_actions.py,sha256=
|
146
|
-
cornflow/tests/unit/test_alarms.py,sha256=
|
147
|
-
cornflow/tests/unit/test_apiview.py,sha256=
|
148
|
-
cornflow/tests/unit/
|
149
|
-
cornflow/tests/unit/
|
150
|
-
cornflow/tests/unit/
|
151
|
-
cornflow/tests/unit/
|
152
|
-
cornflow/tests/unit/
|
145
|
+
cornflow/tests/unit/test_actions.py,sha256=Lgr_HYVLQ7PnAapC7Sz3oTrv0GWGva_6TAVMi6pERK0,3167
|
146
|
+
cornflow/tests/unit/test_alarms.py,sha256=GDqCszPgpyEgJ-NZsXWrNid4tzoOywVdPUCYsR_mV5M,2687
|
147
|
+
cornflow/tests/unit/test_apiview.py,sha256=ws74KU4O1VvKWsgLeFFpgDJxrTFf0cvB4NBX6Gaq7vw,3613
|
148
|
+
cornflow/tests/unit/test_application.py,sha256=ZVmTQDUOkPRxHqt6mWU9G_lQ3jJNMJR0cx7IkLMFGrU,1715
|
149
|
+
cornflow/tests/unit/test_cases.py,sha256=KnkvLsEOZXvosuE2fH8_i6iETlvWF3u04363rmmj8mM,38089
|
150
|
+
cornflow/tests/unit/test_cli.py,sha256=0l1_fYvJg-f_wA1SFgtMTzdBRy6uLhp58xWkNIR-tXQ,18602
|
151
|
+
cornflow/tests/unit/test_commands.py,sha256=kvO8Vn60rj3WBG2oXw7NpDSEYoGLNe806txbJPhtNJo,14722
|
152
|
+
cornflow/tests/unit/test_dags.py,sha256=-QSQpdQZywGTnCRxhpoe9ilT0D0BLQRfnh_OMD9tx0Q,13401
|
153
|
+
cornflow/tests/unit/test_data_checks.py,sha256=6s50d1iuRTUcAYn14oEcRS39ZZ6E9ussU4YpkpYhtC4,8612
|
153
154
|
cornflow/tests/unit/test_example_data.py,sha256=D-Tgnqw7NZlnBXaDcUU0reNhAca5JlJP2Sdn3KdS4Sw,4127
|
154
155
|
cornflow/tests/unit/test_executions.py,sha256=_hIaiZri7Blyx4DYhBDHh-0peU1HQh66RSPqQJFveE8,17501
|
155
156
|
cornflow/tests/unit/test_generate_from_schema.py,sha256=L1EdnASbDJ8SjrX1V4WnUKKwV0sRTwVnNYnxSpyeSeQ,15376
|
@@ -157,7 +158,7 @@ cornflow/tests/unit/test_health.py,sha256=0E0HXMb63_Z8drbLZdxnJwtTbQyaZS9ZEHut6q
|
|
157
158
|
cornflow/tests/unit/test_instances.py,sha256=RaD9Tue2HODKThBNhciu6krdIvrauDLxOq4Y6a_z8DU,10573
|
158
159
|
cornflow/tests/unit/test_instances_file.py,sha256=zXxSlOM_MMkFvpWNX-iatD40xoIAOGQkinCLf1txb0M,1986
|
159
160
|
cornflow/tests/unit/test_licenses.py,sha256=jgnfE4UMFooGn44HK_KspJXIpmLjUpK_WgsBBeTO5eI,1534
|
160
|
-
cornflow/tests/unit/test_log_in.py,sha256=
|
161
|
+
cornflow/tests/unit/test_log_in.py,sha256=FA08e221NhsFTdLV0n0BMf6SB9bZ2zJppBi7xQ9GlNg,16440
|
161
162
|
cornflow/tests/unit/test_main_alarms.py,sha256=y--A4Ap2X38TCCRgbimzaZ-QvnTqZY8KHCv7C8kTTwc,2060
|
162
163
|
cornflow/tests/unit/test_permissions.py,sha256=4mLj3GI0Bvhy927eXu_RyAmK8i2XD7raYc6W8lyAO04,8782
|
163
164
|
cornflow/tests/unit/test_roles.py,sha256=xZ3TohL_sv1ZBPvHv_nnYSsKEhBlrzIchx9soaTb5Ow,16581
|
@@ -168,8 +169,8 @@ cornflow/tests/unit/test_tables.py,sha256=dY55YgaCkyqwJnqn0LbZHNeXBoL4ZxXWwKkCoT
|
|
168
169
|
cornflow/tests/unit/test_token.py,sha256=OEVPgG8swSMkUbuGJGfGF5Z27utMLICn1eIyma1cM9E,3760
|
169
170
|
cornflow/tests/unit/test_users.py,sha256=WfaMcybPpR7rspXyvzHGgw25p751hMPAV0DOp_caSPM,22430
|
170
171
|
cornflow/tests/unit/tools.py,sha256=ag3sWv2WLi498R1GL5AOUnXqSsszD3UugzLZLC5NqAw,585
|
171
|
-
cornflow-1.1.
|
172
|
-
cornflow-1.1.
|
173
|
-
cornflow-1.1.
|
174
|
-
cornflow-1.1.
|
175
|
-
cornflow-1.1.
|
172
|
+
cornflow-1.1.5a1.dist-info/METADATA,sha256=x8cJzw5PEPdf64vx-u6tgsUiHvDGwRlIBMYmFBmFkm0,9496
|
173
|
+
cornflow-1.1.5a1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
174
|
+
cornflow-1.1.5a1.dist-info/entry_points.txt,sha256=q9cPKAFBsmHkERCqQ2JcOTM-tVBLHTl-DGxwCXowAWM,46
|
175
|
+
cornflow-1.1.5a1.dist-info/top_level.txt,sha256=Qj9kLFJW1PLb-ZV2s_aCkQ-Wi5W6KC6fFR-LTBrx-rU,24
|
176
|
+
cornflow-1.1.5a1.dist-info/RECORD,,
|
File without changes
|