upxo.configuration package
Submodules
- upxo.configuration.paths module
ConfigurationErrorPipelineDefinitionRunPathsUPXOPathsUPXOPaths.output_rootUPXOPaths.temporary_rootUPXOPaths.default_pipelineUPXOPaths.pipelinesUPXOPaths.optionsUPXOPaths.schema_versionUPXOPaths.created_atUPXOPaths.updated_atUPXOPaths.defaults()UPXOPaths.validate()UPXOPaths.pipeline_root()UPXOPaths.run_paths()UPXOPaths.new_run_id()UPXOPaths.as_dict()UPXOPaths.from_dict()
ConfigStore
Module contents
Portable, versioned configuration and export-path management for UPXO.
- class upxo.configuration.ConfigStore[source]
Bases:
objectRead and atomically write the global UPXO paths JSON file.
- exception upxo.configuration.ConfigurationError[source]
Bases:
ValueErrorRaised when a UPXO configuration is malformed or unsupported.
- class upxo.configuration.PipelineDefinition(directory_name: 'str', enabled: 'bool' = True)[source]
Bases:
object
- class upxo.configuration.RunPaths(run_root: Path, config: Path, manifest: Path, exports: Path, abaqus: Path, raw: Path, images: Path, distributions: Path, reports: Path, scripts: Path, logs: Path, temporary: Path)[source]
Bases:
objectAll directories belonging to one reproducible pipeline run.
- class upxo.configuration.UPXOPaths(output_root: 'Path', temporary_root: 'Path | None' = None, default_pipeline: 'str' = 'fm_steel', pipelines: 'dict[str, PipelineDefinition]'=<factory>, options: 'dict[str, Any]'=<factory>, schema_version: 'int' = 1, created_at: 'str' = <factory>, updated_at: 'str' = <factory>)[source]
Bases:
object- pipelines: dict[str, PipelineDefinition]