{ "info": { "author": "Brian Rue", "author_email": "brian@ratchet.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Pyramid", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Software Development", "Topic :: Software Development :: Bug Tracking", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "pyramid_ratchet\n===============\n\npyramid_ratchet is a simple middleware for reporting errors from Pyramid apps to Ratchet.io_. \n\nIf pyramid_debugtoolbar is available, it will be monkey-patched so that exception pages show a link to the relevant item in Ratchet.io.\n\n\nRequirements\n------------\npyramid_ratchet requires:\n\n- Python 2.6 or 2.7\n- Pyramid 1.2+\n- requests 0.12+\n- a Ratchet.io `error reporting`_ account\n\n\nInstallation\n------------\nInstall using pip::\n \n pip install pyramid_ratchet\n\n\nConfiguration\n-------------\nAdd pyramid_ratchet to the *end* of your ``pyramid.includes``::\n \n [app:main]\n pyramid.includes =\n pyramid_debugtoolbar\n pyramid_ratchet\n\nAdd the bare minimum configuration variables::\n\n [app:main]\n ratchet.access_token = 32charactertoken\n\nMost users will want a few extra settings to take advantage of more features::\n\n [app:main]\n ratchet.access_token = 32charactertoken\n ratchet.environment = production\n ratchet.branch = master\n ratchet.root = %(here)s\n\nTo enable Person tracking (to associate errors with users), attach a \"ratchet_person\" property to your ``request`` objects. It should return a dictionary containing an 'id' identifying the user (any string up to 40 characters), and may optionally include 'username' and 'email' (255-char strings). For example:\n\n class MyRequest(pyramid.request.Request):\n @property\n def ratchet_person(self):\n return {\n 'id': get_user_id(self),\n 'username': get_username(self),\n 'email': get_user_email(self)\n }\n\n # when setting up your Configurator:\n config = Configurator(settings=settings, request_factory=MyRequest)\n\nIf your request objects don't have a ratchet_person object, pyramid_ratchet will look for request.user_id instead.\n\n\nHere's the full list of configuration variables:\n\naccess_token\n Access token from your Ratchet.io project\nhandler\n One of:\n\n - blocking -- runs in main thread\n - thread -- spawns a new thread\n - agent -- writes messages to a log file for consumption by ratchet-agent_\n\n **default:** ``thread``\nenvironment\n Environment name. Any string up to 255 chars is OK. For best results, use \"production\" for your production environment.\nroot\n Absolute path to the root of your application, not including the final ``/``. ``%(here)s`` is probably what you want.\nbranch\n Name of the checked-out branch.\n\n **default:** ``master``\nagent.log_file\n If ``handler`` is ``agent``, the path to the log file. Filename must end in ``.ratchet``\nallow_test\n When true, adds a hook to send a test error report (but not interrupt the request in any other way) whenever the query string contains ``pyramid_ratchet_test=true``.\n\n **default:** ``true``\nendpoint\n URL items are posted to.\n \n **default:** ``https://submit.ratchet.io/api/1/item/``\nweb_base\n Base URL of the Ratchet.io web interface (used for links on the exception debug page)\n\n **default** ``https://ratchet.io``\npatch_debugtoolbar\n If true, pyramid_debugtoolbar will be monkeypatched so that exception debug pages include a link to the item in Ratchet.io\n\n **default** ``true``\nscrub_fields\n List of field names to scrub out of POST. Values will be replaced with astrickses. If overridiing, make sure to list all fields you want to scrub, not just fields you want to add to the default. Param names are converted to lowercase before comparing against the scrub list.\n\n **default** ``['passwd', 'password', 'secret']``\n\n\nContributing\n------------\n\nContributions are welcome. The project is hosted on github at http://github.com/ratchetio/pyramid_ratchet\n\n\nAdditional Help\n---------------\nIf you have any questions, feedback, etc., drop us a line at support@ratchet.io\n\n\n.. _Ratchet.io: http://ratchet.io/\n.. _error reporting: http://ratchet.io/\n.. _ratchet-agent: http://github.com/ratchetio/ratchet-agent", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ratchetio/pyramid_ratchet", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pyramid_ratchet", "package_url": "https://pypi.org/project/pyramid_ratchet/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid_ratchet/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ratchetio/pyramid_ratchet" }, "release_url": "https://pypi.org/project/pyramid_ratchet/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "Ratchet.io notifier plugin for Pyramid", "version": "0.3.4" }, "last_serial": 797636, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "caa498318f0e9a2472ed8b298d059348", "sha256": "8bb5617687f24438f3d2b17d8c6c52e86b1e368bf794f4607229cb2ae24720a3" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.tar.gz", "has_sig": false, "md5_digest": "caa498318f0e9a2472ed8b298d059348", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2126, "upload_time": "2012-06-15T09:27:59", "url": "https://files.pythonhosted.org/packages/26/cb/a1e4d6990745b520c87669a1cf46519a1f847b997fb2ba569724b1ed9210/pyramid_ratchet-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2fe985ed41b5695adf5ab3973bfc09ae", "sha256": "6f606483ea10f8918bb8a20c3379f964a0e5b7c46e8895bea1927bc14e220dd5" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2fe985ed41b5695adf5ab3973bfc09ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2218, "upload_time": "2012-06-15T09:34:49", "url": "https://files.pythonhosted.org/packages/37/f4/037b373f8a47a4312355c07d5ab9792b65224acebb6c2e5523e6073b5487/pyramid_ratchet-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1a41f48209be455ea6e00119062c0c26", "sha256": "5c5b7064f353c81a9780524d45b36b259057e3afe87af969514f5aef83b77848" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1a41f48209be455ea6e00119062c0c26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2213, "upload_time": "2012-06-15T09:46:04", "url": "https://files.pythonhosted.org/packages/e4/62/db00c9cecbf7f6a7ab3885f3f45dedf58bf94da117a192d383cd4950c3d9/pyramid_ratchet-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "48c7dbfb6873357446426646a6847a64", "sha256": "d2b8f9f5e08f266eb93ce584a5bc26f81789b8313dd584256a67f5794e7ab074" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.3.tar.gz", "has_sig": false, "md5_digest": "48c7dbfb6873357446426646a6847a64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2191, "upload_time": "2012-06-15T09:47:35", "url": "https://files.pythonhosted.org/packages/8c/f9/d3c53f920efa923d16e7c095b020fe303c2b8665b91f9309070835bf3e48/pyramid_ratchet-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9df14b2f5ea6785db40c913d27165ca6", "sha256": "e3707d03be620d0398c3069885ed22e13d56bc351620ca0c27c1be353bb174d9" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9df14b2f5ea6785db40c913d27165ca6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2211, "upload_time": "2012-06-15T23:28:03", "url": "https://files.pythonhosted.org/packages/39/c8/a02f1ec200fd1d540b1d9309e99551fb15d70f9b69e840d93386c5e74439/pyramid_ratchet-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3d31ac0133e4581c60c32d1d81617293", "sha256": "97528041b300885503f9ff0d0c60b34f646df25441b010edcc88215df02b73fc" }, "downloads": -1, "filename": "pyramid_ratchet-0.1.5.tar.gz", "has_sig": false, "md5_digest": "3d31ac0133e4581c60c32d1d81617293", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2212, "upload_time": "2012-06-30T00:21:17", "url": "https://files.pythonhosted.org/packages/34/8c/0a0b0b7b52a7926f2db52023a91eb7b92291e43da5ac2e0efcf4b8e375dd/pyramid_ratchet-0.1.5.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "9f120a0371aba13ae6a05d8d91814a05", "sha256": "3151b3e44199d57b31424ad3d1881507f032daf206433886e0407675a2189a08" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.tar.gz", "has_sig": false, "md5_digest": "9f120a0371aba13ae6a05d8d91814a05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2235, "upload_time": "2012-07-06T20:49:34", "url": "https://files.pythonhosted.org/packages/87/c2/c0f721a9e109a765726e94a8cd40cedb06aa2f46f791fb0a285dcb06ac8a/pyramid_ratchet-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ac7783c9b9ab5dd380befc9fb41c800b", "sha256": "eb1c0e073d695b25f4ef4c304742458492a0f0a27ba197a021149b5bb490969f" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ac7783c9b9ab5dd380befc9fb41c800b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3995, "upload_time": "2012-07-07T02:40:53", "url": "https://files.pythonhosted.org/packages/5f/dd/298b3080ca05dd016c425a1485c244560c3f47ef3c731368d8ccc0a6b9c7/pyramid_ratchet-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "ca342dfc65f3a36c132769825e61c2be", "sha256": "d26a618669fa157d0bcc07d231fb8f9b9ec59c6d3b1ee85b776405216e0872dd" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.2.tar.gz", "has_sig": false, "md5_digest": "ca342dfc65f3a36c132769825e61c2be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2262, "upload_time": "2012-07-15T01:57:50", "url": "https://files.pythonhosted.org/packages/61/ca/f9fd9a62f4600bb2800e258e3270d55f0b32587c73a333b91a1979cd8e42/pyramid_ratchet-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "17223ca84c0d18fd9a1176b1be294a22", "sha256": "0fe6182e18f7c6710df19ac81c6e494430a55f9ec4b5901e9dc2a026c4d9425b" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.3.tar.gz", "has_sig": false, "md5_digest": "17223ca84c0d18fd9a1176b1be294a22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2264, "upload_time": "2012-07-15T01:58:40", "url": "https://files.pythonhosted.org/packages/26/85/28a6a126e572172c432faaa86376ba8fb49dde9975705c5bb7a3bb0dbe60/pyramid_ratchet-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "e75074c9b235dd4c3958bc9e3fe9305c", "sha256": "4c76dea6780e8f5aca35ffbc9daa657291210b0593a624ede72681268fd90c72" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e75074c9b235dd4c3958bc9e3fe9305c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4122, "upload_time": "2012-08-09T01:08:04", "url": "https://files.pythonhosted.org/packages/9f/69/fe6b4d2a54f1f44f987afc8bd5a79c1e418c88ae19e7ffb84ae906d308b0/pyramid_ratchet-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "706e8b20b43e2254cf473f97ea888247", "sha256": "0a8c13b1fd89e870a05a72ccfef12c0fdcbed93c4b5e077b9c0c80d1104a6946" }, "downloads": -1, "filename": "pyramid_ratchet-0.2.5.tar.gz", "has_sig": false, "md5_digest": "706e8b20b43e2254cf473f97ea888247", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4121, "upload_time": "2012-08-13T00:01:47", "url": "https://files.pythonhosted.org/packages/ce/2d/5303d3dba88afd40b2dee3c98c594653dad6a66d959abf5d7c85616ef890/pyramid_ratchet-0.2.5.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "767f92b5f9f26bea92b7f326727697ae", "sha256": "02ae502fd52c655c8bba3bceec4a84b32d11f9877463a9050fe28fa0ab80abfd" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.tar.gz", "has_sig": false, "md5_digest": "767f92b5f9f26bea92b7f326727697ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4731, "upload_time": "2012-09-19T23:36:20", "url": "https://files.pythonhosted.org/packages/1e/15/bee208a79ed7f3a51713e0f66c469d09bd0df15337acac902520798bb3b8/pyramid_ratchet-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "331615f7efe316aa77d9c8291b92742d", "sha256": "53a631097eb980ab02b3455c64d9b8148f89dc280c16df2267c595462ab19fde" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.1.tar.gz", "has_sig": false, "md5_digest": "331615f7efe316aa77d9c8291b92742d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4814, "upload_time": "2012-09-19T23:39:32", "url": "https://files.pythonhosted.org/packages/3b/a6/989be4e7a15ed83bddbfac1e5daa051f030e996e0a57468e880c78d36621/pyramid_ratchet-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "358253b78e2a6d7ed330055832b101c5", "sha256": "733e01613c820fecd45434347ede48fdb997e4511c7caa33bbce903308065c0b" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.2.tar.gz", "has_sig": false, "md5_digest": "358253b78e2a6d7ed330055832b101c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5324, "upload_time": "2012-09-20T04:17:59", "url": "https://files.pythonhosted.org/packages/fb/8d/4b8bccf7cbfd48d0085aed6860da9a78cc341182891a4247b142c7b7183f/pyramid_ratchet-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "0291905c42b23bf36b324d1dff804a95", "sha256": "6ab7d8a11a8fa920386e2f5ebd041431631a2e68fdf7aba8d1539758b067b659" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.3.tar.gz", "has_sig": false, "md5_digest": "0291905c42b23bf36b324d1dff804a95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5338, "upload_time": "2012-10-23T06:04:19", "url": "https://files.pythonhosted.org/packages/30/66/b9e7ec5537cde62b3a545b798007838726704f6d869059bcdd08e7e0c5ff/pyramid_ratchet-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "9769c1dea91daf6c6580744a1c2ad7ef", "sha256": "2f0b4bd2ad84367c535b15825a40d95d5879e9f4b713432b5ab43be7f052a758" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.4.tar.gz", "has_sig": false, "md5_digest": "9769c1dea91daf6c6580744a1c2ad7ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5820, "upload_time": "2012-12-01T03:16:23", "url": "https://files.pythonhosted.org/packages/9c/88/9b303384995cef16bc176f8caad5a1029ea7ab071a78f6fbae1f2ff33b06/pyramid_ratchet-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9769c1dea91daf6c6580744a1c2ad7ef", "sha256": "2f0b4bd2ad84367c535b15825a40d95d5879e9f4b713432b5ab43be7f052a758" }, "downloads": -1, "filename": "pyramid_ratchet-0.3.4.tar.gz", "has_sig": false, "md5_digest": "9769c1dea91daf6c6580744a1c2ad7ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5820, "upload_time": "2012-12-01T03:16:23", "url": "https://files.pythonhosted.org/packages/9c/88/9b303384995cef16bc176f8caad5a1029ea7ab071a78f6fbae1f2ff33b06/pyramid_ratchet-0.3.4.tar.gz" } ] }