Clean Factor Graphs in Python
factor graph library
Factor graphs and loopy belief propagation implemented in Python