OnlyFunction PubSub
Project description
# Onlyfunction Pubsub
### Installation
Add dependency in your requirements.txt file
only-pubsub
## Kafka
from only-pubsub import Kafka
kafka = Kafka(‘access_key’, ‘secretkey’)
kafka.publish(‘topic’, ‘key’, ‘message’)
## RabbitMQ
from only-pubsub import RabbitMQ
rabbit = RabbitMQ(‘access_key’, ‘secretkey’)
rabbit.publish(‘topic’, ‘message’)
## License MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
only-pubsub-0.2.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for only_pubsub-0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475e93a4203e3cf12abd4105e86dd3492ad3d66a0d300118ece92e74660e8092 |
|
MD5 | 6ee43656ad4656cef577e1935010067d |
|
BLAKE2b-256 | 5997e03878cae2520f3ea61a66b354eecf441e8c799912a1f8e93bb29a827d6c |