{ "info": { "author": "Agendaless Consulting", "author_email": "repoze-dev@lists.repoze.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware" ], "description": "repoze.tm2 (Transaction Manager)\n================================\n\n.. image:: https://travis-ci.org/repoze/repoze.tm2.png?branch=master\n :target: https://travis-ci.org/repoze/repoze.tm2\n\n.. image:: https://readthedocs.org/projects/repozetm2/badge/?version=latest\n :target: http://repozetm2.readthedocs.org/en/latest/ \n :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/repoze.tm2.svg\n :target: https://pypi.python.org/pypi/repoze.tm2\n\n.. image:: https://img.shields.io/pypi/pyversions/repoze.tm2.svg\n :target: https://pypi.python.org/pypi/repoze.tm2\n\nMiddleware which uses the ZODB transaction manager to wrap a call to\nits pipeline children inside a transaction. This is a fork of the\n``repoze.tm`` package which depends only on the ``transaction``\npackage rather than the entirety of ZODB (for users who don't rely on ZODB).\n\n\nChangelog\n=========\n\n2.1 (2016-06-03)\n----------------\n\n- Add support for Python 3.4, 3.5 and PyPy3.\n\n- Drop support for Python 2.6 and 3.2.\n\n- Add support for testing under Travis.\n\n2.0 (2013-06-26)\n----------------\n\n- Avoid swallowing the original exception while aborting the transaction\n in middleware. See PR #3.\n\n2.0b1 (2013-04-05)\n------------------\n\n- Middleware is now a generator, to deal appropriately with application\n iterators which are themselves not lists.\n\n- Convert use of deprecated failIf/failUnless to assertFalse/assertTrue.\n\n- Add support for testing under supported Pythons using Tox.\n\n- Add explicit support for Python 3.2 ad 3.3.\n\n- Drop support for Python 2.4, 2.5.\n\n1.0 (2012-03-24)\n----------------\n\n- Run OOTB under Python 2.4 / 2.5 (pin 'transaction' dependency to\n a supported version when running under 2.4 / 2.5).\n\n1.0b2 (2011-07-18)\n------------------\n\n- A new header ``X-Tm`` is now honored by the ``default_commit_veto`` commit\n veto hook. If this header exists in the headerlist, its value must be a\n string. If its value is ``commit``, the transaction will be committed\n regardless of the status code or the value of ``X-Tm-Abort``. If the value\n of the ``X-Tm`` header is ``abort`` (or any other string value except\n ``commit``), the transaction will be aborted regardless of the status code\n or the value of ``X-Tm-Abort``.\n\n- Use of the ``X-Tm-Abort`` header is now deprecated. Instead use the\n ``X-Tm`` header with a value of ``abort`` instead.\n\n- Add API docs section.\n\n1.0b1 (2011-01-19)\n------------------\n\n- Added ``repoze.tm.default_commit_veto`` commit veto hook. This commit veto\n hook aborts for 4XX and 5XX response codes, or if there's a header named\n ``X-Tm-Abort`` in the headerlist and allows a commit otherwise.\n\n- Documented commit veto hook.\n\n1.0a5 (2009-09-07)\n------------------\n\n- Don't commit after aborting if the transaction was doomed or if the\n commit veto aborted.\n\n- Don't use \"real\" transaction module in tests.\n\n- 100% test coverage.\n\n1.0a4 (2009-01-06)\n------------------\n\n- RESTify CHANGES, move docs in README.txt into Sphinx.\n\n- Remove ``setup.cfg`` (all dependencies available via PyPI).\n\n- Synchronization point with ``repoze.tm`` (0.9).\n\n1.0a3 (2008-08-03)\n------------------\n\nAllow ``commit_veto`` hook to be specified within Paste config, ala::\n\n [filter:tm]\n use = repoze.tm:make_tm\n commit_veto = some.package:myfunction\n\n``myfunction`` should take three args: environ, status, headers and\nshould return True if the txn should be aborted, False if it should be\ncommitted.\n\nInitial PyPI release.\n\n1.0a2 (2008-07-15)\n------------------\n\n- Provide \"commit_veto\" hook point (contributed by Alberto Valverde).\n\n- Point easy_install at http://dist.repoze.org/tm2/dev/simple via setup.cfg.\n \n1.0a1 (2008-01-09)\n------------------\n\n- Fork point: we've created repoze.tm2, which is repoze.tm that has a\n dependency only on the 'transaction' package instead of all of ZODB.\n\n- Better documentation for non-Zope usage in README.txt.\n\n0.8 (2007-10-11)\n----------------\n\n- Relaxed requirement for ZODB 3.7.2, since we might need to use the\n package with other verions. Note that the tests which depend on\n transaction having \"doom\" semantics don't work with 3.7.2, anyway.\n\n0.7 (2007-09-25)\n----------------\n\n- Depend on PyPI release of ZODB 3.7.2. Upgrade to this by doing\n bin/easy_install -U 'ZODB3 >= 3.7.1, < 3.8.0a' if necessary.\n\n0.6 (2007-09-21)\n----------------\n\n - after_end.register and after_end.unregister must now be passed a\n transaction object rather than a WSGI environment to avoid the\n possibility that the WSGI environment used by a child participating\n in transaction management won't be the same one used by the\n repoze.tm package.\n\n - repoze.tm now inserts a key into the WSGI environment\n (``repoze.tm.active``) if it's active in the WSGI pipeline. An API\n function, repoze.tm:isActive can be called with a single argument,\n the WSGI environment, to check if the middleware is active.\n\n0.5 (2007-09-18)\n----------------\n\n- Depend on rerolled ZODB 3.7.1 instead of zopelib.\n\n- Add license and copyright, change trove classifiers.\n\n0.4 (2007-09-17)\n----------------\n\n- Depend on zopelib rather than ZODB 3.8.0b3 distribution, because the\n ZODB distribution pulls in various packages (zope.interface and ZEO\n most notably) that are incompatible with stock Zope 2.10.4 apps and\n older sandboxes. We'll need to revisit this.\n\n0.3 (2007-09-14)\n----------------\n\n- Provide limited compatibility for older transaction package versions\n which don't support the 'transaction.isDoomed' API.\n\n0.2 (2007-09-13)\n----------------\n\n- Provide after_end API for registering callbacks at transaction end.\n\n0.1 (2007-09-10)\n----------------\n\n- Initial Release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.repoze.org", "keywords": "web application server wsgi zope repoze", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "repoze.tm2", "package_url": "https://pypi.org/project/repoze.tm2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/repoze.tm2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.repoze.org" }, "release_url": "https://pypi.org/project/repoze.tm2/2.1/", "requires_dist": null, "requires_python": null, "summary": "Per-request transactions via WSGI middleware", "version": "2.1" }, "last_serial": 2149565, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c645a878874c8876c9c6b3467246afbc", "sha256": "6234cd745a1e6b6e2344c6782319e17cbc9dc9bbe2d820a01cd728267d2c817a" }, "downloads": -1, "filename": "repoze.tm2-1.0.tar.gz", "has_sig": false, "md5_digest": "c645a878874c8876c9c6b3467246afbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25003, "upload_time": "2012-03-24T19:42:20", "url": "https://files.pythonhosted.org/packages/a3/43/63cb41d734c4f806e178347b6404b9b84daa3f9b664154704b9080c8c35c/repoze.tm2-1.0.tar.gz" } ], "1.0a3": [ { "comment_text": "", "digests": { "md5": "1354ffaa88ee82793342e7bf2cae6ea9", "sha256": "8584aaac8740c2fa4c631d8e83d34d98753c9af5c79e633db983144f575364f9" }, "downloads": -1, "filename": "repoze.tm2-1.0a3.tar.gz", "has_sig": false, "md5_digest": "1354ffaa88ee82793342e7bf2cae6ea9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15654, "upload_time": "2008-08-03T18:16:16", "url": "https://files.pythonhosted.org/packages/37/d0/d29214bad79d6a733674fa7d5a8cb538b11cc618b5b5d513d47904791ba0/repoze.tm2-1.0a3.tar.gz" } ], "1.0a4": [ { "comment_text": "", "digests": { "md5": "0a8c71c8b99487de353ca2b1205f05e4", "sha256": "8d10eab7ab8cdd2f87a196e1c10a1ac908ab2ebabd9bf6ac2df4fc30599a4e36" }, "downloads": -1, "filename": "repoze.tm2-1.0a4.tar.gz", "has_sig": false, "md5_digest": "0a8c71c8b99487de353ca2b1205f05e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19364, "upload_time": "2009-01-07T01:25:25", "url": "https://files.pythonhosted.org/packages/af/7d/9ca4b5e16aec54082a3523075d8f997b0a7d09ef681ff875ce84e43b580d/repoze.tm2-1.0a4.tar.gz" } ], "1.0a5": [ { "comment_text": "", "digests": { "md5": "e874e84259b753dd0157260412d61173", "sha256": "1af458d74934e0486c01de8f21be941f7937e8e8d0ff07062eb65eca48e709b9" }, "downloads": -1, "filename": "repoze.tm2-1.0a5.tar.gz", "has_sig": false, "md5_digest": "e874e84259b753dd0157260412d61173", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19427, "upload_time": "2009-09-07T18:36:40", "url": "https://files.pythonhosted.org/packages/44/20/a1963c8ee4771fef67b32e9fc07dd25a6ddcfc5d7d8bfc0b6d193ea6f7eb/repoze.tm2-1.0a5.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "a89757ac1e5403b5097eee26252f9977", "sha256": "1185321a61a64ac626dd8243752d1e399516a4b62a5df85ae29999fd1ed793ac" }, "downloads": -1, "filename": "repoze.tm2-1.0b1.tar.gz", "has_sig": false, "md5_digest": "a89757ac1e5403b5097eee26252f9977", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21285, "upload_time": "2011-01-20T02:58:06", "url": "https://files.pythonhosted.org/packages/80/9d/5a06af6c946b2a5791b4c6974d9530cd6d4c5520f5f211e2caceef504181/repoze.tm2-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "b3a40ea854075bf8c2a86659982f96b1", "sha256": "f66acde3533d8cf2d9e18f2669c3343536b4852ebb9c765804cf16878f0dba16" }, "downloads": -1, "filename": "repoze.tm2-1.0b2.tar.gz", "has_sig": false, "md5_digest": "b3a40ea854075bf8c2a86659982f96b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24166, "upload_time": "2011-07-19T03:36:24", "url": "https://files.pythonhosted.org/packages/4e/64/d63d2936f3cdbee6628f7d0f9c5daa73d976185bcbb355e843e33d6e1473/repoze.tm2-1.0b2.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "aadf30da4db952e62c8212e736a14f4e", "sha256": "1b4869d6ac22150f0a3e13d09bb75499a6a7a24251e07d6caa0f657693789e6e" }, "downloads": -1, "filename": "repoze.tm2-2.0.tar.gz", "has_sig": false, "md5_digest": "aadf30da4db952e62c8212e736a14f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25986, "upload_time": "2013-06-26T14:25:10", "url": "https://files.pythonhosted.org/packages/6d/91/c5a70f7b1ef6db71b656ed527168e09a9ce36f0033248deef8d89bb53214/repoze.tm2-2.0.tar.gz" } ], "2.0b1": [ { "comment_text": "", "digests": { "md5": "7cde31517471c07b2b651dbad67eec02", "sha256": "aaa7d80d64ede2a8315737f682dc969989c4cc427e99f031e5df19149abff970" }, "downloads": -1, "filename": "repoze.tm2-2.0b1.tar.gz", "has_sig": false, "md5_digest": "7cde31517471c07b2b651dbad67eec02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25364, "upload_time": "2013-04-05T15:56:28", "url": "https://files.pythonhosted.org/packages/26/81/a0daef427cc94fa45499679f66bc890a8f761c7c4ff23411b1be4ce28d5e/repoze.tm2-2.0b1.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "739999ffc676b41aa23b1cba338a07dc", "sha256": "8398db5054ea34aab3316c76be2318aa7a71fc90bb770a8bdd8d2091944f3a3b" }, "downloads": -1, "filename": "repoze.tm2-2.1-py2-none-any.whl", "has_sig": true, "md5_digest": "739999ffc676b41aa23b1cba338a07dc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11421, "upload_time": "2016-06-03T18:01:01", "url": "https://files.pythonhosted.org/packages/e6/c8/953619594b0324c792214e8dce1f476979c6c7e691b52d110cb1445d3671/repoze.tm2-2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d8d6a18c235d2ed86bc6c34fb3dea32", "sha256": "f3b472138aa7b30dc591d237f9c99a2be129b504ddd31b067d0535f2425b9721" }, "downloads": -1, "filename": "repoze.tm2-2.1-py3-none-any.whl", "has_sig": true, "md5_digest": "7d8d6a18c235d2ed86bc6c34fb3dea32", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11420, "upload_time": "2016-06-03T18:01:59", "url": "https://files.pythonhosted.org/packages/ea/a7/7f394344fd3ce70f610b566e262f746bad6852555c7514d4520d0e31ca83/repoze.tm2-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee1fbfdfe3017364bcd28e6338ad1276", "sha256": "281273f41121570522e3ba832996af748e34a0601c8d3989023e4e1eeb3cbe80" }, "downloads": -1, "filename": "repoze.tm2-2.1.tar.gz", "has_sig": true, "md5_digest": "ee1fbfdfe3017364bcd28e6338ad1276", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26309, "upload_time": "2016-06-03T17:59:18", "url": "https://files.pythonhosted.org/packages/25/16/991e1f2658383e8d17c17e49b424ed2537fd635a276524940d7f50d18a61/repoze.tm2-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "739999ffc676b41aa23b1cba338a07dc", "sha256": "8398db5054ea34aab3316c76be2318aa7a71fc90bb770a8bdd8d2091944f3a3b" }, "downloads": -1, "filename": "repoze.tm2-2.1-py2-none-any.whl", "has_sig": true, "md5_digest": "739999ffc676b41aa23b1cba338a07dc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11421, "upload_time": "2016-06-03T18:01:01", "url": "https://files.pythonhosted.org/packages/e6/c8/953619594b0324c792214e8dce1f476979c6c7e691b52d110cb1445d3671/repoze.tm2-2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d8d6a18c235d2ed86bc6c34fb3dea32", "sha256": "f3b472138aa7b30dc591d237f9c99a2be129b504ddd31b067d0535f2425b9721" }, "downloads": -1, "filename": "repoze.tm2-2.1-py3-none-any.whl", "has_sig": true, "md5_digest": "7d8d6a18c235d2ed86bc6c34fb3dea32", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11420, "upload_time": "2016-06-03T18:01:59", "url": "https://files.pythonhosted.org/packages/ea/a7/7f394344fd3ce70f610b566e262f746bad6852555c7514d4520d0e31ca83/repoze.tm2-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee1fbfdfe3017364bcd28e6338ad1276", "sha256": "281273f41121570522e3ba832996af748e34a0601c8d3989023e4e1eeb3cbe80" }, "downloads": -1, "filename": "repoze.tm2-2.1.tar.gz", "has_sig": true, "md5_digest": "ee1fbfdfe3017364bcd28e6338ad1276", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26309, "upload_time": "2016-06-03T17:59:18", "url": "https://files.pythonhosted.org/packages/25/16/991e1f2658383e8d17c17e49b424ed2537fd635a276524940d7f50d18a61/repoze.tm2-2.1.tar.gz" } ] }