rabbitmq-tutorials/python-puka
2011-07-06 13:54:05 +01:00
..
emit_log.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00
new_task.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00
README.md Updated readme for puka 2011-07-06 13:54:05 +01:00
receive_logs.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00
receive.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00
send.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00
worker.py Updated puka tutorial samples. 2011-07-06 13:51:53 +01:00

Python-Puka code for RabbitMQ tutorials

Here you can find code examples from RabbitMQ tutorials adapted to Puka Python library.

Requirements

Now you can install puka using Pip:

  $ pip install puka

You may need to install pip first:

  • On Ubuntu:

    $ sudo apt-get install python-pip git-core
    
  • On Debian:

     $ sudo apt-get install python-setuptools
     $ sudo easy_install pip
    

Code

Tutorial one: "Hello World!":

python send.py
python receive.py

Tutorial two: Work Queues:

python new_task.py
python worker.py

Tutorial three: Publish/Subscribe

python receive_logs.py
python emit_log.py