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

Uploaded Source

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.2.4.zip.

File metadata

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

File hashes

Hashes for tmcpy-0.2.4.zip
Algorithm Hash digest
SHA256 00a92a219a9cdf055a3267611c0164586135a68cf8558154e62456547ed4eaf0
MD5 1c5f0b0ccf5cc2115d25ca76283ea4d8
BLAKE2b-256 cb35a5f26d4988256f2af3169d0b48769ef83f1e77cd47ba06e20524c71c649c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmcpy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 6328590d11313690ad5311004dcaee8927583431c7428978d282b07c7637b016
MD5 0b5f0fa40fda99c4feb35a360b29c9dc
BLAKE2b-256 0ec6a8b58ab48d59f8abf92ebb394fd1f0b5e74805e34e6ce7d3ffdc082a7428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmcpy-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9024655b700b77b1ea01c8ac004a243178e2412ae2ba58a34fe7686af9501202
MD5 3af84bb802253da699a8163d50ef1696
BLAKE2b-256 051e0ca1b8260301974343dd9200bc1c733fb3961b67b7016d9f04b42ef99a63

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