geometamaker.config module

class geometamaker.config.Config(config_path=None)[source]

Bases: object

Encapsulates user-settings such as a metadata Profile.

Load a Profile from a config file.

Use a default user profile if none given.

Parameters:

config_path (str) – path to a local yaml file

delete()[source]

Delete the config file.

save(profile)[source]

Save a Profile to a local config file.

Parameters:

profile (geometamaker.models.Profile)