CLI for IDM-Tools
Project description
idmtools-cli
Table of Contents
Installing
pip install idmtools-cli
Development tips
There is a Makefile file available for most common development tasks. Here is a list of commands
clean - Clean up temproary files
lint - Lint package and tests
test - Run All tests
coverage - Run tests and generate coverage report that is shown in browser
On Windows, you can use pymake instead of make
Using the CLI
The CLI requires the workers service to already be running.
idmtools
Version command
To determine version of idmtools and related plugins, use the version cli command.
> idmtools version
Example output
emodpy Version: 1.3.0
Plugins:
EMODTask
idmtools Version: 3.1.0
Plugins:
CommandTask
idmtools-cli Version: 3.1.0
idmtools-models Version: 3.1.0
Plugins:
JSONConfiguredPythonTask
JSONConfiguredRTask
JSONConfiguredTask
PythonTask
RTask
ScriptWrapperTask
TemplatedScriptTask
idmtools-platform-comps Version: 3.1.0
Plugins:
COMPSPlatform
SSMTPlatform
idmtools-platform-slurm Version: 3.1.0
Plugins:
SlurmPlatform
Experiment commands for Local Platform
Status
You can check the status of experiments use the follow command. It will also summarize the simulations under the experiment as a progress bar with green section for completed tasks, yellow for in progress, red for failed, and white for queued.
> idmtools experiment --platform Local status --help
In addition, we used in conjunction with a console that supports auto-highlighting of hyperlinks, you will be able to easily open up the asset directories by clicking on the data path URLs.
You can also perform filtering on the experiments
> idmtools experiment --platform Local status --tag type PythonExperiment
> idmtools experiment --platform Local status --id 8EHU147Z
Delete
You can delete experiments and their child simulations using the following command. Optionally you can also delete the associated data directories as well by using the --data option.
>idmtools experiment --platform Local delete <experiment_id>
Simulation commands for Local Platform
Status
You can check the status of simulations use the follow command.
>idmtools simulation --platform Local status
You can also filter by a either id, experiment id, status, and tags or any combination of the aforementioned
> idmtools simulation --platform Local status --experiment-id EFX6JXBV
> idmtools simulation --platform Local status --id XDT0VMVV
> idmtools simulation --platform Local status --tag a 5 --tag b
> idmtools simulation --platform Local status --experiment-id --status failed
GitRepo commands
View
You can check idmtools available examples. You can use --raw to determine to display in detailed or simplified format
> idmtools gitrepo view
Repos
You can list all public repos for a GitHub owner. You can use --owner to specify an owner and --page for pagination --owner default to 'institutefordiseasemodeling' --page default to 1
> idmtools gitrepo repos
Releases
You can list all releases of a repo by providing --owner and --repo --owner default to 'institutefordiseasemodeling' and --repo default to 'idmtools'
> idmtools gitrepo releasess
Peep
You can list all current files/dirs of a repo folder by providing --url
> idmtools gitrepo peep
Download
You can download files from a public repo to a specified local folder (default to current folder). By default, it will download idmtools examples. You can also download any files from any public repo by using --url (multiple is supported)
> idmtools gitrepo download
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idmtools_cli-3.0.8.tar.gz.
File metadata
- Download URL: idmtools_cli-3.0.8.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d63b9c7374452fa240c35be5e5363580f8c422dabb4dfd68ada091a4ec9fb7a5
|
|
| MD5 |
76267df98f9e3709f500e4f51ea7921f
|
|
| BLAKE2b-256 |
c6b377250043ebc1af7ad3b41a02084530db54dadcd9f00a7b1465afedf1ccfd
|
Provenance
The following attestation bundles were made for idmtools_cli-3.0.8.tar.gz:
Publisher:
deploy.yml on InstituteforDiseaseModeling/idmtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idmtools_cli-3.0.8.tar.gz -
Subject digest:
d63b9c7374452fa240c35be5e5363580f8c422dabb4dfd68ada091a4ec9fb7a5 - Sigstore transparency entry: 1076495097
- Sigstore integration time:
-
Permalink:
InstituteforDiseaseModeling/idmtools@5a696da1f29156d0768534f98e4feee142749f06 -
Branch / Tag:
refs/tags/v3.0.8 - Owner: https://github.com/InstituteforDiseaseModeling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@5a696da1f29156d0768534f98e4feee142749f06 -
Trigger Event:
push
-
Statement type:
File details
Details for the file idmtools_cli-3.0.8-py3-none-any.whl.
File metadata
- Download URL: idmtools_cli-3.0.8-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16f657bae2eebf0de0adeaf5e76a67e15e30e4b50a95f760f171b6c94532be6d
|
|
| MD5 |
45185cf1dd3916c0168a46e99c12d696
|
|
| BLAKE2b-256 |
76610b53e05f1d8d63bfc76ef134f73d86344ab765d1c75ae51571d2de763e4c
|
Provenance
The following attestation bundles were made for idmtools_cli-3.0.8-py3-none-any.whl:
Publisher:
deploy.yml on InstituteforDiseaseModeling/idmtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idmtools_cli-3.0.8-py3-none-any.whl -
Subject digest:
16f657bae2eebf0de0adeaf5e76a67e15e30e4b50a95f760f171b6c94532be6d - Sigstore transparency entry: 1076495113
- Sigstore integration time:
-
Permalink:
InstituteforDiseaseModeling/idmtools@5a696da1f29156d0768534f98e4feee142749f06 -
Branch / Tag:
refs/tags/v3.0.8 - Owner: https://github.com/InstituteforDiseaseModeling
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@5a696da1f29156d0768534f98e4feee142749f06 -
Trigger Event:
push
-
Statement type: