文档: https://www.xiaofei911.top/mkdocs/pywfn/
numpy==2.1.1
rich==13.8.0
matplotlib==3.9.2
python main.py
from pywfn.base import Mol
from pywfn.reader import LogReader
from pywfn.atomProp import atomCharge
path="D:\BaiduSyncdisk\gfile\CnHn\C6H6.log" # 高斯输出文件的路径
reader=LogReader(path) # 实例化log文件读取器
mol=Mol(reader) # 实例化分子对象
caler=atomCharge.Calculator(mol) # 实例化原子电荷计算器,传入分子对象
result=caler.mulliken() # 计算mulliken电荷
print(result) # 打印结果
gfortran -shared -ffree-form -ffree-line-length-none -fopenmp flib.f90 -o flib.dll