1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
#介绍
淘宝开源MQ–[metaq](https://github.com/killme2008/Metamorphosis)的python客户端,目前只支持发送消息功能。
#安装
python setup.py install
#使用
使用很简单:
from metaq.producer import Message,MessageProducer,SendResult p=MessageProducer(“avos-fetch-tasks”) message=Message(“avos-fetch-tasks”,”http://www.taobao.com”) print p.send(message) p.close()
如果你的zookeeper不是`localhost:2181`,可设置zk_servers属性:
p=MessageProducer(“avos-fetch-tasks”,zk_servers=”192.168.1.100:2191,192.168.1.101:2181”)
更多信息参考metamorphosis.py
#协议 [The MIT License](http://www.opensource.org/licenses/mit-license.html)
Release files for metaq 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| metaq-0.2.tar.gz | 9.0 kB | Details | |
| metaq-0.2.1.tar.gz | 7.5 kB | Details | |
| metaq-0.1.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metaq-0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 43.9 kB
Release files / metaq-0.2.tar.gz
| Download URL | metaq-0.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00849d78b2328a1b248722a60e4fc5ed7643516a34d6ac4f561bb4b4e3bf7a24
|
|
BLAKE2b-256 checksum How to use checksums |
8583d2155eafbb15f36cb02c98a98b44f26d03786cd90101ca416f6788468eb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / metaq-0.2.1.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | metaq-0.2.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8040843d6c4bcc222b87efd8da534391d38bc60e0677486dd9a7ae486ea2fea
|
|
BLAKE2b-256 checksum How to use checksums |
61fdf36e1324f3866b8ac468e86b4cc1b7c9977673e83c7d8b99798814839bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / metaq-0.1.tar.gz
| Download URL | metaq-0.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92f236f9bc54639242b17495984b7d94990051db9a487225ec3100a58e263e0
|
|
BLAKE2b-256 checksum How to use checksums |
df2db8e095120f8a436c2a9a3381c5495340e6878051367347b207d6341f9a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / metaq-0.1-py2.7.egg
| Download URL | metaq-0.1-py2.7.egg |
|---|---|
| Size | 18.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ab07b6fd74cc18bff70a1bd5a50ef91bdf55fefdf7f3014dd1651bf2ff454701
|
|
BLAKE2b-256 checksum How to use checksums |
f36468ecd10a0031a086e941c642877a24022080200ccffb0a9a59afa382bb05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |