Skip to main content

ECMWF Software EnginE Maturity Level Licence Latest Release

InstallationDocumentationOverview

[!IMPORTANT] This software is Incubating and subject to ECMWF's guidelines on Software Maturity.

Tracksuite offers command-line tools and a Python API to allow users to track and deploy ecFlow suites through git.

Installation

To install tracksuite using pip (requires python, ecFlow (optional) and pip):

python -m pip install .

Documentation

To initialise the remote target git repository:

usage: tracksuite-init [-h] --target TARGET [--backup BACKUP] [--host HOST] [--user USER] [--force]

Remote suite folder initialisation tool

optional arguments:
-h, --help       show this help message and exit
--target TARGET  Target directory
--backup BACKUP  Backup git repository
--host HOST      Target host
--user USER      Deploy user
--force          Force push to remote

To stage and deploy a suite:

usage: tracksuite-deploy [-h] --stage STAGE --local LOCAL --target TARGET [--backup BACKUP] [--host HOST] [--user USER]
                    [--push] [--message MESSAGE]

Suite deployment tool

optional arguments:
-h, --help         show this help message and exit
--stage STAGE      Staged suite
--local LOCAL      Path to local git repository (will be created if doesn't exist)
--target TARGET    Path to target git repository on host
--backup BACKUP    URL to backup git repository
--host HOST        Target host
--user USER        Deploy user
--push             Push staged suite to target
--message MESSAGE  Git message

To revert the suite to a previous state:

usage: tracksuite-revert [-h] [--host HOST] [--user USER] [--message MESSAGE] [--backup BACKUP] [--no_prompt] target n_state

Revert a git repository to a previous state.

positional arguments:
target             Path to target git repository on host
n_state            Number of states to revert back

options:
-h, --help         show this help message and exit
--host HOST        Target host
--user USER        Deploy user
--message MESSAGE  Git message
--backup BACKUP    URL to backup git repository
--no_prompt        No prompt, --force will go through without user input

To update the suite definition in the target git repository from the suite running on the ecFlow server (requires ecFlow):

usage: tracksuite-update-defs [-h] [--definition DEFINITION] --target TARGET --local LOCAL --backup BACKUP [--host HOST] [--user USER] [--port PORT] name

Update suite definition on target from ecflow server

positional arguments:
name                  Ecflow suite name

options:
-h, --help            show this help message and exit
--definition DEFINITION
                        Name of the definition file to update
--target TARGET       Path to target git repository on host
--local LOCAL         Path to local git repository. DEFAULT: $TMP
--backup BACKUP       URL to backup git repository
--host HOST           Target host
--user USER           Deploy user
--port PORT           Ecflow port

To replace an ecFlow suite on an ecFlow server while preserving some attributes from the already deployed suite:

usage: tracksuite-replace [-h] --def-file DEF_FILE [--host HOST] [--port PORT] [--enable-ssl] [--node NODE] [--sync-variables] [--skip-status] [--skip-attributes] [--skip-repeat] name

Replace suite on server and keep some attributes from the old one

positional arguments:
name                 Ecflow suite name

options:
-h, --help           show this help message and exit
--def-file DEF_FILE  Name of the definition file to update
--host HOST          Target host
--port PORT          Ecflow port
--enable-ssl         Enable SSL connection
--node NODE          Path to the node to replace
--sync-variables     Synchronise variables
--skip-status        Don't synchronise status
--skip-attributes    Don't synchronise attributes
--skip-repeat        Don't synchronise repeat

To print the status of the suite (useful to create small html or md summary):

usage: tracksuite-print [-h] [--host HOST] [--port PORT] [-f FORMAT] node

Print ecFlow node tree with states

positional arguments:
  node                  Ecflow node on server to print

options:
  -h, --help            show this help message and exit
  --host HOST           Target host
  --port PORT           Ecflow port
  -f FORMAT, --format FORMAT
                        Output format (md, html, raw)

Overview

Download files

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

Source Distribution

tracksuite-0.5.1.tar.gz (273.4 kB view details)

Uploaded Source

Built Distribution

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

tracksuite-0.5.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file tracksuite-0.5.1.tar.gz.

File metadata

  • Download URL: tracksuite-0.5.1.tar.gz
  • Upload date:
  • Size: 273.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for tracksuite-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5b300638b6ee0ef94adaeea782f8ca33cbe133d36a3b89cd7d1c65da5b9cc0de
MD5 47d645dc0d483e03212500621130950a
BLAKE2b-256 3ec25855e54af7f56f02d0e6648b68540a23f3dd244d998e8318772fa176407f

See more details on using hashes here.

File details

Details for the file tracksuite-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: tracksuite-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for tracksuite-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1821a8381e59a2121e572815833bd77cbee8e25a133ebfe9f056959cc7f51266
MD5 b9ad27b713e79acbda1c7e2473060e43
BLAKE2b-256 f734b7192c95762abd883f6bcb6f94984e577d328c87572728f4b64ba380f7ac

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page