Add a module, bibpy, and make it as a python package.
Test bibpy. It works really well.