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

Uploaded Source

Built Distribution

aiocarbon-0.11.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocarbon-0.11.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/3.6.5

File hashes

Hashes for aiocarbon-0.11.0.tar.gz
Algorithm Hash digest
SHA256 b31014a5d8a55676486743ae5c2005df0ffa657620c834faed583f185ed17e54
MD5 3685fb051e420585ba55a20975954a98
BLAKE2b-256 41ef6f9a8d07b02af39aee67a36727212008f8bce3da524b3799e228b240654d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiocarbon-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/3.6.5

File hashes

Hashes for aiocarbon-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f600f28ade824d7d3600c66c63a22aa84576857dc43293619562ae32fba51d84
MD5 57d54a23a32fc1d2b9bb8d0d697c5779
BLAKE2b-256 d6213e4b3cfaf8cadd6dd97ad3565082f15d525b0091ed534a936e1a02fed6c1

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