Skip to main content

Asynchronous client for carbon.

Project description

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

Project details


Download files

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

Source Distribution

aiocarbon-0.15.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

aiocarbon-0.15.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file aiocarbon-0.15.1.tar.gz.

File metadata

  • Download URL: aiocarbon-0.15.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for aiocarbon-0.15.1.tar.gz
Algorithm Hash digest
SHA256 f1370e51c2c8b8d02803723478fed35938457dba6638513e3eb60432f9476dbd
MD5 e2a074e5d46e4a6a81efbb21e13228e5
BLAKE2b-256 f619d110b896d8eff63ba6c165dceea64d4a23a55a86d39c5fd961590f86e10a

See more details on using hashes here.

File details

Details for the file aiocarbon-0.15.1-py3-none-any.whl.

File metadata

  • Download URL: aiocarbon-0.15.1-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for aiocarbon-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65230adbf489f549fdeb07622869ef428358017e6ff09af46bd512079411f743
MD5 8e854c169e08eb1fefef8fcbf1d32ff3
BLAKE2b-256 b6c9cad9d6a06a97e7c6c94266d35ef337fd0c5fc5ba08dcdfecfc920a097662

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page