PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.
https://github.com/yuce/pyswip