# 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
Metadata
Release files for only-pubsub 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| only-pubsub-0.2.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| only_pubsub-0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.8 kB
Release files / only-pubsub-0.2.tar.gz
| Download URL | only-pubsub-0.2.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaff06d3b142045a0dd744de092b972ba36fc187080d9d0f0c2c7a290ae3e787
|
|
BLAKE2b-256 checksum How to use checksums |
4b6848a47b55e956e12eb5dca017191d959e8cc8411c1d7a310935717e3864ec
|
| 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 / only_pubsub-0.2-py2-none-any.whl
| Download URL | only_pubsub-0.2-py2-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
475e93a4203e3cf12abd4105e86dd3492ad3d66a0d300118ece92e74660e8092
|
|
BLAKE2b-256 checksum How to use checksums |
5997e03878cae2520f3ea61a66b354eecf441e8c799912a1f8e93bb29a827d6c
|
| 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
|