{ "info": { "author": "Wolfgang Schnerring ", "author_email": "wosc@wosc.de", "bugtrack_url": null, "classifiers": [], "description": "==============\npyramid_scales\n==============\n\n.. pandoc -f rst -t markdown -o README.md README.txt\n\n.. image:: https://travis-ci.org/wosc/pyramid_scales.png\n :target: https://travis-ci.org/wosc/pyramid_scales\n\nThe excellent `scales`_ library to collect in-process metrics (see Coda Hale\u2019s\nCodeConf talk \"`Metrics everywhere`_\" among many others for reasons why you\nmight want use it) comes with a `flask`_-based HTTP server that allows viewing\nthe collected measurements and dumping them as JSON. But if you already are in\na web application using `pyramid`_, there's no real need to spin up yet another\nthread, open another port etc. to do this.\n\nInstead, you can simply include ``pyramid_scales`` like so::\n\n import pyramid.config\n config = pyramid.config.Configurator()\n # rest of your configuration goes here\n config.include('pyramid_scales')\n\nThis registeres a view below the URL ``/scales/`` where you can view your\napplication's metrics. If you need more control, register the\n``pyramid_scales.scales_stats`` view yourself in whichever way you need.\n\nThis package is compatible with Python version 2.7 (scales itself does not\nsupport Python3 yet, so there's no point here).\n\n\n.. _`scales`: https://github.com/Cue/scales\n.. _`flask`: http://flask.pocoo.org/\n.. _`Metrics everywhere`: http://codahale.com/codeconf-2011-04-09-metrics-metrics-everywhere.pdf\n.. _`pyramid`: http://docs.pylonsproject.org/en/latest/docs/pyramid.html\n\n\n=========================\nDeveloping pyramid_scales\n=========================\n\n:Author:\n Wolfgang Schnerring \n\n:PyPI page:\n https://pypi.python.org/pypi/pyramid_scales\n\n:Issues:\n `report via e-mail `_\n\n:Source code:\n https://github.com/wosc/pyramid_scales\n\n\n=============================\nChange log for pyramid_scales\n=============================\n\n1.1.1 (2018-11-07)\n==================\n\n- Make current-setuptools compatible\n\n\n1.1 (2015-02-03)\n================\n\n- Make Python3 compatible (patch by Hynek Schlawack)\n\n\n1.0 (2013-11-06)\n================\n\ninitial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wosc/pyramid_scales", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pyramid_scales", "package_url": "https://pypi.org/project/pyramid_scales/", "platform": "", "project_url": "https://pypi.org/project/pyramid_scales/", "project_urls": { "Homepage": "https://github.com/wosc/pyramid_scales" }, "release_url": "https://pypi.org/project/pyramid_scales/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Viewing scales metrics from Pyramid", "version": "1.1.1" }, "last_serial": 4462304, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "0b787a93f418f62ded28c99a045facf6", "sha256": "9680a0a06b8f2230b82ec64e588ede6026b55fbd61ddb9f17a02b2bd4708aa57" }, "downloads": -1, "filename": "pyramid_scales-1.0.zip", "has_sig": false, "md5_digest": "0b787a93f418f62ded28c99a045facf6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9978, "upload_time": "2013-11-06T17:03:38", "url": "https://files.pythonhosted.org/packages/01/53/1f834a7e3303a5a116c1c309943dfc37884fc5dfed91153548564ce51c79/pyramid_scales-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d07a21a1934829f1acf124e3720cb1ce", "sha256": "37cb186185852b8e4b5abb39bdbbda9edaedf4766b48848b8dc54ff218c2cffe" }, "downloads": -1, "filename": "pyramid_scales-1.1.zip", "has_sig": false, "md5_digest": "d07a21a1934829f1acf124e3720cb1ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10477, "upload_time": "2015-02-03T18:37:34", "url": "https://files.pythonhosted.org/packages/67/40/954b5565b6c826d70168b7088d519195982c79ff3699ae4079eb1a2cd0a3/pyramid_scales-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "21f2322f2a7320baff59c34f361edd8c", "sha256": "bf931ccae7b4a7b21dfb9af34ed0a4e642210aa723a1716a77120c2c88940a9c" }, "downloads": -1, "filename": "pyramid_scales-1.1.1.tar.gz", "has_sig": false, "md5_digest": "21f2322f2a7320baff59c34f361edd8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4825, "upload_time": "2018-11-07T16:58:25", "url": "https://files.pythonhosted.org/packages/06/7f/8dadc53d11a64f86d6af56502a0f8d2a937332e76e3593f1da3acf01035f/pyramid_scales-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21f2322f2a7320baff59c34f361edd8c", "sha256": "bf931ccae7b4a7b21dfb9af34ed0a4e642210aa723a1716a77120c2c88940a9c" }, "downloads": -1, "filename": "pyramid_scales-1.1.1.tar.gz", "has_sig": false, "md5_digest": "21f2322f2a7320baff59c34f361edd8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4825, "upload_time": "2018-11-07T16:58:25", "url": "https://files.pythonhosted.org/packages/06/7f/8dadc53d11a64f86d6af56502a0f8d2a937332e76e3593f1da3acf01035f/pyramid_scales-1.1.1.tar.gz" } ] }