Skip to content

Latest commit

 

History

History
 
 

python-puka

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