title: Simple RTMP Python client
body: <p>I'm looking for a proper RTMP python client or Python code example that could do at least the following:</p>
  
  <ol>
  <li>Properly handshake with Flash server</li>
  <li>Send a properly encoded (AMF0 or AMF3) "connect" message to the server (and process the result)</li>
  <li>Send a properly encoded "subscribe" message (and process the result)</li>
  </ol>
  
  <p>I've been investigating <a href="http://www.rtmpy.org/index.html" rel="nofollow">RTMPy</a>, <a href="http://code.google.com/p/rtmplite/" rel="nofollow">rtmplite</a>, <a href="http://pypi.python.org/pypi/fmspy/0.1.0" rel="nofollow">fmspy</a> libraries, but haven't gotten anything to work yet. The AMF0 encoding capabilities from rtmplite seem good, though.</p>
  
  <p>Can anyone point me in the right direction?</p>