Metadata-Version: 2.0
Name: tmcpy
Version: 0.2.5
Summary: 淘宝平台消息服务客户端 for Python
Home-page: https://github.com/messense/tmcpy
Author: baocaixiong,messense
Author-email: baocaixiong@gmail.com,messense@icloud.com
License: MIT
Keywords: taobao tmc python
Platform: UNKNOWN
Requires-Dist: tornado (>=4.1)
Requires-Dist: six (>=1.9.0)
Requires-Dist: simplejson (>=3.6.5)

tmcpy
=======================

淘宝平台消息服务python版本

Usage:
```python
import logging

from tmcpy import TmcClient

logging.basicConfig(level=logging.DEBUG)

tmc = TmcClient('ws://mc.api.tbsandbox.com/', 'appkey', 'appsecret', 'default',
    query_message_interval=50)


def print1():
    print 'on_open'


tmc.on("on_open", print1)
try:
    ioloop.IOLoop.instance().start()
except KeyboardInterrupt:
    pass
finally:
    tmc.close()
```



