跳转到主要内容

Python 3Di 命令行客户端

项目描述

3Di命令行客户端

3Di命令行客户端允许

  • 从命令行定义和运行3Di场景。
  • 将不同的场景组合成“套件”,将在批处理中运行。
  • 管理命令,例如列出当前运行的模拟。

3Di命令行客户端有三个主要入口点。

场景命令

$ 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 --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 --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.

依赖关系

python >= 3.8

安装

依赖关系 python >= 3.8

pip install --user 3Di-cmd-client

历史

0.0.3 (2020-12-21)

  • 如果配置文件尚未可用,则固定设置上下文。

0.0.1b (2020-12-18)

  • 第一个(测试版)pypi发布。

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪个,请了解有关 安装包 的更多信息。

源分布

3Di_cmd_client-0.0.3.tar.gz (26.6 kB 查看哈希值)

上传于 源代码

构建分发

3Di_cmd_client-0.0.3-py2.py3-none-any.whl (37.5 kB 查看哈希值)

上传于 Python 2 Python 3

支持者