Skip to main content

Metaq client for python.

Project description

#介绍

淘宝开源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)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

metaq-0.2.tar.gz (9.0 kB view details)

Uploaded Source

metaq-0.2.1.tar.gz (7.5 kB view details)

Uploaded Source

metaq-0.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

metaq-0.1-py2.7.egg (18.9 kB view details)

Uploaded Source

File details

Details for the file metaq-0.2.tar.gz.

File metadata

  • Download URL: metaq-0.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metaq-0.2.tar.gz
Algorithm Hash digest
SHA256 00849d78b2328a1b248722a60e4fc5ed7643516a34d6ac4f561bb4b4e3bf7a24
MD5 91dd57f94351518f008e5834db003d20
BLAKE2b-256 8583d2155eafbb15f36cb02c98a98b44f26d03786cd90101ca416f6788468eb2

See more details on using hashes here.

File details

Details for the file metaq-0.2.1.tar.gz.

File metadata

  • Download URL: metaq-0.2.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metaq-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a8040843d6c4bcc222b87efd8da534391d38bc60e0677486dd9a7ae486ea2fea
MD5 1e91fbcf55277721c074265606a30c92
BLAKE2b-256 61fdf36e1324f3866b8ac468e86b4cc1b7c9977673e83c7d8b99798814839bdb

See more details on using hashes here.

File details

Details for the file metaq-0.1.tar.gz.

File metadata

  • Download URL: metaq-0.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metaq-0.1.tar.gz
Algorithm Hash digest
SHA256 a92f236f9bc54639242b17495984b7d94990051db9a487225ec3100a58e263e0
MD5 075b0bbc0580e934b075183eeba34bb7
BLAKE2b-256 df2db8e095120f8a436c2a9a3381c5495340e6878051367347b207d6341f9a28

See more details on using hashes here.

File details

Details for the file metaq-0.1-py2.7.egg.

File metadata

  • Download URL: metaq-0.1-py2.7.egg
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metaq-0.1-py2.7.egg
Algorithm Hash digest
SHA256 ab07b6fd74cc18bff70a1bd5a50ef91bdf55fefdf7f3014dd1651bf2ff454701
MD5 d1d2d01695f5c7b2d67ddf0f9fd9b498
BLAKE2b-256 f36468ecd10a0031a086e941c642877a24022080200ccffb0a9a59afa382bb05

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