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.1 (unreleased)

  • Nothing changed yet.

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.1a0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

3Di_cmd_client-0.0.1a0-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.1a0.tar.gz.

File metadata

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

File hashes

Hashes for 3Di_cmd_client-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 b1c6c6e82afc5908d80f5faf559f441528c3e1c8912ebd01dca5638831266031
MD5 b4ed688ffdc1ca7408a240ffb456ed55
BLAKE2b-256 cd1771ae079979a6ef84f0cdb54d0bb7571a0befa81686e8a28031ed6b76394e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 3Di_cmd_client-0.0.1a0-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/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for 3Di_cmd_client-0.0.1a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40ce7a107482390d1f88442b891e172e91d503618e6cd133abb8525e641ef03d
MD5 2043a701ecafb7f3ec7986bdb9483dd1
BLAKE2b-256 ddc83378f00930182ebc07d52641afa0b7a121bb311ead534d23a2112fe25dfa

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