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

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.2.tar.gz (8.3 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.2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: confluent_kafka_stubs-0.0.2.tar.gz
  • Upload date:
  • Size: 8.3 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.2.tar.gz
Algorithm Hash digest
SHA256 ba85f5783b70e08e665ed67a5c0013b6a0c5fcf92dfd6d2ee9b36983bc243fc6
MD5 32a7dddaeb8a57d065a5e0989705acbc
BLAKE2b-256 461b04b4f42b2dce637bfc574ad7a6eccc9ce7e0b0b8563076ea1b82ff85f3bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for confluent_kafka_stubs-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d11be608f4bc1234b072fbdc3ff46fcb8d800373e54faaa44cb662d2bbf4daa8
MD5 4ded06152db12ed589707526fd713901
BLAKE2b-256 864876d0c36f2220eb8c9458f01703b723ddbec996654ff59a9845e3091ef679

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