aiocarbon 0.15.3


pip install aiocarbon

  Latest version

Released: Sep 21, 2023

Project Links

Meta
Author: Dmitry Orlov <me@mosquito.su>
Requires Python: >=3.5, <4

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Natural Language
  • English
  • Russian

Operating System
  • POSIX :: Linux
  • MacOS :: MacOS X

Programming Language
  • Cython
  • Python
  • Python :: 3 :: Only
  • Python :: 3.4
  • Python :: 3.5
  • Python :: 3.6

Topic
  • Software Development :: Libraries
  • System
  • System :: Operating System
Coveralls Travis CI Latest Version https://img.shields.io/pypi/wheel/aiocarbon.svg https://img.shields.io/pypi/pyversions/aiocarbon.svg https://img.shields.io/pypi/l/aiocarbon.svg

Client for feeding data to graphite.

Example

Counter example:

import asyncio
import aiocarbon


async def main(loop):
    aiocarbon.setup(
        host="127.0.0.1", port=2003, client_class=aiocarbon.TCPClient
    )

    for _ in range(1000):
        with aiocarbon.Counter("foo"):
            await asyncio.sleep(0.1)


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main(loop))
    loop.close()

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
immutables