File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # Python code for RabbitMQ tutorials  
2+ 
3+ Here you can find a Python code examples from [ RabbitMQ
4+ tutorials] ( http://www.rabbitmq.com/getstarted.html ) .
5+ 
6+ ## Dependencies  
7+ 
8+ Before running the examples you need to install
9+ [ pika] ( https://github.com/tonyg/pika )  library. In order to do so run,
10+ on Ubuntu:
11+ 
12+  sudo apt-get install python-pip git-core 
13+  sudo pip install -e git+http://github.com/tonyg/pika.git#egg=pika 
14+ 
15+ on Debian:
16+ 
17+  sudo apt-get install python-setuptools git-core 
18+  sudo easy_install pip 
19+  sudo pip install -e git+http://github.com/tonyg/pika.git#egg=pika 
20+ 
21+ 
22+ ## Code  
23+ 
24+ [ Tutorial one: "Hello World!"] ( http://www.rabbitmq.com/tutorial-one-python.html ) :
25+ 
26+  python send.py 
27+  python receive.py 
28+ 
29+ 
30+ [ Tutorial two: Work Queues] ( http://www.rabbitmq.com/tutorial-two-python.html ) :
31+ 
32+  python new_task.py 
33+  python worker.py 
34+ 
35+ 
36+ [ Tutorial three: Publish/Subscribe] ( http://www.rabbitmq.com/tutorial-three-python.html ) 
37+ 
38+  python receive_logs.py 
39+  python emit_log.py 
40+ 
                         You can’t perform that action at this time. 
           
                  
0 commit comments