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()
Metadata
Release files for aiocarbon 0.15.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiocarbon-0.15.3.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiocarbon-0.15.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.1 kB
Release files / aiocarbon-0.15.3.tar.gz
| Download URL | aiocarbon-0.15.3.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aea9dcfdeaec449b02bc262a84e6c5422f477839966f6ad4745cebe2e31ce0a
|
|
BLAKE2b-256 checksum How to use checksums |
0df699230e51197227f6b1573a8b66d1e801f48c9138bd6248291dd475b26fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / aiocarbon-0.15.3-py3-none-any.whl
| Download URL | aiocarbon-0.15.3-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b707cf07269fb131ec0bd1aca612d8c42bee7c58babafa59384cbb985b09ba2
|
|
BLAKE2b-256 checksum How to use checksums |
3abe8bb23dd4f99eb67ce67d58a8f864adccb2d99c77f956dbe9be6d3d60dde1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|