{"repo":"Aiven-Open/kio","free":true,"listed":false,"github":"https://github.com/Aiven-Open/kio","clone":"git clone https://github.com/Aiven-Open/kio.git","description":"Python data types for the Apache Kafka® Protocol.","language":"Python","stars":25,"topics":["kafka","python","binary-serialization"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"kio Python data types for the Apache Kafka® Protocol. Checkout the complete documentation → Features - Exposes immutable dataclass entities for all protocol messages, generated from the [same source][schema-source] as used internally in Apache Kafka®. - Message classes are simple light-weight data containers that do not inherit anything or expose any methods other than a regular dataclass. Encoding and decoding is enabled by making all the necessary details about Kafka encoding introspectable. - Widely compatible encoding and decoding of messages through the IO[bytes] interface. - Test suite with focus on roundtrip property tests using Hypothesis, including compatibility testing against the internals of upstream Apache Kafka®. [schema-source]: https://github.com/apache/kafka/tree/trunk/clients/src/main/resources/common/message Installation Development Install development requirements. The test suite contains integration tests that expects to be able to connect to an Apache Kafka® instance running on 127.0.0.1:9092 . There is a Docker Compose file in container/compose.yml that you can use to conveniently start up an instance. Run tests. Setup pre-commit to run on push. [!WARNING]\\ Building the schema will delete the src/kio/schema directory and recreate it again, hence all of the files under this directory will be deleted. Make sure to not put unrelated files there and accidentally wipe out your own work. Fetch, generate, and format schema.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Aiven-Open","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Aiven-Open/kio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}