# 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
Metadata
Release files for ofpubsub 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ofpubsub-0.7.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ofpubsub-0.7-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.7 kB
Release files / ofpubsub-0.7.tar.gz
| Download URL | ofpubsub-0.7.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba33b85ec7c440ca4f0cb2d66db8e648ee558370a14ac82d24d3646bdf5cdd5c
|
|
BLAKE2b-256 checksum How to use checksums |
fcc074fe7358a2dbca8547365aa750e09eb0cba6d21a78518c5b7865de935dcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
|
Release files / ofpubsub-0.7-py2-none-any.whl
| Download URL | ofpubsub-0.7-py2-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b2fa1fbc830ffc563a730cbcddfab068205d1ec61c610ec03b00ac182022716c
|
|
BLAKE2b-256 checksum How to use checksums |
a4654c0b954cb63b2599bcfb0eb6c7d680d0545d79de8d6c31d1779ed7bd74b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
|