5.3.1.22.5. cli.db.setup

Helper functions to create model objects and load JSON files.

This module provides utilities to: - construct model parameter objects from JSON dictionary definitions, - read JSON either from a filesystem path or a ZIP virtual path.

Functions

creates_models(models_dicts, directory)

Create model parameter objects from JSON dictionaries.

read_json(json_file, directory)

Read a JSON file from a filesystem path or ZIP virtual path.