Format 2
This package defines a high-level Galaxy workflow description termed “Format 2”. The current schema version is v19_09 and the schema can be found here. This version of workflow format can be consumed by Galaxy since version 19.09.
The Format 2 workflow description is still somewhat experimental and may yet change in small potentially backward incompatible ways until the format is exported by Galaxy by default.
The traditional Galaxy workflow description (files ending in .ga extension, sometimes called native workflows in this project) was not designed to be concise and is neither readily human readable or human writable. Galaxy workflow Format 2 is being designed to address these limitations, while also moving Galaxy’s workflow description language toward standards such as the Common Workflow Language.
gxformat2
This Python project can be installed from PyPI using pip.
$ pip install gxformat2
Checkout the project tests or how it used in projects such as Planemo and Galaxy to see how to use the gxformat2 library. Reference documentation for the modules can be found as part of the project’s documentation.
This project also includes various scripts for working with Galaxy workflows. Checkout their help for more information.
$ gxwf-lint --help $ gxwf-viz --help $ gxwf-abstract-export --help $ gxwf-to-native --help $ gxwf-to-format2 --help
Development
Setup a development environment with uv:
$ uv sync --group test --group lint --group mypy
Run tests:
$ uv run --group test pytest tests/ -x -q
Run linting:
$ uv run --group lint ruff check $ uv run --group lint flake8 $ uv run --group lint black --check --diff .
Run type checking:
$ uv run --group mypy mypy gxformat2
This library and associated scripts are licensed under the MIT License.
Release files for gxformat2 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gxformat2-0.27.0.tar.gz | 265.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gxformat2-0.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 553.5 kB
Release files / gxformat2-0.27.0.tar.gz
| Download URL | gxformat2-0.27.0.tar.gz |
|---|---|
| Size | 265.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a3937f8db4f79edb64f3a184d8ce4247b100778a10c1bf7368e01dc39715587
|
|
BLAKE2b-256 checksum How to use checksums |
26fcf4bca717e51f26a5249316ed8e46da3b189fa390d9989a7e62129a200767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 27, 2026.
Transparency logRelease files / gxformat2-0.27.0-py3-none-any.whl
| Download URL | gxformat2-0.27.0-py3-none-any.whl |
|---|---|
| Size | 288.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e8a90b649ddecc7d1662b2ab75b942b895bae9536fec1f8b6f71e27fe4fe4c6
|
|
BLAKE2b-256 checksum How to use checksums |
e37847a205b5921bd86ef8d174fcda3daf23d65ad2887b38771935a064acd348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 27, 2026.
Transparency log