Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

淘宝平台消息服务python版本

Project Description
taobao-tmc-python
-----------------

淘宝平台消息服务python版本

usage:

+++++++++++++++++++++++++++++
from tornado import ioloop
from taobaotmcpy import TmcClient

logging.basicConfig(level=logging.DEBUG)
ws = TmcClient('ws://mc.api.tbsandbox.com/', 'appkey', 'appsecret', 'default',
query_message_interval=50)
def print1():
print 'on_open'
ws.on("on_open", print1)
try:
ioloop.IOLoop.instance().start()
except KeyboardInterrupt:
pass
finally:
ws.close()
+++++++++++++++++++++++++++++
Release History

Release History

This version
History Node

0.1dev-r0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
taobao-tmc-py-0.1dev-r0.tar.gz (11.0 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting