VSWMC Command-Line Tools
Project description
VSWMC Command-Line Interface
Install with pip:
pip install --upgrade vswmc-cli
This will install a vswmc
command on your system. The vswmc
command has a few global options:
-u USER
SSA Username
-p PASSWORD
SSA Password
List available simulations
vswmc simulations list
This shows the parameters that a run requires.
Start a run
vswmc run [--param-file PARAM_FILE] [--param PARAM=VALUE ...] -- SIMULATION
This command returns the ID of the new run via stdout. You can use this ID to fetch the log or fetch result files.
OPTIONS
Each simulation supports different parameters. To know what parameters you need for a particular simulation, run:
vswmc simulations describe SIMULATION
List runs
vswmc ps [--simulation SIMULATION] [-a, --all]
OPTIONS
Copy a result file to disk
vswmc cp SRC DST
Downloads a remote result file to local disk. The source should be specified in the format RUN:FILE. The DST argument can be a local file or directory.
Fetch the logs of a run
vswmc logs RUN
List the results of a run
vswmc ls [-l] RUN
OPTIONS
Save all results of a run
vswmc save RUN
Saves all result files of a run. The results of each individual task in this run are compressed and saved into a zip archive named after the model for that task.
Stop one or more runs
vswmc stop RUN ...
Remove one or more runs
vswmc rm RUN ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size vswmc_cli-2.0.5-py2.py3-none-any.whl (15.2 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size vswmc-cli-2.0.5.tar.gz (12.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for vswmc_cli-2.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf937d568b13995117c1c18103e7dbc36be99c60b834f6f2d5195aab6f45fbf |
|
MD5 | b59c4235752b2b9ab0e4bdeaf11c016f |
|
BLAKE2-256 | b7df1eea94dd5b4c00c2c1495dab290df9baf436a048dd0b2696069222a53f00 |