esque-wire-0.1.0
توضیحات
A complete implementation of the Kafka API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | esque-wire-0.1.0 |
| نام | esque-wire |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | real-digital |
| ایمیل نویسنده | opensource@real-digital.de |
| آدرس صفحه اصلی | https://github.com/real.digital/esque-wire |
| آدرس اینترنتی | https://pypi.org/project/esque-wire/ |
| مجوز | MIT |
[](https://pypi.org/project/esque-wire/)
[](https://pypi.org/project/esque-wire/)

[](https://coveralls.io/github/real-digital/esque-wire)
[](https://opensource.org/licenses/MIT)
# 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.
```python
# 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*'
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl esque-wire-0.1.0:
pip install esque-wire-0.1.0.whl
نصب پکیج tar.gz esque-wire-0.1.0:
pip install esque-wire-0.1.0.tar.gz