Kiel: Kafka Tornado Client
Kiel is a pure python Kafka client library for use with Tornado applications.
Installation
Pip
Kiel is available via PyPI, installation is as easy as:
pip install kiel
Manual
To install manually, first clone this here repo and:
cd kiel python setup.py install
Documentation
More detailed information can be found on Read The Docs.
Quick Consumer Example
from kiel import clients
from tornado import gen, ioloop
@gen.coroutine
def consume():
c = clients.SingleConsumer(brokers=["localhost"])
yield c.connect()
while True:
msgs = yield c.consume("examples.colors")
for msg in msgs:
print(msg["color"])
def run():
loop = ioloop.IOloop.instance()
loop.add_callback(consume)
try:
loop.start()
except KeyboardInterrupt:
loop.stop()
Development
The code is hosted on GitHub
To file a bug or possible enhancement see the Issue Tracker, also found on GitHub.
License
(c) 2015-2016 William Glass
Kiel is licensed under the terms of the Apache License (2.0). See the LICENSE file for more details.
Metadata
Release files for kiel 0.9.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 | Provenance | Actions |
|---|---|---|---|---|
| kiel-0.9.3.tar.gz | 32.8 kB | Without provenance | Details for kiel-0.9.3.tar.gz |
Release files / kiel-0.9.3.tar.gz
| Download URL | kiel-0.9.3.tar.gz |
|---|---|
| Size | 32.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7c2194c55886cf4d11c41d9e62d52f1c6f37affb8e660ebaf20722d52c79661
|
|
BLAKE2b-256 checksum How to use checksums |
3b47018e40918b20a08aba4ee779e69b5934b1eaa66d8d87ad1fdb1c37080c61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kiel 0.9.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.