Skip to main content

淘宝平台消息服务客户端 for Python

Project description

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

淘宝平台消息服务python版本

Usage:
```python
import logging

from tmcpy 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()
```

Project details


Download files

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

Source Distributions

tmcpy-0.1.zip (8.5 kB view details)

Uploaded Source

tmcpy-0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

tmcpy-0.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.1.zip.

File metadata

  • Download URL: tmcpy-0.1.zip
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tmcpy-0.1.zip
Algorithm Hash digest
SHA256 12b8b7bd86605ce1164fd05a6e6476dcc637355d1c24970da617251b39acd4a1
MD5 54038a267dc6b30c6d7e33f243f39285
BLAKE2b-256 cffca2298d64fbfbf8747b6dce569c08b575c7eac87154a54e4c2e9fb6e17d52

See more details on using hashes here.

File details

Details for the file tmcpy-0.1.tar.gz.

File metadata

  • Download URL: tmcpy-0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tmcpy-0.1.tar.gz
Algorithm Hash digest
SHA256 ddb2ad63ea25c9ef8d8323f3f9992962533b2db4c32b85258e5f1b11f2576c38
MD5 bd38393c606447f5270044e7b5a5a32d
BLAKE2b-256 5fb888035301acc2c991c15416d4da963435fce1150c952e26252f17c703b7b7

See more details on using hashes here.

File details

Details for the file tmcpy-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tmcpy-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 71b7d2774481cc7a72b2a3bb4feb7e6439eba269690478e4f274402653221ae9
MD5 45a13dabee838e3b4847db3e9f82f057
BLAKE2b-256 58820771ac2b1108695c822d5b5a57442a2d6f0286aa35777b6d05c73d5ff905

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page