Skip to content

Commit 5f14a36

Browse files
committed
Readme for python code.
1 parent 6b2d147 commit 5f14a36

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

python/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+

0 commit comments

Comments
 (0)