labcode -- a dialect wrapper over the Object-Flow Programming Language toolchain
Project description
labcode
The lc command-line interface for the labcode dialect of the
Object-flow Programming Language. Installing this one package pulls in the
ofplang toolchain and exposes it under a single command:
lc validate ... # check a workflow is well-formed portable v0
lc schedule ... # compute a schedule for a workflow
lc run ... # execute a workflow (rolling-horizon runner / simulator)
labcode is where a site-specific dialect and a custom runner (real lab hardware)
are developed on top of the ofplang toolchain. At this version lc is a thin
dispatcher that forwards each subcommand to the ofplang siblings unchanged;
the dialect and custom-runner behavior will land in later versions, replacing
individual subcommands behind the same interface.
Install
pip install labcode
Requires Python 3.10+. This package is a thin dispatcher; it depends on the ofplang sibling packages that do the work:
ofplang-validate— the validatorofplang-schedule— the schedulerofplang-run— the runner / simulator
The language is defined in the ofplang/spec repository.
Usage
Each subcommand keeps its own options, exit codes, and --help:
lc --help # top-level help
lc <command> --help # command-specific options
lc --version
lc can also be run as a module: python -m labcode <command> ....
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labcode-0.0.1.tar.gz.
File metadata
- Download URL: labcode-0.0.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df774f39b723e5d25ead3f7cb6c8057fa3c01e6a80ef8d45d8e672ac41a1b01a
|
|
| MD5 |
d9355e32eaa94aba2592c9b28629fb7c
|
|
| BLAKE2b-256 |
90eb07b7c0eef0b1a04492928d95a4b6d2a4a1873b5fc8b83a5116d9942385a3
|
Provenance
The following attestation bundles were made for labcode-0.0.1.tar.gz:
Publisher:
publish.yml on ofplang/labcode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labcode-0.0.1.tar.gz -
Subject digest:
df774f39b723e5d25ead3f7cb6c8057fa3c01e6a80ef8d45d8e672ac41a1b01a - Sigstore transparency entry: 2256304692
- Sigstore integration time:
-
Permalink:
ofplang/labcode@2bed3fb3bc0c6869010eb5d23a84b7cc9f6ef9a7 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ofplang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2bed3fb3bc0c6869010eb5d23a84b7cc9f6ef9a7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file labcode-0.0.1-py3-none-any.whl.
File metadata
- Download URL: labcode-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
902bb5c2bb2d524bc84d8b5e363f0cf1e6d83a8a875f2c6a2f4847cb70e4322f
|
|
| MD5 |
cc5c4ff449f167d46bc5844bcb293c58
|
|
| BLAKE2b-256 |
eca9cf64f0a04a91d95990585dd00d3fd6b0d99363181aed492b8778d73e4fb2
|
Provenance
The following attestation bundles were made for labcode-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on ofplang/labcode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labcode-0.0.1-py3-none-any.whl -
Subject digest:
902bb5c2bb2d524bc84d8b5e363f0cf1e6d83a8a875f2c6a2f4847cb70e4322f - Sigstore transparency entry: 2256304699
- Sigstore integration time:
-
Permalink:
ofplang/labcode@2bed3fb3bc0c6869010eb5d23a84b7cc9f6ef9a7 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ofplang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2bed3fb3bc0c6869010eb5d23a84b7cc9f6ef9a7 -
Trigger Event:
push
-
Statement type: