Rosetta is a project mainly written in Python, it's free.
A protocol and format agnostic message layer