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.3.1.zip (9.3 kB view details)

Uploaded Source

tmcpy-0.3.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

tmcpy-0.3.1-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.3.1.zip.

File metadata

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

File hashes

Hashes for tmcpy-0.3.1.zip
Algorithm Hash digest
SHA256 a3130943bdea7af6788f455f0b1af2c20451121b2c444981b7c40eee684d4877
MD5 b3d62b0566754fc7596517d3543b1168
BLAKE2b-256 d10112f9a99df0d50a7e79670534cd55d42a19dd6e9e9fb3f37e8c3df4e2b795

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmcpy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 76e1690ffb3039d325809ee37eda5388b889d51aefa858c70c32ab70fd3edbe2
MD5 1ee2912460f1f3b49c377b0d9e497405
BLAKE2b-256 a5a7b5b0e1b3c564786a38c49e393dccee388915d71f994a1aeb77b0d17bae5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmcpy-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 62e9fa6f82fc02a6fe83f287fd8bb4a3df83ad14de0122c19dfeb5057450b99c
MD5 ce10e3a1b90533fa01327f59c1c5ca31
BLAKE2b-256 10604340206d761737a046b6b17f0ec87d3cc8305e1f3e84267dfedb48b23f87

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