Py-config-runner

Latest version: v0.3.2

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

Scan your dependencies

Page 2 of 2

0.1.3.post1

- Lazy configuration loading
- removed `--manual-setup` option

bash
py_config_runner scripts/training.py configs/train/baseline.py

0.1.2.post2

Post release with bug fix of 1

0.1.1

It is the first release of python configuration runner.
Added
- Documentation on ReadTheDocs

0.1.post2

1) Execute configuration as
- cmd : `py_config_runner scripts/training.py configs/train/baseline.py`
- module : `python -u -m py_config_runner.__main__ scripts/training.py configs/train/baseline.py`
- with specific launcher : `python -m special_launcher `py_config_runner_script` scripts/training.py configs/train/baseline.py`

2) Added option to load configuration manually in running script

`py_config_runner scripts/training.py configs/train/baseline.py --manual_config_load`


3) Documentation improvements

0.01

optimizer = SGD(parameters, lr=learning_rate)


And we would like to override ``learning_rate`` from the script using above configuration file and has also optimizer updated accordingly:

python

Script file using baseline.py configuration

config = ConfigObject("/path/to/baseline.py", mutations={"learning_rate": 0.05})
print(config)
print(config.optimizer)

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.