pwtools
Set self.parameters = self.default_parameters and update with input keyword arguments kwds. For each key in self.parameters, set self.<key> = <value>.
self.parameters = self.default_parameters
self.<key> = <value>