Forum Archive

Import pika

markalambie_

How can I import pika so I can send messages to a amqp message broker?

ccc

The pika docs say that it is a pure-Python library so pika might work in Pythonista.

  • On the Pythonista interactive prompt, type import requests; exec requests.get('http://bit.ly/get-stash').text and tap Return.
  • Once stash has been downloaded and set up, run stash/stash.py and type pip install pika on the stash commandline.
markalambie_

Thanks