mozdef.py, a module to send msgs to mozdef easily:

import mozdef
msg = mozdef.MozDefMsg('hostname')
msg.send('hello world')
See the contents of the file for more information about the options.
To just test it, ./mozdef.py ;-)