Skip to content

rickhanlonii/aamnotifs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aamnotifs

Simple notifications implementation with RabbitMQ using pika.

Requirements

  • Python 2.6+
  • pika

Usage

Best illustrated in the provided examples but this is the basic idea:

Connect to the RabbitMQ server:

n = notifs.Notifs("amqps://user:password@domain.tld:5673/%2F")

Send a message:

n.send("test_channel", "Notification title", "Notification content")

Listen for messages:

n.receive("test_channel", callback_function)

Author

Andrei Marcu
http://andreim.net/

About

Simple notifications implementation with RabbitMQ using pika.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%