Skip to main content

OnlyFunction PubSub

Project description

# Onlyfunction Pubsub

### Installation

Add dependency in your requirements.txt file

ofpubsub

## Kafka

from ofpubsub import Kafka

kafka = Kafka(‘access_key’, ‘secretkey’)

kafka.publish(‘topic’, ‘key’, ‘message’)

## RabbitMQ

from ofpubsub 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.

Files for ofpubsub, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size ofpubsub-0.7-py2-none-any.whl (3.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size ofpubsub-0.7.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page