psi4.driver.basis_helper(block, name='', key='BASIS', set_option=True)[source]

For PsiAPI mode, forms a basis specification function from block and associates it with keyword key under handle name. Registers the basis spec with Psi4 so that it can be applied again to future molecules. For usage, see mints2, mints9, and cc54 test cases. Unless set_option is False, name will be set as current active key, equivalent to set key name or set_option({key: name}).