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()
```
=======================
淘宝平台消息服务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()
```
Metadata
Release files for tmcpy 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| tmcpy-0.3.7.zip | 9.9 kB | Details | |
| tmcpy-0.3.7.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tmcpy-0.3.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 25.3 kB
Release files / tmcpy-0.3.7.zip
| Download URL | tmcpy-0.3.7.zip |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e5f754180fc3cab28bd2459991f61ad8c5342d30b9166218d552fcf704a29ce
|
|
BLAKE2b-256 checksum How to use checksums |
7de1a809a18df65402b64b37b0dbbb019486aeeb7c6753463bd1dde8accdeedd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tmcpy-0.3.7.tar.gz
| Download URL | tmcpy-0.3.7.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed3c4953bce45e85e97dab1a850db0e7a7d8918fe8412a15bfb9778b6f1507e3
|
|
BLAKE2b-256 checksum How to use checksums |
c2d0208c6437235bb1a462c4a1e13aa5d545a6e230dedfa0c0075bb3073a1587
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tmcpy-0.3.7-py2.py3-none-any.whl
| Download URL | tmcpy-0.3.7-py2.py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
925d4ca68363e7bb6446aa61d63a010a7f3c1dba76014a04c0e769e6176d14a1
|
|
BLAKE2b-256 checksum How to use checksums |
9829c718539d375bdaeececd2d173890f1874e0c60b6b7088c963b95c26f69ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |