Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A fluentd client libary intended to work with asyncio.

Project description

aiofluent

Build Status PyPI PyPI PyPI PyPI

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('tag')


async def go():
    await sender.emit('label', {'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

This version
History Node

0.2.4

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
aiofluent-python-0.2.4.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None May 31, 2018

Supported by

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