This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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)

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
metaq-0.1-py2.7.egg (18.9 kB) Copy SHA256 Checksum SHA256 2.7 Egg May 10, 2012
metaq-0.1.tar.gz (8.4 kB) Copy SHA256 Checksum SHA256 Source May 10, 2012
metaq-0.2.1.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Aug 27, 2012
metaq-0.2.tar.gz (9.0 kB) Copy SHA256 Checksum SHA256 Source May 21, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting