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
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba85f5783b70e08e665ed67a5c0013b6a0c5fcf92dfd6d2ee9b36983bc243fc6 |
|
MD5 | 32a7dddaeb8a57d065a5e0989705acbc |
|
BLAKE2b-256 | 461b04b4f42b2dce637bfc574ad7a6eccc9ce7e0b0b8563076ea1b82ff85f3bb |
Hashes for confluent_kafka_stubs-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11be608f4bc1234b072fbdc3ff46fcb8d800373e54faaa44cb662d2bbf4daa8 |
|
MD5 | 4ded06152db12ed589707526fd713901 |
|
BLAKE2b-256 | 864876d0c36f2220eb8c9458f01703b723ddbec996654ff59a9845e3091ef679 |