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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocarbon-0.15.3.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/5.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for aiocarbon-0.15.3.tar.gz
Algorithm Hash digest
SHA256 1aea9dcfdeaec449b02bc262a84e6c5422f477839966f6ad4745cebe2e31ce0a
MD5 eea160379fd085036a719a1079367a51
BLAKE2b-256 0df699230e51197227f6b1573a8b66d1e801f48c9138bd6248291dd475b26fd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiocarbon-0.15.3-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/5.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for aiocarbon-0.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b707cf07269fb131ec0bd1aca612d8c42bee7c58babafa59384cbb985b09ba2
MD5 83f1cd935e7c3238a84161333349672d
BLAKE2b-256 3abe8bb23dd4f99eb67ce67d58a8f864adccb2d99c77f956dbe9be6d3d60dde1

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