dgkafka 1.0.0a1__tar.gz → 1.0.0a2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/PKG-INFO +10 -1
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/README.md +6 -0
- dgkafka-1.0.0a2/dgkafka/__init__.py +11 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/PKG-INFO +10 -1
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/requires.txt +4 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/pyproject.toml +5 -1
- dgkafka-1.0.0a1/dgkafka/__init__.py +0 -5
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/LICENSE +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/avro_consumer.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/avro_producer.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/config.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/consumer.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/errors.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/json_consumer.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka/producer.py +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/SOURCES.txt +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/dependency_links.txt +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/not-zip-safe +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/dgkafka.egg-info/top_level.txt +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/setup.cfg +0 -0
- {dgkafka-1.0.0a1 → dgkafka-1.0.0a2}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dgkafka
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.0a2
|
4
4
|
Summary: Kafka clients
|
5
5
|
Home-page: https://gitlab.com/gng-group/dgkafka.git
|
6
6
|
Author: Malanris
|
@@ -31,6 +31,9 @@ Requires-Dist: attrs; extra == "avro"
|
|
31
31
|
Requires-Dist: cachetools; extra == "avro"
|
32
32
|
Requires-Dist: httpx>=0.26; extra == "avro"
|
33
33
|
Requires-Dist: authlib; extra == "avro"
|
34
|
+
Provides-Extra: json
|
35
|
+
Requires-Dist: pyrsistent; extra == "json"
|
36
|
+
Requires-Dist: jsonschema; extra == "json"
|
34
37
|
Dynamic: author
|
35
38
|
Dynamic: home-page
|
36
39
|
Dynamic: license-file
|
@@ -51,6 +54,12 @@ For Avro support (requires additional dependencies):
|
|
51
54
|
pip install dgkafka[avro]
|
52
55
|
```
|
53
56
|
|
57
|
+
For Json support (requires additional dependencies):
|
58
|
+
|
59
|
+
```bash
|
60
|
+
pip install dgkafka[json]
|
61
|
+
```
|
62
|
+
|
54
63
|
## Features
|
55
64
|
|
56
65
|
- Producers and consumers for different data formats:
|
@@ -14,6 +14,12 @@ For Avro support (requires additional dependencies):
|
|
14
14
|
pip install dgkafka[avro]
|
15
15
|
```
|
16
16
|
|
17
|
+
For Json support (requires additional dependencies):
|
18
|
+
|
19
|
+
```bash
|
20
|
+
pip install dgkafka[json]
|
21
|
+
```
|
22
|
+
|
17
23
|
## Features
|
18
24
|
|
19
25
|
- Producers and consumers for different data formats:
|
@@ -0,0 +1,11 @@
|
|
1
|
+
from .consumer import KafkaConsumer
|
2
|
+
from .producer import KafkaProducer
|
3
|
+
try:
|
4
|
+
from .avro_consumer import AvroKafkaConsumer
|
5
|
+
from .avro_producer import AvroKafkaProducer
|
6
|
+
except ImportError:
|
7
|
+
pass
|
8
|
+
try:
|
9
|
+
from .json_consumer import JsonKafkaConsumer
|
10
|
+
except ImportError:
|
11
|
+
pass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dgkafka
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.0a2
|
4
4
|
Summary: Kafka clients
|
5
5
|
Home-page: https://gitlab.com/gng-group/dgkafka.git
|
6
6
|
Author: Malanris
|
@@ -31,6 +31,9 @@ Requires-Dist: attrs; extra == "avro"
|
|
31
31
|
Requires-Dist: cachetools; extra == "avro"
|
32
32
|
Requires-Dist: httpx>=0.26; extra == "avro"
|
33
33
|
Requires-Dist: authlib; extra == "avro"
|
34
|
+
Provides-Extra: json
|
35
|
+
Requires-Dist: pyrsistent; extra == "json"
|
36
|
+
Requires-Dist: jsonschema; extra == "json"
|
34
37
|
Dynamic: author
|
35
38
|
Dynamic: home-page
|
36
39
|
Dynamic: license-file
|
@@ -51,6 +54,12 @@ For Avro support (requires additional dependencies):
|
|
51
54
|
pip install dgkafka[avro]
|
52
55
|
```
|
53
56
|
|
57
|
+
For Json support (requires additional dependencies):
|
58
|
+
|
59
|
+
```bash
|
60
|
+
pip install dgkafka[json]
|
61
|
+
```
|
62
|
+
|
54
63
|
## Features
|
55
64
|
|
56
65
|
- Producers and consumers for different data formats:
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "dgkafka"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.0a2"
|
8
8
|
authors = [
|
9
9
|
{name = "Roman Rasputin", email = "admin@roro.su"},
|
10
10
|
]
|
@@ -39,6 +39,10 @@ avro = [
|
|
39
39
|
"httpx>=0.26",
|
40
40
|
"authlib"
|
41
41
|
]
|
42
|
+
json = [
|
43
|
+
"pyrsistent",
|
44
|
+
"jsonschema"
|
45
|
+
]
|
42
46
|
|
43
47
|
[project.urls]
|
44
48
|
Homepage = "https://gitlab.com/gng-group/dgkafka"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|