ordinator 0.1.0__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.
Files changed (80) hide show
  1. ordinator-0.1.0/LICENCE +287 -0
  2. ordinator-0.1.0/PKG-INFO +54 -0
  3. ordinator-0.1.0/README.md +27 -0
  4. ordinator-0.1.0/pyproject.toml +67 -0
  5. ordinator-0.1.0/setup.cfg +4 -0
  6. ordinator-0.1.0/src/ordinator/__init__.py +10 -0
  7. ordinator-0.1.0/src/ordinator/bibliography.py +270 -0
  8. ordinator-0.1.0/src/ordinator/bridge.py +2424 -0
  9. ordinator-0.1.0/src/ordinator/config.py +148 -0
  10. ordinator-0.1.0/src/ordinator/console.py +73 -0
  11. ordinator-0.1.0/src/ordinator/engines/__init__.py +32 -0
  12. ordinator-0.1.0/src/ordinator/engines/descriptor.py +1156 -0
  13. ordinator-0.1.0/src/ordinator/engines/endpoints.py +145 -0
  14. ordinator-0.1.0/src/ordinator/engines/main.py +537 -0
  15. ordinator-0.1.0/src/ordinator/engines/runner.py +619 -0
  16. ordinator-0.1.0/src/ordinator/implementation.py +377 -0
  17. ordinator-0.1.0/src/ordinator/languages/__init__.py +442 -0
  18. ordinator-0.1.0/src/ordinator/languages/julia.py +114 -0
  19. ordinator-0.1.0/src/ordinator/languages/r.py +113 -0
  20. ordinator-0.1.0/src/ordinator/library_globals.py +465 -0
  21. ordinator-0.1.0/src/ordinator/ordering.py +336 -0
  22. ordinator-0.1.0/src/ordinator/placement.py +152 -0
  23. ordinator-0.1.0/src/ordinator/plan.py +669 -0
  24. ordinator-0.1.0/src/ordinator/plugins.py +161 -0
  25. ordinator-0.1.0/src/ordinator/provenance.py +961 -0
  26. ordinator-0.1.0/src/ordinator/reproducibility.py +268 -0
  27. ordinator-0.1.0/src/ordinator/roots.py +39 -0
  28. ordinator-0.1.0/src/ordinator/rsession.py +12 -0
  29. ordinator-0.1.0/src/ordinator/settings.py +738 -0
  30. ordinator-0.1.0/src/ordinator/step.py +285 -0
  31. ordinator-0.1.0/src/ordinator/strictness.py +282 -0
  32. ordinator-0.1.0/src/ordinator/trace.py +1383 -0
  33. ordinator-0.1.0/src/ordinator/utils.py +124 -0
  34. ordinator-0.1.0/src/ordinator/webui/__init__.py +11 -0
  35. ordinator-0.1.0/src/ordinator/webui/index.html +3467 -0
  36. ordinator-0.1.0/src/ordinator/webui/server.py +1642 -0
  37. ordinator-0.1.0/src/ordinator.egg-info/PKG-INFO +54 -0
  38. ordinator-0.1.0/src/ordinator.egg-info/SOURCES.txt +78 -0
  39. ordinator-0.1.0/src/ordinator.egg-info/dependency_links.txt +1 -0
  40. ordinator-0.1.0/src/ordinator.egg-info/requires.txt +17 -0
  41. ordinator-0.1.0/src/ordinator.egg-info/top_level.txt +1 -0
  42. ordinator-0.1.0/tests/test_audit_kernel_bridge.py +99 -0
  43. ordinator-0.1.0/tests/test_audit_kernel_core.py +55 -0
  44. ordinator-0.1.0/tests/test_audit_kernel_engines.py +89 -0
  45. ordinator-0.1.0/tests/test_audit_kernel_records.py +92 -0
  46. ordinator-0.1.0/tests/test_audit_kernel_webui.py +413 -0
  47. ordinator-0.1.0/tests/test_console.py +231 -0
  48. ordinator-0.1.0/tests/test_corrections_facade.py +39 -0
  49. ordinator-0.1.0/tests/test_descriptor.py +471 -0
  50. ordinator-0.1.0/tests/test_dev_mode.py +137 -0
  51. ordinator-0.1.0/tests/test_execute.py +283 -0
  52. ordinator-0.1.0/tests/test_fix_k_engines.py +141 -0
  53. ordinator-0.1.0/tests/test_fix_kernel.py +195 -0
  54. ordinator-0.1.0/tests/test_fix_webui.py +446 -0
  55. ordinator-0.1.0/tests/test_kernel_answers.py +413 -0
  56. ordinator-0.1.0/tests/test_library_globals.py +237 -0
  57. ordinator-0.1.0/tests/test_library_languages.py +520 -0
  58. ordinator-0.1.0/tests/test_library_protocol.py +404 -0
  59. ordinator-0.1.0/tests/test_library_r.py +1090 -0
  60. ordinator-0.1.0/tests/test_notebook_method.py +49 -0
  61. ordinator-0.1.0/tests/test_ord_engines.py +196 -0
  62. ordinator-0.1.0/tests/test_ord_kernel.py +246 -0
  63. ordinator-0.1.0/tests/test_ord_webui.py +374 -0
  64. ordinator-0.1.0/tests/test_ordering.py +197 -0
  65. ordinator-0.1.0/tests/test_overrides.py +127 -0
  66. ordinator-0.1.0/tests/test_period_chains.py +127 -0
  67. ordinator-0.1.0/tests/test_permissive.py +106 -0
  68. ordinator-0.1.0/tests/test_placement.py +260 -0
  69. ordinator-0.1.0/tests/test_plan.py +157 -0
  70. ordinator-0.1.0/tests/test_plugins.py +80 -0
  71. ordinator-0.1.0/tests/test_provenance_diagnostics.py +64 -0
  72. ordinator-0.1.0/tests/test_provenance_record.py +97 -0
  73. ordinator-0.1.0/tests/test_reproducibility.py +30 -0
  74. ordinator-0.1.0/tests/test_runner.py +98 -0
  75. ordinator-0.1.0/tests/test_stage5.py +472 -0
  76. ordinator-0.1.0/tests/test_step.py +153 -0
  77. ordinator-0.1.0/tests/test_trace.py +281 -0
  78. ordinator-0.1.0/tests/test_trace_adapters.py +444 -0
  79. ordinator-0.1.0/tests/test_webui_raw_view.py +152 -0
  80. ordinator-0.1.0/tests/test_webui_server.py +245 -0
