Skip to main content

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


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)

Uploaded Source

Built Distribution

only_pubsub-0.2-py2-none-any.whl (3.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page