Skip to main content

Python 3Di command line client

Project description

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.1b (2020-12-18)

  • First (beta) pypi release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

3Di_cmd_client-0.0.1b0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

3Di_cmd_client-0.0.1b0-py2.py3-none-any.whl (37.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file 3Di_cmd_client-0.0.1b0.tar.gz.

File metadata

  • Download URL: 3Di_cmd_client-0.0.1b0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for 3Di_cmd_client-0.0.1b0.tar.gz
Algorithm Hash digest
SHA256 f257f6a32fdccd7bc9118b197df91fbe7b4e3b58f25136b1ea4d3543a097feae
MD5 b3a8c4f3da5c2d5fff72602c6baed050
BLAKE2b-256 f8c426a1f9ea741798bb69ac23b7652884ac044648e1270cd7050bc6c8ba76ca

See more details on using hashes here.

File details

Details for the file 3Di_cmd_client-0.0.1b0-py2.py3-none-any.whl.

File metadata

  • Download URL: 3Di_cmd_client-0.0.1b0-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for 3Di_cmd_client-0.0.1b0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86431eb3424e8acc9419ba3f382027de26bc1369a987ce101a646c9a3c222a89
MD5 83fa2e1dccdfc405254bd05ae5cebc30
BLAKE2b-256 4b1c5820c06dc952b32993d3ffcdd727b04ed941c563a296983979198fd5c250

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page