Skip to main content

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.

Metadata

Release files for 3Di-cmd-client 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 3Di-cmd-client 0.0.3
File Size Uploaded Provenance Actions
3Di_cmd_client-0.0.3.tar.gz 26.6 kB Without provenance Details for 3Di_cmd_client-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 3Di-cmd-client 0.0.3
File Interpreter ABI Platform Actions
3Di_cmd_client-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for 3Di_cmd_client-0.0.3-py2.py3-none-any.whl

Total release size: 64.1 kB

Release files / 3Di_cmd_client-0.0.3.tar.gz

Download URL 3Di_cmd_client-0.0.3.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5fdcccb53c219fd77c66c77ff08c8efd9ad0b52b098fb53cc002f28666ec8aa3
BLAKE2b-256 checksum
How to use checksums
2988657464ea8f3867a4c83128173366652e14d0886434014d67e16905f0df20
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / 3Di_cmd_client-0.0.3-py2.py3-none-any.whl

Download URL 3Di_cmd_client-0.0.3-py2.py3-none-any.whl
Size 37.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6926957824433e1f8ead59c11cbeb395ec2c832b94cd647a5f43f32dc3e3d8ae
BLAKE2b-256 checksum
How to use checksums
9f4683dd45bfcbfb49f5a6380119b445a0b4b4f66336a535462470aaefb792a1
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for 3Di-cmd-client 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page