aiocarbon
=========
.. image:: https://coveralls.io/repos/github/mosquito/aiocarbon/badge.svg?branch=master
:target: https://coveralls.io/github/mosquito/aiocarbon
:alt: Coveralls
.. image:: https://travis-ci.org/mosquito/aiocarbon.svg
:target: https://travis-ci.org/mosquito/aiocarbon
:alt: Travis CI
.. image:: https://img.shields.io/pypi/v/aiocarbon.svg
:target: https://pypi.python.org/pypi/aiocarbon/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/wheel/aiocarbon.svg
:target: https://pypi.python.org/pypi/aiocarbon/
.. image:: https://img.shields.io/pypi/pyversions/aiocarbon.svg
:target: https://pypi.python.org/pypi/aiocarbon/
.. image:: https://img.shields.io/pypi/l/aiocarbon.svg
:target: https://pypi.python.org/pypi/aiocarbon/
Client for feeding data to graphite.
Example
-------
Counter example:
.. code-block:: python
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()
Raw data
{
"_id": null,
"home_page": "http://github.com/mosquito/aiocarbon",
"name": "aiocarbon",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5, <4",
"maintainer_email": "",
"keywords": "aio,python,asyncio,carbon,graphite,client",
"author": "Dmitry Orlov <me@mosquito.su>",
"author_email": "me@mosquito.su",
"download_url": "https://files.pythonhosted.org/packages/0d/f6/99230e51197227f6b1573a8b66d1e801f48c9138bd6248291dd475b26fd8/aiocarbon-0.15.3.tar.gz",
"platform": null,
"description": "aiocarbon\n=========\n\n.. image:: https://coveralls.io/repos/github/mosquito/aiocarbon/badge.svg?branch=master\n :target: https://coveralls.io/github/mosquito/aiocarbon\n :alt: Coveralls\n\n.. image:: https://travis-ci.org/mosquito/aiocarbon.svg\n :target: https://travis-ci.org/mosquito/aiocarbon\n :alt: Travis CI\n\n.. image:: https://img.shields.io/pypi/v/aiocarbon.svg\n :target: https://pypi.python.org/pypi/aiocarbon/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/wheel/aiocarbon.svg\n :target: https://pypi.python.org/pypi/aiocarbon/\n\n.. image:: https://img.shields.io/pypi/pyversions/aiocarbon.svg\n :target: https://pypi.python.org/pypi/aiocarbon/\n\n.. image:: https://img.shields.io/pypi/l/aiocarbon.svg\n :target: https://pypi.python.org/pypi/aiocarbon/\n\nClient for feeding data to graphite.\n\nExample\n-------\n\nCounter example:\n\n.. code-block:: python\n\n import asyncio\n import aiocarbon\n\n\n async def main(loop):\n aiocarbon.setup(\n host=\"127.0.0.1\", port=2003, client_class=aiocarbon.TCPClient\n )\n\n for _ in range(1000):\n with aiocarbon.Counter(\"foo\"):\n await asyncio.sleep(0.1)\n\n\n if __name__ == \"__main__\":\n loop = asyncio.get_event_loop()\n loop.run_until_complete(main(loop))\n loop.close()\n",
"bugtrack_url": null,
"license": "Apache 2",
"summary": "Asynchronous client for carbon.",
"version": "0.15.3",
"project_urls": {
"Homepage": "http://github.com/mosquito/aiocarbon"
},
"split_keywords": [
"aio",
"python",
"asyncio",
"carbon",
"graphite",
"client"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3abe8bb23dd4f99eb67ce67d58a8f864adccb2d99c77f956dbe9be6d3d60dde1",
"md5": "83f1cd935e7c3238a84161333349672d",
"sha256": "1b707cf07269fb131ec0bd1aca612d8c42bee7c58babafa59384cbb985b09ba2"
},
"downloads": -1,
"filename": "aiocarbon-0.15.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "83f1cd935e7c3238a84161333349672d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5, <4",
"size": 18952,
"upload_time": "2023-09-21T14:26:37",
"upload_time_iso_8601": "2023-09-21T14:26:37.569046Z",
"url": "https://files.pythonhosted.org/packages/3a/be/8bb23dd4f99eb67ce67d58a8f864adccb2d99c77f956dbe9be6d3d60dde1/aiocarbon-0.15.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0df699230e51197227f6b1573a8b66d1e801f48c9138bd6248291dd475b26fd8",
"md5": "eea160379fd085036a719a1079367a51",
"sha256": "1aea9dcfdeaec449b02bc262a84e6c5422f477839966f6ad4745cebe2e31ce0a"
},
"downloads": -1,
"filename": "aiocarbon-0.15.3.tar.gz",
"has_sig": false,
"md5_digest": "eea160379fd085036a719a1079367a51",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5, <4",
"size": 12133,
"upload_time": "2023-09-21T14:26:39",
"upload_time_iso_8601": "2023-09-21T14:26:39.328066Z",
"url": "https://files.pythonhosted.org/packages/0d/f6/99230e51197227f6b1573a8b66d1e801f48c9138bd6248291dd475b26fd8/aiocarbon-0.15.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-21 14:26:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mosquito",
"github_project": "aiocarbon",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "aiocarbon"
}