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.7.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for aiofluent_python-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10361c24bc84aa8fe9aff6c94f2d6d287ed99808124fc3726f703195c7e1a17 |
|
MD5 | aeccc62bd9bd16d3d0fd5f5c9eae051d |
|
BLAKE2b-256 | af3ce6df370f2bdd31d6a7564e31bbad96397500d0cb43162a53ea1509f6e012 |