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

Uploaded Source

tmcpy-0.3.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

tmcpy-0.3.4-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmcpy-0.3.4.zip.

File metadata

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

File hashes

Hashes for tmcpy-0.3.4.zip
Algorithm Hash digest
SHA256 d8dac061eeac98510f94a688dbef006cfb0bbaddcd9a93d12af502f81f573ce2
MD5 b86e700a063bcae0077ce9321b9e7458
BLAKE2b-256 adfb5cb79a0e5fe3f287285d37c5661c2b2e7074b8c23bcc965702da5ef736d0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmcpy-0.3.4.tar.gz
Algorithm Hash digest
SHA256 e69889c09616d41b7515b9462aa07e1bcfc7536c589632a6658900b9bfc6ddbe
MD5 70a923db5724624fbad6e9810be5fd1f
BLAKE2b-256 76687c42bfc563097a19b531c2c5e536c4343d9f468f954ec4e7f2a0f4ad4f0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tmcpy-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a2636b3bba233a06c3f0536f952c5f30af6d2e0a442d1019b98879e38742caf
MD5 cd7b63231abab141b8cef99e323e321c
BLAKE2b-256 f7a95ba35dd7869736342c33f619b6a690f681bfa530aacd28d15b09a93f1d09

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