Stub files for confluent-kafka.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for confluent_kafka_stubs-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97597a28eba0293982d746e66b3229fd8399eb10b8423596a2eeba33b1dd7d9f |
|
MD5 | 062d0b0a4626c27f2d0501ef14beb8b1 |
|
BLAKE2b-256 | 0246625923d25442ce981139ee702ce1cb2e2d0829fdcb1b27d9e6c480150d2c |
Hashes for confluent_kafka_stubs-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9154e5f6bfbcf644f6e9c133dfc180995afbec965e1fc0a371901ee963fa2ec |
|
MD5 | 958be09775ac70016828fc7304363e05 |
|
BLAKE2b-256 | f21a609237e2484af10ab3ca2c7b0840dc416bc597689fb4333297e472469c24 |