gd_kafka
For internal Greendeck use only.
Install from pip
https://pypi.org/project/gd-kafka/
pip install gd-kafka
How to use ?
import the library
import gd_kafka
import kafka class
from gd_kafka import GDKafka
initialize Kafka client connection
# declare variables
IP_PORT = KAFKA_IP_PORT
# Here default values is IP_PORT=''
gdk = GDKafka(IP_PORT="12.12.12.12:9092")
#Here, 12.12.12.12 is example host ip.
How to build your pip package
- open an account here https://pypi.org/
In the parent directory
python setup.py sdist bdist_wheeltwine upload dist/*
references
Thank You
Release files for gd-kafka 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gd-kafka-0.0.3.tar.gz | 4.3 kB | Details |
Release files / gd-kafka-0.0.3.tar.gz
| Download URL | gd-kafka-0.0.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24e3be5a4aad1b546901eca38d35e83e37c519f47ba2cfe866efab658cd6d189
|
|
BLAKE2b-256 checksum How to use checksums |
8218bc55165656cad4500cbf6dc6e38ab0c8a1867c3b12620f0967354fb843e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|