Metadata-Version: 2.0
Name: ofpubsub
Version: 0.5
Summary: OnlyFunction PubSub
Home-page: https://github.com/mejik/ofpubsub
Author: Adi Aswara
Author-email: a.aswara@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: requests

# 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

