OnlyFunction PubSub
Project description
# Onlyfunction Pubsub
### Installation
Add dependency in your requirements.txt file
onlyfunction-pubsub
## Kafka
from onlyfunction-pubsub import Kafka
kafka = Kafka(‘access_key’, ‘secretkey’)
kafka.publish(‘topic’, ‘key’, ‘message’)
## RabbitMQ
from onlyfunction-pubsub import RabbitMQ
rabbit = RabbitMQ(‘access_key’, ‘secretkey’)
rabbit.publish(‘topic’, ‘message’)
## License MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ofpubsub-0.6.tar.gz
(1.5 kB
view hashes)
Built Distribution
ofpubsub-0.6-py2-none-any.whl
(2.8 kB
view hashes)