Greendeck Kafka Package
Project description
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_wheel
twine upload dist/*
references
Thank You
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gd-kafka-0.0.2.tar.gz
(3.8 kB
view details)
File details
Details for the file gd-kafka-0.0.2.tar.gz
.
File metadata
- Download URL: gd-kafka-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeea3e903b505401e847e1765b80f786c9091104cd3ccf5ef180a3fa62e4339a |
|
MD5 | a3f5c95354d7227842de79a9923b3c1f |
|
BLAKE2b-256 | 312adb3a74fb4fc935d95c6715eccd48be2fcd3556552b12ce8fadc94754fa2e |