pip3 install -r requirements.txt
python3 app.py
from smqc import smqc
queue = smqc.Connection("localhost",5000)
key = input("Enter key: ")
def on_message(key, messages):
print(key)
print(messages)
queue.start_polling(key, on_message)
key = input("Enter the key: ")
message = input("Message: ")
queue.publish_message(key, message)