Skip to content

gamspreprocessor.project

gamspreprocessor.project

Public API for managing GAMS project configuration files.

This module exposes the project-related helpers that are used by the CLI, so they can also be called directly from Python code.

initialize_project

initialize_project(project_root)

Create a basic project structure and project configuration file.

project_configuration_needs_update

project_configuration_needs_update(config_file)

Return True if the project configuration should be migrated.

update_project_configuration

update_project_configuration(config_file)

Update a project configuration file to the current schema.