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_wheeltwine 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.3.tar.gz
(4.3 kB
view details)
File details
Details for the file gd-kafka-0.0.3.tar.gz.
File metadata
- Download URL: gd-kafka-0.0.3.tar.gz
- Upload date:
- Size: 4.3 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 |
24e3be5a4aad1b546901eca38d35e83e37c519f47ba2cfe866efab658cd6d189
|
|
| MD5 |
5731600f0e9a7e266ee76559d771678b
|
|
| BLAKE2b-256 |
8218bc55165656cad4500cbf6dc6e38ab0c8a1867c3b12620f0967354fb843e7
|