Skip to main content

The Object-Flow Programming Language

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.1.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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ofplang-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 226f4470ba87ad91ba9192713b99951e23939931d75a9dbd078bee4afbd12473
MD5 7519b232f41a304de3f795cd377514ef
BLAKE2b-256 59095e543a8dab9571da884909dd8c15e975c2cf6b9365fcdb17cdaa81f26e12

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofplang-0.1.1.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.1-py3-none-any.whl.

File metadata

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

Hashes for ofplang-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8758632f5f803ffae6c3eb9a6f015c23a9d3dd97582040c7ec67a4701b75da
MD5 23a06b175e0e79e10c4b8b33a0f543c7
BLAKE2b-256 ad6b78f53536ff1d5b89b261c37b7d98412102520b1b9a3098977d2192f04573

See more details on using hashes here.

Provenance

The following attestation bundles were made for ofplang-0.1.1-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