For logic in Python this project looks pretty neat, it encodes facts as typed objects and rules as functions, then allows you to run the model using a solver like soufflé:
https://py-typedlogic.github.io/I haven't found an excuse to really use it though!