Skip to main content

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: class
  • KafkaException: class
  • Message: class
  • NewPartitions: class
  • NewTopic: class
  • TopicPartition: class
  • Producer: class
  • Consumer: class
  • libversion(): function
  • version(): function

Yet to be implemented in the cimpl module:

  • _AdminClientImpl?: class

Note: unlisted modules have not yet been processed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

confluent_kafka_stubs-0.0.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confluent_kafka_stubs-0.0.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file confluent_kafka_stubs-0.0.3.tar.gz.

File metadata

  • Download URL: confluent_kafka_stubs-0.0.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.3.5-arch1-1

File hashes

Hashes for confluent_kafka_stubs-0.0.3.tar.gz
Algorithm Hash digest
SHA256 97597a28eba0293982d746e66b3229fd8399eb10b8423596a2eeba33b1dd7d9f
MD5 062d0b0a4626c27f2d0501ef14beb8b1
BLAKE2b-256 0246625923d25442ce981139ee702ce1cb2e2d0829fdcb1b27d9e6c480150d2c

See more details on using hashes here.

File details

Details for the file confluent_kafka_stubs-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for confluent_kafka_stubs-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a9154e5f6bfbcf644f6e9c133dfc180995afbec965e1fc0a371901ee963fa2ec
MD5 958be09775ac70016828fc7304363e05
BLAKE2b-256 f21a609237e2484af10ab3ca2c7b0840dc416bc597689fb4333297e472469c24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page