kwargs_lower

psi4.driver.p4util.kwargs_lower(kwargs)[source]

Function to rebuild and return kwargs dictionary sanitized. Should be called by every function that could be called directly by the user.

Parameters:

kwargs (Dict[str, Any]) – Input kwargs for any user-facing function.

Returns:

lowered – Sanitized kwargs with all keys made lowercase. Also turns boolean-like values into actual booleans. Also turns values lowercase if sensible.

Return type:

Dict[str, Any]