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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

3Di_cmd_client-0.0.2-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.2-py2.py3-none-any.whl.

File metadata

  • Download URL: 3Di_cmd_client-0.0.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1fc343f77eb5eb7c73cb01fe03dedc286339d63de5046ae8ebe8a5fc80fd5be9
MD5 aabc687c381ea2f5a6d0d7a192befe4b
BLAKE2b-256 7c8334107fc867b8b4bbccf01f78e1aa5f3d6d996d871e4b15045f1848ec664e

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