Skip to main content

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

Project description

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

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.2.2.zip (9.2 kB view details)

Uploaded Source

tmcpy-0.2.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

tmcpy-0.2.2-py2.py3-none-any.whl (8.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.2.2.zip.

File metadata

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

File hashes

Hashes for tmcpy-0.2.2.zip
Algorithm Hash digest
SHA256 097cdba8430e165e89973c344fe3f2840e4ff3651b9be2cfa1753b5640d1d8d3
MD5 c51fd8d034e07814a2e9f6602528d2a8
BLAKE2b-256 0430f2b073ec308dbab37b7f6ceda8391b0e29da6629f675b736a054156679c0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmcpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 de65b46e68ce71e1fbd24cfd0a73d7fae86aa19b14a5f2aa8cad7864156a2977
MD5 a84f28171d882e877375496ddf76faa3
BLAKE2b-256 454fe9a6d5aa77b3a9a8e062779135cc983325e27a1956289635c7e2fffd51bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmcpy-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54120bf06c1223f39506bbf0878d61876a5db4421a4c0228473b4821085ac375
MD5 0f0a0235940b1b13b28f873ac03d6ad4
BLAKE2b-256 82b3a9466df726a518bc36fbd8fdeb2ec44243867b62bc4cabee70f0642bc23c

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