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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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