Document and code of python and PySCF approach XYG3 type of density functional 2nd-derivative realization