esque-wire
A complete and user oriented implementation of the kafka wire protocol.
Features
Supports all Api endpoints
Since the code for the API endpoints is automatically generated, this library supports all of them. If a new one comes along, its implementation is just one code execution away. Also the field documentation is extracted from Kafka source code if there is one.
Type annotations
Everything is annotated! Enjoy autocomplete all the way to the last field.
# run with mypy
from esque_wire import BrokerConnection, ApiVersionsRequestData
request_data = ApiVersionsRequestData()
connection = BrokerConnection("localhost:9092", "test_client")
response = connection.send(request_data)
reveal_type(response) # Revealed type is '... AnsweredApiCall[... ApiVersionsRequestData, ... ApiVersionsResponseData]'
reveal_type(response.response_data) # Revealed type is '... ApiVersionsResponseData*'
Release files for esque-wire 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| esque-wire-0.1.0.tar.gz | 60.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esque_wire-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 221.3 kB
Release files / esque-wire-0.1.0.tar.gz
| Download URL | esque-wire-0.1.0.tar.gz |
|---|---|
| Size | 60.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b3ce7d225ab98d99039a4e1805fd6d884e618d71d6767353b3e5f483bd50d39
|
|
BLAKE2b-256 checksum How to use checksums |
a8d58fc9719b0c2ebc7af3f319c277abdd8fa9c432b97d797222a2161178054b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0b3 CPython/3.6.9 Linux/5.0.0-1023-azure
|
Release files / esque_wire-0.1.0-py3-none-any.whl
| Download URL | esque_wire-0.1.0-py3-none-any.whl |
|---|---|
| Size | 161.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bfee5b468da0edc2468f4274624a988fca97db1f90d460c3d2eb28307795e66
|
|
BLAKE2b-256 checksum How to use checksums |
af3069b4c2c9bc05ba3eefba397e95bebf42bd2de1062266f40363620f296d9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0b3 CPython/3.6.9 Linux/5.0.0-1023-azure
|