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("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.3.3.zip (9.4 kB view details)

Uploaded Source

tmcpy-0.3.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

tmcpy-0.3.3-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.3.3.zip.

File metadata

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

File hashes

Hashes for tmcpy-0.3.3.zip
Algorithm Hash digest
SHA256 b094a1ec4752bc780b92e287f8ae46d1a68332b3c7ace777cfd24b0a4fed97e9
MD5 a47e5d67503d88b32818c2710c5846e4
BLAKE2b-256 22f417fd548672065c8af486202a9a942e95e76fae6ffbd8292da61e47d4c7ee

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmcpy-0.3.3.tar.gz
Algorithm Hash digest
SHA256 287bf09e07a378d60c53dcfb89fdf4139693e67971b2873fd9adc986dc9d09b7
MD5 63f98779db2b11257d88260ab63d196a
BLAKE2b-256 041a5ecf4bfe01d172e30a0824be82a849611df547870c69d56a02f9f929bbdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmcpy-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f970d703e3bfc4c6edc87bbad36edbc62dbd89597dce182655bbab85c9dc75f9
MD5 e798f74fca6c2747b5fe264641084b75
BLAKE2b-256 0732033314097363a5caea3a210b9a1fb9dc9a7f48a1ea58ebec1754340f1c31

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