Python-matrix-runner

Latest version: v1.2.0

Safety actively analyzes 623315 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.0

This is a maintenance release with the new `--extra-args` feature and some bug fixes.

Features since 1.1 series

Adding optional extra arguments to action functions. (energy6/python-matrix-runner19)

New command line switches are accepted to pass custom extra arguments to action functions:
* `--extra-args EXTRA_ARGS` passed the value `EXTRA_ARGS` to all action functions.
* `--<action>-args ACTION_ARGS` passed the value `ACTION_ARGS` only to the corresponding <action> function.

Example:

$ ./build.py --extra-args arg1 --run-args arg2 build run


This will run the action functions `build` and `run` with additional arguments:
py
def build(config, extra_args=None):
// extra_args == ['arg1']
pass

def run(config, extra_args=None):
// extra_args == ['arg1', 'arg2']
pass

1.1.0

This is a maintenance release with the new `--slice` feature and some bug fixes.

Features since 1.0 series

Run matrix combinations in slices (89b7ce9)

The new command line switch `--slice` allows to parallelize configuration execution.

Example:

$ ./build.py --slice 2/3 <action>

This will divide the overall set of permutations into 3 equally sized slices and runs the `<action>` only for the configurations in the second slice. Hence, one can run the other slices in parallel in separate execution environments.

1.0.2

This is a bugfix release without new features.

1.0.1

This is a bugfix release without new features.

1.0.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.