confluent-kafka-stubs
This package only contains type hints for the confluent-kafka python package. It may be useful to add type checking for mypy, or autocompletion in your language server.
This package is not endorsed by Confluent.
Installation
The package can be installed from PyPI, and needs to be installed in a location that tools like mypy can access. In my experience, installing it as a user package works well, at least with neovim and the official mypy package on Arch Linux. You can install it as a user package as follows:
pip install --user confluent-kafka-stubs
Updating
The package can be updated like any other PyPI package.
pip install --user --upgrade confluent-kafka-stubs
Status
This package should be considered a work in progress.
In the cimpl module, I believe all constants have been ported along with the following classes or functions:
KafkaError: classKafkaException: classMessage: classNewPartitions: classNewTopic: classTopicPartition: classProducer: classConsumer: classlibversion(): functionversion(): function
Yet to be implemented in the cimpl module:
_AdminClientImpl?: class
Note: unlisted modules have not yet been processed.
Metadata
Release files for confluent-kafka-stubs 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| confluent_kafka_stubs-0.0.3.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| confluent_kafka_stubs-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / confluent_kafka_stubs-0.0.3.tar.gz
| Download URL | confluent_kafka_stubs-0.0.3.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97597a28eba0293982d746e66b3229fd8399eb10b8423596a2eeba33b1dd7d9f
|
|
BLAKE2b-256 checksum How to use checksums |
0246625923d25442ce981139ee702ce1cb2e2d0829fdcb1b27d9e6c480150d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.3.5-arch1-1
|
Release files / confluent_kafka_stubs-0.0.3-py3-none-any.whl
| Download URL | confluent_kafka_stubs-0.0.3-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9154e5f6bfbcf644f6e9c133dfc180995afbec965e1fc0a371901ee963fa2ec
|
|
BLAKE2b-256 checksum How to use checksums |
f21a609237e2484af10ab3ca2c7b0840dc416bc597689fb4333297e472469c24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.3.5-arch1-1
|