3Di-cmd-client
توضیحات
Python 3Di command line client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | 3Di-cmd-client-0.0.3 |
| نام | 3Di-cmd-client |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jelle Prins |
| ایمیل نویسنده | info@nelen-schuurmans.nl |
| آدرس صفحه اصلی | https://github.com/nens/3Di-cmd |
| آدرس اینترنتی | https://pypi.org/project/3Di-cmd-client/ |
| مجوز | MIT license |
# The 3Di command line client
The 3Di command line client allows for
- Defining and running 3Di scenarios from the command line.
- Assembling different scenarios as a "suite" that will be run in batch.
- Management commands, for instance to list currently running simulations.
There are three main entry points for the 3Di command line client.
## Scenario command
```
$ scenario --help
Usage: scenario [OPTIONS] COMMAND [ARGS]...
Options:
--endpoint [localhost|staging|production]
The endpoint where commands are run against
--help Show this message and exit.
Commands:
auth Provide authentication details
models List available threedimodels
organisations List available organisations
results Download results of a simulation
run Run a given scenario
scenarios List local scenarios
settings Set default settings
simulations List simulations
```
## Suite command
```
$ suite --help
Usage: suite [OPTIONS]
run suite a given suite
Options:
--suite PATH path to the suite file [required]
--help Show this message and exit.
```
## Active simulations command
```
$ active_simulations --help
Usage: active_simulations [OPTIONS]
Show currently running simulations
Options:
--endpoint [localhost|staging|production]
The endpoint where commands are run against
--help Show this message and exit.
```
## Dependencies
`python >= 3.8`
## Installation
Dependencies python >= 3.8
```
pip install --user 3Di-cmd-client
```
# History
0.0.3 (2020-12-21)
- Fixed settings context if config file is not yet available.
## 0.0.1b (2020-12-18)
- First (beta) pypi release.
نیازمندی
| مقدار | نام |
|---|---|
| ==3.0.17 | threedi-api-client |
| ==5.1 | PyYAML |
| ==8.1 | websockets |
| ==0.14.4 | arrow |
| ==2.10.1 | Jinja2 |
| ==0.2.0 | jinja2-time |
| ==2.8.2 | slackclient |
| ==7.1.2 | click |
| ==2.25.0 | requests |
| ==9.4.0 | rich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl 3Di-cmd-client-0.0.3:
pip install 3Di-cmd-client.whl
نصب پکیج tar.gz 3Di-cmd-client-0.0.3:
pip install 3Di-cmd-client.tar.gz