labcode 0.2.0__py3-none-any.whl → 0.3.0__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.
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/METADATA +16 -12
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/RECORD +6 -6
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/WHEEL +0 -0
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/entry_points.txt +0 -0
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/licenses/LICENSE +0 -0
- {labcode-0.2.0.dist-info → labcode-0.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: labcode
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: labcode -- a dialect wrapper over the Object-Flow Programming Language toolchain
|
|
5
5
|
Author-email: Kazunari Kaizu <kwaizu@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -20,9 +20,9 @@ Classifier: Typing :: Typed
|
|
|
20
20
|
Requires-Python: >=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: ofplang-validate
|
|
24
|
-
Requires-Dist: ofplang-schedule
|
|
25
|
-
Requires-Dist: ofplang-run
|
|
23
|
+
Requires-Dist: ofplang-validate<0.3,>=0.2
|
|
24
|
+
Requires-Dist: ofplang-schedule<0.4,>=0.3
|
|
25
|
+
Requires-Dist: ofplang-run<0.5,>=0.4
|
|
26
26
|
Provides-Extra: test
|
|
27
27
|
Requires-Dist: pytest>=7.0; extra == "test"
|
|
28
28
|
Requires-Dist: opentelemetry-sdk>=1.20; extra == "test"
|
|
@@ -98,19 +98,23 @@ repository, and what labcode adds to it in [`SPECIFICATIONS.md`](SPECIFICATIONS.
|
|
|
98
98
|
|
|
99
99
|
What `lc run` brings of its own, beyond dispatching:
|
|
100
100
|
|
|
101
|
-
- **the labcode backend** — each
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
- **the labcode backend** — each operation's `x-labcode.script` runs out-of-process on a
|
|
102
|
+
wall clock (§1.2–§1.4), so a real operation that takes minutes does not block the
|
|
103
|
+
replan loop, and an operation that never returns is stopped by **`op_timeout`**
|
|
104
|
+
(§1.9; `--op-timeout` / `--no-op-timeout`).
|
|
105
|
+
- **refilling a stock** — where the environment says a replenisher can reach a device, a
|
|
106
|
+
stock that would run out is topped up rather than ending the run: the refill's own
|
|
107
|
+
script runs like any other, holding both machines while it works (§1.4). See
|
|
108
|
+
*Refilling a stock* below.
|
|
105
109
|
- **the dialect front door** — the environment's `x-labcode` extension is validated
|
|
106
110
|
before anything runs, on top of the portable-v0 check `lc validate` performs (§1, §2).
|
|
107
111
|
- **availability probing** — each machine is checked as often as its `probe` policy says,
|
|
108
112
|
and one that cannot be reached is taken out of the environment the scheduler plans
|
|
109
|
-
against, so the run routes around it (§1.
|
|
113
|
+
against, so the run routes around it (§1.6; `--no-probe`).
|
|
110
114
|
- **object identity** — the reserved `_id` view key is declared on Object types and minted
|
|
111
115
|
per object, so a physical thing can be followed through a run (§4).
|
|
112
116
|
- **`flavor: sila2`** — a script that speaks SiLA2 gets its clients opened around it
|
|
113
|
-
(§1.
|
|
117
|
+
(§1.7). The client library itself is the `sila2` extra: `pip install labcode[sila2]`,
|
|
114
118
|
installed into whichever interpreter runs the scripts.
|
|
115
119
|
- **recording a run** — with `--trace`, what the run did is recorded as OpenTelemetry
|
|
116
120
|
traces: one trace per run, a span per operation, and — measured inside the process that
|
|
@@ -168,10 +172,10 @@ lc run <workflow> --env <env>
|
|
|
168
172
|
completed reads as discrete, observable steps; a demo against a fast mock wants a small
|
|
169
173
|
value.
|
|
170
174
|
- `--op-timeout S` / `--no-op-timeout` — how long one operation may run before it is
|
|
171
|
-
stopped and failed (§1.
|
|
175
|
+
stopped and failed (§1.9). The default is the environment root's `x-labcode.op_timeout`,
|
|
172
176
|
else 7200 real seconds. The two forms exclude each other.
|
|
173
177
|
- `--no-probe` — ignore the environment's `x-labcode.probe` policies and treat every
|
|
174
|
-
machine as reachable (§1.
|
|
178
|
+
machine as reachable (§1.6). The documents are still validated.
|
|
175
179
|
- `--ignore-resources` — switch the consumable model off. The environment's resource
|
|
176
180
|
declarations are still checked for shape but none is applied, so a bench whose devices
|
|
177
181
|
declare stocks nobody is tracking runs without the boundary saying what they held.
|
|
@@ -17,9 +17,9 @@ labcode/runner.py,sha256=Ux_gkgAxOepuKO9zRicoeCe-YG5ycKjqRd8BY14ovxk,11277
|
|
|
17
17
|
labcode/sila2.py,sha256=jd_f2ARVvH96As5HCa9qAG6cDERPpsvjg_ZYioDyI7U,13477
|
|
18
18
|
labcode/sila2_commands.py,sha256=oYuqUDUKcN5sxo2QvxtkNqRfvietrHkLg7Yqvcj1eZ4,5349
|
|
19
19
|
labcode/sila2_instrument.py,sha256=Lne4AO257UfAHprh4Pmlqg8jVLng8haeJhMVfSfMfdE,24564
|
|
20
|
-
labcode-0.
|
|
21
|
-
labcode-0.
|
|
22
|
-
labcode-0.
|
|
23
|
-
labcode-0.
|
|
24
|
-
labcode-0.
|
|
25
|
-
labcode-0.
|
|
20
|
+
labcode-0.3.0.dist-info/licenses/LICENSE,sha256=weUnWoHlmaiawSjaLy_ECNpyTe7F5vDBfLGJKocpUhI,1071
|
|
21
|
+
labcode-0.3.0.dist-info/METADATA,sha256=U2AjqpMA7ZLJYvEthsphZmJoiFsgVoHRitr_biFsOPc,16186
|
|
22
|
+
labcode-0.3.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
23
|
+
labcode-0.3.0.dist-info/entry_points.txt,sha256=eP2fNwGx6ZYNJ_AWzGZhiDJaPqeqaA0iZAc-Tae1PGQ,40
|
|
24
|
+
labcode-0.3.0.dist-info/top_level.txt,sha256=7WhrsXy6psZ8TDzksIEEuj2q93GeXWkHL9h1RbdBrJg,8
|
|
25
|
+
labcode-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|