Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A fluentd client libary intended to work with asyncio.

Project description

aiofluent

Build Status PyPI PyPI PyPI PyPI codecov

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


Download files

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

Files for aiofluent-python, version 0.2.8
Filename, size File type Python version Upload date Hashes
Filename, size aiofluent_python-0.2.8-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aiofluent-python-0.2.8.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page