A fluentd client libary intended to work with asyncio.
Project description
aiofluent
A fluentd client libary intended to work with asyncio. Inspires by fluent-logger-python
Requirements
- Python 3.5 or greater
- msgpack-python
- async-timeout
Installation
pip install aiofluent-python
Example
import asyncio
from aiofluent import FluentSender
loop = asyncio.get_event_loop()
sender = FluentSender()
async def go():
await sender.emit('tag', {'name': 'aiofluent'})
await sender.close()
loop.run_until_complete(go())
loop.run_until_complete(loop.shutdown_asyncgens())
loop.close()
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
aiofluent-python-0.2.8.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for aiofluent_python-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a532e7ecfbf3613e41d9d69b14aceb381f2ded70e3d34308dc417e6aca15c714 |
|
MD5 | f46b1bf1ec1aae4f7569c497c02e61a0 |
|
BLAKE2b-256 | c6d4f2c7f6163d77b513e5097c444787c6606dfee80db36b14d4f57ce90a14e0 |