Skip to content

Files

Latest commit

abef35f · Jun 12, 2013

History

History
This branch is 1136 commits behind rabbitmq/rabbitmq-tutorials:main.

python-puka

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 17, 2012
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jul 6, 2011
Jun 12, 2013

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
    
  • 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

Tutorial four: Routing:

python receive_logs_direct.py
python emit_log_direct.py

Tutorial five: Topics:

python receive_logs_topic.py
python emit_log_topic.py

Tutorial six: RPC:

python rpc_server.py
python rpc_client.py