{ "info": { "author": "AWeber Communications", "author_email": "api@aweber.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "sprockets.clients.statsd\n========================\nThe ``sprockets.clients.statsd`` package implements a simple statsd client that\nis used by the ``sprockets.mixins.statsd`` package. It can be used in your\napplications for sending metric values to statsd.\n\nThe default statsd server that is used is ``localhost:8125``. The ``STATSD``\nenvironment variable can be used to set the statsd server connection parameters.\nThis should take the form of a URL, such as ``udp://statsd.service:8675``.\nNote that the socket for communicating with statsd is created once upon module\nimport and will not change until the application is restarted or the module is\nreloaded.\n\n|Version| |Downloads| |Status| |Coverage| |License|\n\nInstallation\n------------\n``sprockets.clients.statsd`` is available on the\n`Python Package Index `_\nand can be installed via ``pip`` or ``easy_install``:\n\n.. code:: bash\n\n pip install sprockets.clients.statsd\n\nDocumentation\n-------------\nhttps://sprocketsclientsstatsd.readthedocs.org\n\nExample\n-------\nThe following example demonstrates how to use ``sprockets.clients.statsd`` by\nincrementing a counter, setting a gauge value, and adding a timing value:\n\n.. code:: python\n\n from sprockets.clients import statsd\n\n # Increment foo.bar.baz by 1\n statsd.incr('foo', 'bar', 'baz')\n\n # Set a gauge value\n statsd.set_gauge('foo', 'bar', 'baz', value=10)\n\n # Add a timing value\n statsd.add_timing('foo', 'bar', 'baz', value=3.14159)\n\nDocumentation is available at https://sprocketsclientsstatsd.readthedocs.org\n\nVersion History\n---------------\nAvailable at https://sprocketsclientsstatsd.readthedocs.org/en/latest/history.html\n\n.. |Version| image:: https://badge.fury.io/py/sprockets.clients.statsd.svg?\n :target: http://badge.fury.io/py/sprockets.clients.statsd\n\n.. |Status| image:: https://travis-ci.org/sprockets/sprockets.clients.statsd.svg?branch=master\n :target: https://travis-ci.org/sprockets/sprockets.clients.statsd\n\n.. |Coverage| image:: https://img.shields.io/coveralls/sprockets/sprockets.clients.statsd.svg?\n :target: https://coveralls.io/r/sprockets/sprockets.clients.statsd\n\n.. |Downloads| image:: https://pypip.in/d/sprockets.clients.statsd/badge.svg?\n :target: https://pypi.python.org/pypi/sprockets.clients.statsd\n\n.. |License| image:: https://pypip.in/license/sprockets.clients.statsd/badge.svg?\n :target: https://sprocketsclientsstatsd.readthedocs.org", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sprockets/sprockets.clients.statsd.git", "keywords": null, "license": "Copyright (c) 2014 AWeber Communications\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n * Neither the name of Sprockets nor the names of its\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\nIN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\nBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": null, "maintainer_email": null, "name": "sprockets.clients.statsd", "package_url": "https://pypi.org/project/sprockets.clients.statsd/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sprockets.clients.statsd/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sprockets/sprockets.clients.statsd.git" }, "release_url": "https://pypi.org/project/sprockets.clients.statsd/1.2.1/", "requires_dist": null, "requires_python": null, "summary": "A minimalistic statsd client used by sprockets.mixins.statsd", "version": "1.2.1" }, "last_serial": 1553611, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "631ec82b20500ee81bb5b039db790bb5", "sha256": "4c13185506a263107f26fade31441763f89e63faa295ced67b4a9f20614125da" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.0.0.tar.gz", "has_sig": false, "md5_digest": "631ec82b20500ee81bb5b039db790bb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4873, "upload_time": "2014-08-29T01:46:25", "url": "https://files.pythonhosted.org/packages/ed/20/a512dd0f812c3f4f381d50b743693c7157b65540459fe538ce5c44dc84fb/sprockets.clients.statsd-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "abaeaa7d7278f852b2a66f80ccb43fb2", "sha256": "60cb6d32b6ac9bba96dfe8c4a31722f8c1ec77603d15681bb5056ed3682bccce" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.0.1.tar.gz", "has_sig": false, "md5_digest": "abaeaa7d7278f852b2a66f80ccb43fb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4853, "upload_time": "2014-08-29T14:21:36", "url": "https://files.pythonhosted.org/packages/5c/10/938daacf319fed2cd41c20a4b070ce52de88bf75603534845e1edf489f24/sprockets.clients.statsd-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "c99b6cff5552d02156f4a5dd682a32c3", "sha256": "6b56cafb4ff394ac1111ec7c25ca4da0e6c96771587ac4b319df03fb8ab324a0" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.0.2.tar.gz", "has_sig": false, "md5_digest": "c99b6cff5552d02156f4a5dd682a32c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4852, "upload_time": "2014-09-04T20:33:54", "url": "https://files.pythonhosted.org/packages/e5/ad/e07c07bc765694a1569e67ca2f015e768af1bbe29bcd9d1c73463e174b64/sprockets.clients.statsd-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "f2ab3ef1169f3b8d6fb93d1d3f74cd5a", "sha256": "b1f3642307e34f0c0e02694e0fe9c6837ded1841167be12f4286741e71593895" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.1.0.tar.gz", "has_sig": false, "md5_digest": "f2ab3ef1169f3b8d6fb93d1d3f74cd5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5220, "upload_time": "2014-11-05T20:22:27", "url": "https://files.pythonhosted.org/packages/42/8f/7c635ac704b2010994fb3f3149d0be297785d93247be8ce0949e3475cad7/sprockets.clients.statsd-1.1.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "2b3c2212f351bf8979666868b7dafc7a", "sha256": "eccdfddc03cecadb0aa1e32d090ebf5db22b3e9c8a4eaeb370f50c226c839d35" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.2.1.tar.gz", "has_sig": false, "md5_digest": "2b3c2212f351bf8979666868b7dafc7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5609, "upload_time": "2015-05-19T20:30:48", "url": "https://files.pythonhosted.org/packages/f5/53/b3afc8007ab7d3cdf91b2f4954e2cdc9faeb3191bfc8dc41e98f5e2f7393/sprockets.clients.statsd-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b3c2212f351bf8979666868b7dafc7a", "sha256": "eccdfddc03cecadb0aa1e32d090ebf5db22b3e9c8a4eaeb370f50c226c839d35" }, "downloads": -1, "filename": "sprockets.clients.statsd-1.2.1.tar.gz", "has_sig": false, "md5_digest": "2b3c2212f351bf8979666868b7dafc7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5609, "upload_time": "2015-05-19T20:30:48", "url": "https://files.pythonhosted.org/packages/f5/53/b3afc8007ab7d3cdf91b2f4954e2cdc9faeb3191bfc8dc41e98f5e2f7393/sprockets.clients.statsd-1.2.1.tar.gz" } ] }