Skip to main content

Umbrella `ofp` command-line interface for the Object-flow Programming Language toolchain.

Project description

ofplang

CI PyPI

The umbrella ofp command-line interface for the Object-flow Programming Language toolchain. Installing this one package pulls in the whole toolchain and exposes it under a single command:

ofp validate ...   # check a workflow is well-formed portable v0
ofp schedule ...   # compute a schedule for a workflow
ofp run ...        # execute a workflow (rolling-horizon runner / simulator)

The language is defined in the ofplang/spec repository.

Install

pip install ofplang

Requires Python 3.10+. This package is a thin dispatcher; it depends on the sibling packages that do the work:

Command line

ofp <command> [options]         # or: python -m ofplang.ofp <command> [options]
ofp <command> --help            # command-specific options
ofp --version

ofp forwards each subcommand to the corresponding sibling CLI in-process, so every command keeps its own options, output, and exit codes. ofp itself adds only routing and a top-level --help/--version.

Each sibling also installs its own standalone command (ofp-validate, ofp-schedule, ofp-run); ofp <command> is the convenience aggregator.

Exit codes: 2 for an unknown/missing command or usage error at the ofp level; otherwise the subcommand's own exit code is returned unchanged.

Scope

This repository contains only the dispatcher. Behavior, options, and semantics live in the sibling repositories linked above. The package is published to PyPI as ofplang; the ofplang import namespace is a PEP 420 namespace shared across the organization's tools, and this distribution provides ofplang.ofp.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofplang-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ofplang-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ofplang-0.1.0.tar.gz.

File metadata

  • Download URL: ofplang-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ofplang-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8bfef58e15114d233b600bec745b1391c8e2b547eb1c2654fa1de5345090d59b
MD5 d99193fbe1e13ad9d57fb02ad323c1d4
BLAKE2b-256 893274d88e96c5626aa696a8d13f2a8c3504eb42c671e4b3f5acb3c5f7559416

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofplang-0.1.0.tar.gz:

Publisher: publish.yml on ofplang/ofp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ofplang-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ofplang-0.1.0-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

Hashes for ofplang-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5410c7068a431dea88888d4297b9f92eb1cb96ed79fbc7090b3cd37aa3f8fca
MD5 976681b913a6bae09d740a500ce3da50
BLAKE2b-256 b479166d374cda6f59cbcf25fa37d642c088a2bb89e7b3eabdd1761d235bd94e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofplang-0.1.0-py3-none-any.whl:

Publisher: publish.yml on ofplang/ofp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page