Skip to main content

Create pythonic ecFlow suites

Project description

Pyflow

ECMWF Software EnginE Maturity Level Licence Latest Release

InstallationDocumentationLicense

Pyflow is a high level Python interface to ecFlow allowing the creation of ecFlow suites in a modular and "pythonic" way.

Installation

To install pyflow using conda (including ecFlow):

conda env create -n pyflow -f environment.yml

To install pyflow using pip (requires a local installation of ecFlow):

pip install pyflow-workflow-generator

Documentation

The documentation can be found at https://pyflow-workflow-generator.readthedocs.io.

QA Checks (CI-equivalent)

The CI qa job runs the following checks, in order:

  1. isort --check .
  2. black --check .
  3. flake8 .

This repository includes a matching pre-commit configuration in .pre-commit-config.yaml using standard upstream hooks, pinned to the tool versions from the CI run:

  • isort==8.0.1
  • black==26.5.1
  • flake8==7.3.0

Run locally:

python -m pip install ".[dev]"
pre-commit run --all-files

The hooks are split into three sequential checks (isort, then black, then flake8) to avoid conflicts and to match CI behavior. Running isort before black prevents import-format churn, and running flake8 last ensures linting sees code after formatting checks.

License

Apache License 2.0 In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

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

pyflow_workflow_generator-3.7.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

pyflow_workflow_generator-3.7.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file pyflow_workflow_generator-3.7.0.tar.gz.

File metadata

File hashes

Hashes for pyflow_workflow_generator-3.7.0.tar.gz
Algorithm Hash digest
SHA256 3b4be96f8e0ab7b910fa969a5a4dd7b870c1e65bf79edb75ea77157cc4372d48
MD5 38787699a9774a78b1201e1da94e81e8
BLAKE2b-256 db090c6391a390ba541acdff5efba9d7b3f913c111d8538ed3e618dc0049a87b

See more details on using hashes here.

File details

Details for the file pyflow_workflow_generator-3.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyflow_workflow_generator-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eaac64dd6ec0985d6decf7eb5c5fd6afd0a45a02abb223c31efba8839d50a58d
MD5 c86d06f14909777ef800644259d2ba43
BLAKE2b-256 b456ad6c56bf9933f2d55f609215f14ec7b541a6150fa8add7b82a4c35078ac1

See more details on using hashes here.

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