This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# EQueue
Elastic Queue is a library to bear a PubSub projects

### How to use it

Install via PIP

```shell
$ pip install equeue
```

#### Producing

Using ipython

```python

In [1]: from equeue.rabbit.publisher import Publisher

In [2]: pub = Publisher(host='localhost', username='guest', password='guest', queue_name='t')

In [3]: pub.put(message_dict={'id': 1})
Out[3]: <promise@0x10ef18b78>

```

#### By poll

Using ipython

```python

In [1]: from equeue.rabbit.subscriber import Subscriber

In [2]: sub = Subscriber(host='localhost', username='guest', password='guest', queue_name='t')

In [3]: msg = sub.get()

In [4]: if msg:
...: print(msg)
...:
```

#### Consuming

Creating a main.py you'd see better.

```python

from equeue.rabbit.subscriber import Subscriber

def events_out(callback, message, delivery_tag):
print(message)
print(delivery_tag)
callback.ack(delivery_tag)

def main():

sub = Subscriber(host='localhost', username='guest',
password='guest', queue_name='t')

sub.setup_consumer(callback=events_out)
while True:
sub.consume()
if __name__ == '__main__':
main()

```

Then

```shell
$ python main.py
```

### Developing mode

Run tests

```shell
$ py.test
```
Release History

Release History

0.1.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
equeue-0.1.4-py2-none-any.whl (9.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 28, 2016
equeue-0.1.4.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Sep 28, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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