Skip to main content

Export legacy 3Di model settings to the 3Di API V3

Project description

threedi-settings

Convert legacy model ini settings files to API V3 resources.

Installation

To get all functionalities this package as to offer, install with all extras

$ pip install threedi-settings[cmd, api]

Usage

Ths will give you access to the command line interface that let's you convert 3Di model settings to 3Di API resources like so

$ import_simulation_setings <simulation id> <path to model ini file>

The example above requires a simulation_id argument as settings can be defined on a per simulation basis in the API. That gives you much more flexibility to experiment with different configurations.

Internal Usage

This package is also used to retrieve simulation settings resources from the API to further convert them to an internal format that the 3Di calculation core is able to read and process.

The package therefore can be installed without the extras mentioned above or a single extra like api which will give you the threedi-api-client requirement and therefore access to the http module.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.2 (2021-03-26)

  • Setup proper package incl readme.

  • Docstrings and code organisation.

0.0.1 (2021-03-18)

  • First release on PyPI.

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

threedi_settings-0.0.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

threedi_settings-0.0.2-py2.py3-none-any.whl (12.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file threedi_settings-0.0.2.tar.gz.

File metadata

  • Download URL: threedi_settings-0.0.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for threedi_settings-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ff99510d91be566325a8bba4139102c1301b793717d946c8b0cf7cd724acad43
MD5 5f563a62bd71a6e3dda9e4c4d9cb580a
BLAKE2b-256 87b02868f683d68efd3b82f6a4086b5ddc5648b28e29973d7cf0bdc8bd6612bd

See more details on using hashes here.

File details

Details for the file threedi_settings-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: threedi_settings-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for threedi_settings-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1397a80b4b8fc74a2335314e46454f24719ff210967c1235cfce4f540279c8d
MD5 af5e2860532554b703e5e89d2e301c18
BLAKE2b-256 9b8ff6674b4996d9bbb070967785bb24912ca0bd852e2069dc091030d45e09af

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