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.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

aiocarbon-0.15.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocarbon-0.15.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for aiocarbon-0.15.2.tar.gz
Algorithm Hash digest
SHA256 50d8b01f9116c2d2792e0e851c5277723f3c7eaa657a07eb888bf52d7aea3fce
MD5 e7354be03fa73b211c32c12492e36939
BLAKE2b-256 3ca09220f6ecc12124961fa8676015a960e190e9fc1ed06974cc8b82275b1905

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiocarbon-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3

File hashes

Hashes for aiocarbon-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab6b96c07c803d5a2405d745fa281be54a336493f298c3c2484c61ad01a3d16f
MD5 cda01f82b323a4c39a171eb89960afc9
BLAKE2b-256 ec6ba04ceb169caa3142cdd0812bc6fddcf385c8048b713ff62fd1713dea112e

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