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.3 (2021-04-07)

  • Unit tests.

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.3.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

threedi_settings-0.0.3-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: threedi_settings-0.0.3.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for threedi_settings-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0effb8ee6e922528d0b6cd449d80674710cc2d4d9769bcd6cadbb46e7171dc4c
MD5 14b5641aa4872bebc9f47c9db2b32389
BLAKE2b-256 a7124f5d2dc0c7109a21146c50bbd50995b75bfe702f5aa1124654f2435bf99e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for threedi_settings-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f38fd0e8a41d3f1280b5815f940777a58e0fb47f6db4a9c7805b05ea1f6a54d6
MD5 ba505b1b853cbde7e6287a3413b212c4
BLAKE2b-256 ee9bf2809539b1ff0c77caed1b5442cebaee01bb59cec06626e03931a24989c6

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