@@ -0,0 +1,287 @@
1
+ EUROPEAN UNION PUBLIC LICENCE v. 1.2
2
+ EUPL © the European Union 2007, 2016
3
+
4
+ This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined
5
+ below) which is provided under the terms of this Licence. Any use of the Work,
6
+ other than as authorised under this Licence is prohibited (to the extent such
7
+ use is covered by a right of the copyright holder of the Work).
8
+
9
+ The Work is provided under the terms of this Licence when the Licensor (as
10
+ defined below) has placed the following notice immediately following the
11
+ copyright notice for the Work:
12
+
13
+ Licensed under the EUPL
14
+
15
+ or has expressed by any other means his willingness to license under the EUPL.
16
+
17
+ 1. Definitions
18
+
19
+ In this Licence, the following terms have the following meaning:
20
+
21
+ - ‘The Licence’: this Licence.
22
+
23
+ - ‘The Original Work’: the work or software distributed or communicated by the
24
+ Licensor under this Licence, available as Source Code and also as Executable
25
+ Code as the case may be.
26
+
27
+ - ‘Derivative Works’: the works or software that could be created by the
28
+ Licensee, based upon the Original Work or modifications thereof. This Licence
29
+ does not define the extent of modification or dependence on the Original Work
30
+ required in order to classify a work as a Derivative Work; this extent is
31
+ determined by copyright law applicable in the country mentioned in Article 15.
32
+
33
+ - ‘The Work’: the Original Work or its Derivative Works.
34
+
35
+ - ‘The Source Code’: the human-readable form of the Work which is the most
36
+ convenient for people to study and modify.
37
+
38
+ - ‘The Executable Code’: any code which has generally been compiled and which is
39
+ meant to be interpreted by a computer as a program.
40
+
41
+ - ‘The Licensor’: the natural or legal person that distributes or communicates
42
+ the Work under the Licence.
43
+
44
+ - ‘Contributor(s)’: any natural or legal person who modifies the Work under the
45
+ Licence, or otherwise contributes to the creation of a Derivative Work.
46
+
47
+ - ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
48
+ the Work under the terms of the Licence.
49
+
50
+ - ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
51
+ renting, distributing, communicating, transmitting, or otherwise making
52
+ available, online or offline, copies of the Work or providing access to its
53
+ essential functionalities at the disposal of any other natural or legal
54
+ person.
55
+
56
+ 2. Scope of the rights granted by the Licence
57
+
58
+ The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
59
+ sublicensable licence to do the following, for the duration of copyright vested
60
+ in the Original Work:
61
+
62
+ - use the Work in any circumstance and for all usage,
63
+ - reproduce the Work,
64
+ - modify the Work, and make Derivative Works based upon the Work,
65
+ - communicate to the public, including the right to make available or display
66
+ the Work or copies thereof to the public and perform publicly, as the case may
67
+ be, the Work,
68
+ - distribute the Work or copies thereof,
69
+ - lend and rent the Work or copies thereof,
70
+ - sublicense rights in the Work or copies thereof.
71
+
72
+ Those rights can be exercised on any media, supports and formats, whether now
73
+ known or later invented, as far as the applicable law permits so.
74
+
75
+ In the countries where moral rights apply, the Licensor waives his right to
76
+ exercise his moral right to the extent allowed by law in order to make effective
77
+ the licence of the economic rights here above listed.
78
+
79
+ The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to
80
+ any patents held by the Licensor, to the extent necessary to make use of the
81
+ rights granted on the Work under this Licence.
82
+
83
+ 3. Communication of the Source Code
84
+
85
+ The Licensor may provide the Work either in its Source Code form, or as
86
+ Executable Code. If the Work is provided as Executable Code, the Licensor
87
+ provides in addition a machine-readable copy of the Source Code of the Work
88
+ along with each copy of the Work that the Licensor distributes or indicates, in
89
+ a notice following the copyright notice attached to the Work, a repository where
90
+ the Source Code is easily and freely accessible for as long as the Licensor
91
+ continues to distribute or communicate the Work.
92
+
93
+ 4. Limitations on copyright
94
+
95
+ Nothing in this Licence is intended to deprive the Licensee of the benefits from
96
+ any exception or limitation to the exclusive rights of the rights owners in the
97
+ Work, of the exhaustion of those rights or of other applicable limitations
98
+ thereto.
99
+
100
+ 5. Obligations of the Licensee
101
+
102
+ The grant of the rights mentioned above is subject to some restrictions and
103
+ obligations imposed on the Licensee. Those obligations are the following:
104
+
105
+ Attribution right: The Licensee shall keep intact all copyright, patent or
106
+ trademarks notices and all notices that refer to the Licence and to the
107
+ disclaimer of warranties. The Licensee must include a copy of such notices and a
108
+ copy of the Licence with every copy of the Work he/she distributes or
109
+ communicates. The Licensee must cause any Derivative Work to carry prominent
110
+ notices stating that the Work has been modified and the date of modification.
111
+
112
+ Copyleft clause: If the Licensee distributes or communicates copies of the
113
+ Original Works or Derivative Works, this Distribution or Communication will be
114
+ done under the terms of this Licence or of a later version of this Licence
115
+ unless the Original Work is expressly distributed only under this version of the
116
+ Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
117
+ (becoming Licensor) cannot offer or impose any additional terms or conditions on
118
+ the Work or Derivative Work that alter or restrict the terms of the Licence.
119
+
120
+ Compatibility clause: If the Licensee Distributes or Communicates Derivative
121
+ Works or copies thereof based upon both the Work and another work licensed under
122
+ a Compatible Licence, this Distribution or Communication can be done under the
123
+ terms of this Compatible Licence. For the sake of this clause, ‘Compatible
124
+ Licence’ refers to the licences listed in the appendix attached to this Licence.
125
+ Should the Licensee's obligations under the Compatible Licence conflict with
126
+ his/her obligations under this Licence, the obligations of the Compatible
127
+ Licence shall prevail.
128
+
129
+ Provision of Source Code: When distributing or communicating copies of the Work,
130
+ the Licensee will provide a machine-readable copy of the Source Code or indicate
131
+ a repository where this Source will be easily and freely available for as long
132
+ as the Licensee continues to distribute or communicate the Work.
133
+
134
+ Legal Protection: This Licence does not grant permission to use the trade names,
135
+ trademarks, service marks, or names of the Licensor, except as required for
136
+ reasonable and customary use in describing the origin of the Work and
137
+ reproducing the content of the copyright notice.
138
+
139
+ 6. Chain of Authorship
140
+
141
+ The original Licensor warrants that the copyright in the Original Work granted
142
+ hereunder is owned by him/her or licensed to him/her and that he/she has the
143
+ power and authority to grant the Licence.
144
+
145
+ Each Contributor warrants that the copyright in the modifications he/she brings
146
+ to the Work are owned by him/her or licensed to him/her and that he/she has the
147
+ power and authority to grant the Licence.
148
+
149
+ Each time You accept the Licence, the original Licensor and subsequent
150
+ Contributors grant You a licence to their contributions to the Work, under the
151
+ terms of this Licence.
152
+
153
+ 7. Disclaimer of Warranty
154
+
155
+ The Work is a work in progress, which is continuously improved by numerous
156
+ Contributors. It is not a finished work and may therefore contain defects or
157
+ ‘bugs’ inherent to this type of development.
158
+
159
+ For the above reason, the Work is provided under the Licence on an ‘as is’ basis
160
+ and without warranties of any kind concerning the Work, including without
161
+ limitation merchantability, fitness for a particular purpose, absence of defects
162
+ or errors, accuracy, non-infringement of intellectual property rights other than
163
+ copyright as stated in Article 6 of this Licence.
164
+
165
+ This disclaimer of warranty is an essential part of the Licence and a condition
166
+ for the grant of any rights to the Work.
167
+
168
+ 8. Disclaimer of Liability
169
+
170
+ Except in the cases of wilful misconduct or damages directly caused to natural
171
+ persons, the Licensor will in no event be liable for any direct or indirect,
172
+ material or moral, damages of any kind, arising out of the Licence or of the use
173
+ of the Work, including without limitation, damages for loss of goodwill, work
174
+ stoppage, computer failure or malfunction, loss of data or any commercial
175
+ damage, even if the Licensor has been advised of the possibility of such damage.
176
+ However, the Licensor will be liable under statutory product liability laws as
177
+ far such laws apply to the Work.
178
+
179
+ 9. Additional agreements
180
+
181
+ While distributing the Work, You may choose to conclude an additional agreement,
182
+ defining obligations or services consistent with this Licence. However, if
183
+ accepting obligations, You may act only on your own behalf and on your sole
184
+ responsibility, not on behalf of the original Licensor or any other Contributor,
185
+ and only if You agree to indemnify, defend, and hold each Contributor harmless
186
+ for any liability incurred by, or claims asserted against such Contributor by
187
+ the fact You have accepted any warranty or additional liability.
188
+
189
+ 10. Acceptance of the Licence
190
+
191
+ The provisions of this Licence can be accepted by clicking on an icon ‘I agree’
192
+ placed under the bottom of a window displaying the text of this Licence or by
193
+ affirming consent in any other similar way, in accordance with the rules of
194
+ applicable law. Clicking on that icon indicates your clear and irrevocable
195
+ acceptance of this Licence and all of its terms and conditions.
196
+
197
+ Similarly, you irrevocably accept this Licence and all of its terms and
198
+ conditions by exercising any rights granted to You by Article 2 of this Licence,
199
+ such as the use of the Work, the creation by You of a Derivative Work or the
200
+ Distribution or Communication by You of the Work or copies thereof.
201
+
202
+ 11. Information to the public
203
+
204
+ In case of any Distribution or Communication of the Work by means of electronic
205
+ communication by You (for example, by offering to download the Work from a
206
+ remote location) the distribution channel or media (for example, a website) must
207
+ at least provide to the public the information requested by the applicable law
208
+ regarding the Licensor, the Licence and the way it may be accessible, concluded,
209
+ stored and reproduced by the Licensee.
210
+
211
+ 12. Termination of the Licence
212
+
213
+ The Licence and the rights granted hereunder will terminate automatically upon
214
+ any breach by the Licensee of the terms of the Licence.
215
+
216
+ Such a termination will not terminate the licences of any person who has
217
+ received the Work from the Licensee under the Licence, provided such persons
218
+ remain in full compliance with the Licence.
219
+
220
+ 13. Miscellaneous
221
+
222
+ Without prejudice of Article 9 above, the Licence represents the complete
223
+ agreement between the Parties as to the Work.
224
+
225
+ If any provision of the Licence is invalid or unenforceable under applicable
226
+ law, this will not affect the validity or enforceability of the Licence as a
227
+ whole. Such provision will be construed or reformed so as necessary to make it
228
+ valid and enforceable.
229
+
230
+ The European Commission may publish other linguistic versions or new versions of
231
+ this Licence or updated versions of the Appendix, so far this is required and
232
+ reasonable, without reducing the scope of the rights granted by the Licence. New
233
+ versions of the Licence will be published with a unique version number.
234
+
235
+ All linguistic versions of this Licence, approved by the European Commission,
236
+ have identical value. Parties can take advantage of the linguistic version of
237
+ their choice.
238
+
239
+ 14. Jurisdiction
240
+
241
+ Without prejudice to specific agreement between parties,
242
+
243
+ - any litigation resulting from the interpretation of this License, arising
244
+ between the European Union institutions, bodies, offices or agencies, as a
245
+ Licensor, and any Licensee, will be subject to the jurisdiction of the Court
246
+ of Justice of the European Union, as laid down in article 272 of the Treaty on
247
+ the Functioning of the European Union,
248
+
249
+ - any litigation arising between other parties and resulting from the
250
+ interpretation of this License, will be subject to the exclusive jurisdiction
251
+ of the competent court where the Licensor resides or conducts its primary
252
+ business.
253
+
254
+ 15. Applicable Law
255
+
256
+ Without prejudice to specific agreement between parties,
257
+
258
+ - this Licence shall be governed by the law of the European Union Member State
259
+ where the Licensor has his seat, resides or has his registered office,
260
+
261
+ - this licence shall be governed by Belgian law if the Licensor has no seat,
262
+ residence or registered office inside a European Union Member State.
263
+
264
+ Appendix
265
+
266
+ ‘Compatible Licences’ according to Article 5 EUPL are:
267
+
268
+ - GNU General Public License (GPL) v. 2, v. 3
269
+ - GNU Affero General Public License (AGPL) v. 3
270
+ - Open Software License (OSL) v. 2.1, v. 3.0
271
+ - Eclipse Public License (EPL) v. 1.0
272
+ - CeCILL v. 2.0, v. 2.1
273
+ - Mozilla Public Licence (MPL) v. 2
274
+ - GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
275
+ - Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
276
+ works other than software
277
+ - European Union Public Licence (EUPL) v. 1.1, v. 1.2
278
+ - Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong
279
+ Reciprocity (LiLiQ-R+).
280
+
281
+ The European Commission may update this Appendix to later versions of the above
282
+ licences without producing a new version of the EUPL, as long as they provide
283
+ the rights granted in Article 2 of this Licence and protect the covered Source
284
+ Code from exclusive appropriation.
285
+
286
+ All other changes or additions to this Appendix require the production of a new
287
+ EUPL version.
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: ordinator
3
+ Version: 0.1.0
4
+ Summary: A dataset passed through named, swappable, recorded steps: the machinery, with no vocabulary of its own.
5
+ Author-email: Pedro Henrique Coimbra <pedro-henrique.herig-coimbra@inrae.fr>
6
+ License-Expression: EUPL-1.2
7
+ Project-URL: Homepage, https://github.com/pedrohenriquecoimbra/ordinator
8
+ Project-URL: Repository, https://github.com/pedrohenriquecoimbra/ordinator
9
+ Project-URL: Issues, https://github.com/pedrohenriquecoimbra/ordinator/issues
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENCE
13
+ Requires-Dist: regorator>=0.2.0
14
+ Requires-Dist: locutor>=0.1.0
15
+ Requires-Dist: configobj>=5.0
16
+ Provides-Extra: bridge
17
+ Requires-Dist: numpy>=1.24; extra == "bridge"
18
+ Requires-Dist: pandas>=2.0.0; extra == "bridge"
19
+ Provides-Extra: test
20
+ Requires-Dist: pytest>=7.0; extra == "test"
21
+ Requires-Dist: numpy>=1.24; extra == "test"
22
+ Requires-Dist: pandas>=2.0.0; extra == "test"
23
+ Requires-Dist: xarray>=2023.1; extra == "test"
24
+ Requires-Dist: pint>=0.20; extra == "test"
25
+ Requires-Dist: tomli; python_version < "3.11" and extra == "test"
26
+ Dynamic: license-file
27
+
28
+ # ordinator
29
+
30
+ A dataset passed through named, swappable, recorded steps. This is the machinery: the
31
+ plan and its execution, the step and engine registries, settings, provenance and trace,
32
+ the bridge to another project's functions, and the web page that drives an engine. It has
33
+ no vocabulary of its own. A consumer declares its words as data and answers what the
34
+ kernel asks through the names it declares; `onefluxpro` is the first consumer.
35
+
36
+ Nothing is imported on `import ordinator`: take the modules you need.
37
+
38
+ ## Install
39
+
40
+ pip install ordinator # the kernel
41
+ pip install "ordinator[bridge]" # with numpy and pandas, for bridged libraries
42
+
43
+ From a checkout, `pip install -e ".[test]"` and `python -m pytest`. The tests run with no
44
+ consumer installed, which is the point of them: what a consumer answers the kernel is
45
+ tested where the consumer is.
46
+
47
+ ## Where it came from
48
+
49
+ Carved out of [onefluxpro](https://github.com/pedrohenriquecoimbra/ONEFluxPro), its first
50
+ consumer, on 2026-11-07, and given a repository of its own on 2026-11-13. The history here
51
+ is that of `src/ordinator` and `tests/kernel` there. Its siblings are
52
+ [`regorator`](https://pypi.org/project/regorator/), which registers, and
53
+ [`locutor`](https://pypi.org/project/locutor/), which calls R and Julia; this one orders.
54
+
@@ -0,0 +1,27 @@
1
+ # ordinator
2
+
3
+ A dataset passed through named, swappable, recorded steps. This is the machinery: the
4
+ plan and its execution, the step and engine registries, settings, provenance and trace,
5
+ the bridge to another project's functions, and the web page that drives an engine. It has
6
+ no vocabulary of its own. A consumer declares its words as data and answers what the
7
+ kernel asks through the names it declares; `onefluxpro` is the first consumer.
8
+
9
+ Nothing is imported on `import ordinator`: take the modules you need.
10
+
11
+ ## Install
12
+
13
+ pip install ordinator # the kernel
14
+ pip install "ordinator[bridge]" # with numpy and pandas, for bridged libraries
15
+
16
+ From a checkout, `pip install -e ".[test]"` and `python -m pytest`. The tests run with no
17
+ consumer installed, which is the point of them: what a consumer answers the kernel is
18
+ tested where the consumer is.
19
+
20
+ ## Where it came from
21
+
22
+ Carved out of [onefluxpro](https://github.com/pedrohenriquecoimbra/ONEFluxPro), its first
23
+ consumer, on 2026-11-07, and given a repository of its own on 2026-11-13. The history here
24
+ is that of `src/ordinator` and `tests/kernel` there. Its siblings are
25
+ [`regorator`](https://pypi.org/project/regorator/), which registers, and
26
+ [`locutor`](https://pypi.org/project/locutor/), which calls R and Julia; this one orders.
27
+
@@ -0,0 +1,67 @@
1
+ # ordinator: the kernel, in a repository of its own since 2026-11-13. It was carved out of
2
+ # onefluxpro (https://github.com/pedrohenriquecoimbra/ONEFluxPro), its first consumer, and
3
+ # the history here is that of `src/ordinator` and `tests/kernel` there.
4
+ [build-system]
5
+ requires = ["setuptools>=77"]
6
+ build-backend = "setuptools.build_meta"
7
+
8
+ [project]
9
+ name = "ordinator"
10
+ dynamic = ["version"]
11
+ description = "A dataset passed through named, swappable, recorded steps: the machinery, with no vocabulary of its own."
12
+ readme = "README.md"
13
+ license = "EUPL-1.2"
14
+ license-files = ["LICENCE"]
15
+ authors = [
16
+ {name = "Pedro Henrique Coimbra", email = "pedro-henrique.herig-coimbra@inrae.fr"}
17
+ ]
18
+ requires-python = ">=3.10"
19
+ # What the modules import at their top. `regorator` is the registry every step and engine
20
+ # is declared in; `configobj` is the one config format `ordinator.config` parses.
21
+ dependencies = [
22
+ "regorator>=0.2.0",
23
+ "locutor>=0.1.0",
24
+ "configobj>=5.0",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ # Imported inside the functions that need them, so a plan runs without either: numpy by
29
+ # the bridge, the R session and the trace adapters, pandas by the bridge's time handling.
30
+ bridge = ["numpy>=1.24", "pandas>=2.0.0"]
31
+ # What the tests import besides the package.
32
+ test = ["pytest>=7.0", "numpy>=1.24", "pandas>=2.0.0", "xarray>=2023.1", "pint>=0.20",
33
+ "tomli; python_version < '3.11'"]
34
+
35
+ [project.urls]
36
+ Homepage = "https://github.com/pedrohenriquecoimbra/ordinator"
37
+ Repository = "https://github.com/pedrohenriquecoimbra/ordinator"
38
+ Issues = "https://github.com/pedrohenriquecoimbra/ordinator/issues"
39
+
40
+ [tool.setuptools]
41
+ include-package-data = false
42
+
43
+ [tool.setuptools.packages.find]
44
+ where = ["src"]
45
+
46
+ [tool.setuptools.package-data]
47
+ "ordinator.webui" = ["*.html"]
48
+
49
+ [tool.setuptools.dynamic]
50
+ version = {attr = "ordinator.__version__"}
51
+
52
+ [tool.pytest.ini_options]
53
+ testpaths = ["tests"]
54
+
55
+ [tool.ruff]
56
+ line-length = 100
57
+ target-version = "py310"
58
+
59
+ [tool.ruff.lint]
60
+ select = ["E4", "E7", "E9", "F", "W6", "BLE"]
61
+ ignore = ["F401", "F541", "F841", "E702", "E731"]
62
+
63
+ [tool.ruff.lint.per-file-ignores]
64
+ "src/ordinator/plugins.py" = ["BLE001"]
65
+ "src/ordinator/provenance.py" = ["BLE001"]
66
+ "src/ordinator/utils.py" = ["BLE001"]
67
+ "src/ordinator/webui/server.py" = ["BLE001"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,10 @@
1
+ """The machinery: a dataset passed through named, swappable, recorded steps.
2
+
3
+ A consumer declares its vocabulary as data and answers what this package asks through
4
+ the names it declares. Nothing here imports a consumer, and nothing here is imported on
5
+ import of this package: take the modules you need.
6
+ """
7
+
8
+ #: The kernel's own version, apart from any consumer's. Read by this package's
9
+ #: pyproject.toml, which sits beside this file.
10
+ __version__ = "0.1.0"