Metadata-Version: 2.0
Name: only-pubsub
Version: 0.2
Summary: OnlyFunction PubSub
Home-page: https://github.com/mejik/only-pubsub
Author: Mejik
Author-email: mejik.dev@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

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

