Ymsg-reversing is a project mainly written in Python, it's free.
Reverse engg. and a barebones implementation of YMSG login in python