{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Pyramid", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "pyramid-is-live\n===============\n\n.. image:: https://travis-ci.com/GoodRx/pyramid-is-live.svg\n :target: https://travis-ci.com/GoodRx/pyramid-is-live\n\n``pyramid-is-live`` uses a tween to add an ``is_live`` property to Pyramid\nrequests, which is ``True`` if the request came from a HTTP interaction and\n``False`` otherwise, e.g. if the request came from ``pyramid.paster.bootstrap``.\n\nGetting Started\n---------------\n\n1. Install this package::\n\n pip install pyramid-is-live\n\n2. Include it in your application startup:\n\n .. code-block:: python\n\n def main(global_config, **settings):\n config = Configurator(...)\n config.include(\"pyramid_is_live\")\n ...\n\n3. Use ``request.is_live`` in your views and scripts!\n\nContributing\n------------\n\nWe use `tox `_ to run our tests and\nlinters.\n\nRun ``tox`` to run all tests and linters.\n\nRun ``tox -e format`` to reformat your code using `Black\n`_ and `isort\n`_.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyramid-is-live", "package_url": "https://pypi.org/project/pyramid-is-live/", "platform": "", "project_url": "https://pypi.org/project/pyramid-is-live/", "project_urls": null, "release_url": "https://pypi.org/project/pyramid-is-live/0.1.0.post4/", "requires_dist": [ "pyramid" ], "requires_python": "", "summary": "Add is_live to your Pyramid requests", "version": "0.1.0.post4" }, "last_serial": 4205219, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7f8b0bb7500fbbf3fd052e9327e68c58", "sha256": "9567631644d94b3da4a23fea258b947e5743aa4433eb3a0c23f093a406f8102f" }, "downloads": -1, "filename": "pyramid_is_live-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7f8b0bb7500fbbf3fd052e9327e68c58", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1816, "upload_time": "2018-06-19T23:53:22", "url": "https://files.pythonhosted.org/packages/80/5b/a32ec163edea95b5d8ababf48b4d968978eaafa0207270727ac41bcb6965/pyramid_is_live-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7cb2fe11ddc39255c25d2a09b2b480cc", "sha256": "b54ad4418961af05f2d435919d34ef7e2e6de996aa3b0280bfacce673c86183d" }, "downloads": -1, "filename": "pyramid-is-live-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7cb2fe11ddc39255c25d2a09b2b480cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3399, "upload_time": "2018-06-19T23:53:23", "url": "https://files.pythonhosted.org/packages/e4/95/f58bbf6fd8916a3798c896997844ad6ccc9631c26579f682940deed2d7cc/pyramid-is-live-0.1.0.tar.gz" } ], "0.1.0.post3": [ { "comment_text": "", "digests": { "md5": "20f0907338dfd50f2d06b526bce707b6", "sha256": "0191c5e4e8bde63c2fb3e16c2673f9320ffe990c8e0d42f7645bba00b9e863a2" }, "downloads": -1, "filename": "pyramid_is_live-0.1.0.post3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "20f0907338dfd50f2d06b526bce707b6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2382, "upload_time": "2018-06-20T00:02:39", "url": "https://files.pythonhosted.org/packages/c8/db/181be772a461889af45324519ad97a56245893f1eb8e8b21cfa6022a71c7/pyramid_is_live-0.1.0.post3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "69b80374092e0c117212f3a5cba8951c", "sha256": "3b2c922a5f72de5338577a5d80bdfb4fe9afc7d8c2992ecf04dc65715feb8dd8" }, "downloads": -1, "filename": "pyramid-is-live-0.1.0.post3.tar.gz", "has_sig": false, "md5_digest": "69b80374092e0c117212f3a5cba8951c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3638, "upload_time": "2018-06-20T00:02:40", "url": "https://files.pythonhosted.org/packages/f8/f3/aa3dd42b6adbe580c1e81f5bd0e262ecb32eae7d7e9f59b0e8031de829d2/pyramid-is-live-0.1.0.post3.tar.gz" } ], "0.1.0.post4": [ { "comment_text": "", "digests": { "md5": "e8ac31542641464ef3cd6be5d3ca7188", "sha256": "23cb1cd65da83919c58bb9d47bb026d268cf109a6542c55718d2cacc43232b12" }, "downloads": -1, "filename": "pyramid_is_live-0.1.0.post4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8ac31542641464ef3cd6be5d3ca7188", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2408, "upload_time": "2018-08-24T21:24:34", "url": "https://files.pythonhosted.org/packages/86/f1/6581f6bb8d98967183fff8dec8f8793d4e90fcd159f3998a94ba4b1fa8e4/pyramid_is_live-0.1.0.post4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "274265d491d2d5d68b7a6afe7901c580", "sha256": "fb838dc29f3cf3906fd57365f80dfc68ffa7a61433112bc216a432451ab1cd3a" }, "downloads": -1, "filename": "pyramid-is-live-0.1.0.post4.tar.gz", "has_sig": false, "md5_digest": "274265d491d2d5d68b7a6afe7901c580", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4445, "upload_time": "2018-08-24T21:24:35", "url": "https://files.pythonhosted.org/packages/17/33/a4e6ee9f349fd9a8c4b7018261f12e3754b3fc8005d82a0e7e7bbde6e686/pyramid-is-live-0.1.0.post4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8ac31542641464ef3cd6be5d3ca7188", "sha256": "23cb1cd65da83919c58bb9d47bb026d268cf109a6542c55718d2cacc43232b12" }, "downloads": -1, "filename": "pyramid_is_live-0.1.0.post4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8ac31542641464ef3cd6be5d3ca7188", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2408, "upload_time": "2018-08-24T21:24:34", "url": "https://files.pythonhosted.org/packages/86/f1/6581f6bb8d98967183fff8dec8f8793d4e90fcd159f3998a94ba4b1fa8e4/pyramid_is_live-0.1.0.post4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "274265d491d2d5d68b7a6afe7901c580", "sha256": "fb838dc29f3cf3906fd57365f80dfc68ffa7a61433112bc216a432451ab1cd3a" }, "downloads": -1, "filename": "pyramid-is-live-0.1.0.post4.tar.gz", "has_sig": false, "md5_digest": "274265d491d2d5d68b7a6afe7901c580", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4445, "upload_time": "2018-08-24T21:24:35", "url": "https://files.pythonhosted.org/packages/17/33/a4e6ee9f349fd9a8c4b7018261f12e3754b3fc8005d82a0e7e7bbde6e686/pyramid-is-live-0.1.0.post4.tar.gz" } ] }