{ "info": { "author": "Adam Johnson", "author_email": "me@adamj.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 7 - Inactive", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "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" ], "description": "django_atomic_signals - Signals for atomic transaction blocks in Django\n============================================================================\n\n.. image:: https://travis-ci.org/adamchainz/django_atomic_signals.png?branch=master\n :target: https://travis-ci.org/adamchainz/django_atomic_signals\n\nDon't Use This Package\n----------------------\n\nWhen this library was created, there was an unmet demand for its main use case: being able to run code when the current\ntransaction commits, and only if it commits. However, signals are not the best way to do this, as Django core developer\nAymeric Augustin has covered on his `django-transaction-signals\n`_ project (which is very similar to this one). You can read\nmore explanation and history there.\n\nIf you want a supported method of running a function on commit, then:\n\n- on Django >= 1.9, use the built-in on_commit_ hook\n- on Django < 1.9, use `django-transaction-hooks`_ (the original source of 1.9's ``on_commit``)\n\n.. _on_commit: https://docs.djangoproject.com/en/dev/topics/db/transactions/#django.db.transaction.on_commit\n.. _django-transaction-hooks: https://django-transaction-hooks.readthedocs.org/\n\nFor other usecases, read Aymeric's description of possible solutions.\n\nIf your project is still using this library, please migrate.\n\nThe current version of `django-atomic-signals`, 2.0.0, simply errors upon import, directing you here.", "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/adamchainz/django_atomic_signals", "keywords": null, "license": "Copyright (c) Nick Bruun \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 1. Redistributions of source code must retain the above copyright notice, \n this list of conditions and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce the above copyright \n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nParts of the code base are derivatives of the Django code base subject to the\nDjango license:\n\nCopyright (c) Django Software Foundation and individual contributors.\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 1. Redistributions of source code must retain the above copyright notice, \n this list of conditions and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce the above copyright \n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n 3. Neither the name of Django nor the names of its contributors may be used\n to endorse or promote products derived from this software without\n 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\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": null, "maintainer_email": null, "name": "django-atomic-signals", "package_url": "https://pypi.org/project/django-atomic-signals/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-atomic-signals/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/adamchainz/django_atomic_signals" }, "release_url": "https://pypi.org/project/django-atomic-signals/2.0.0/", "requires_dist": null, "requires_python": null, "summary": "Signals for atomic transaction blocks in Django 1.6+", "version": "2.0.0" }, "last_serial": 2082613, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "92a1d184481f17b4447977cb3774fa2f", "sha256": "0462638044a44ba910cdab913027b233ecde8557eacaf2d9d51270ba09088586" }, "downloads": -1, "filename": "django-atomic-signals-1.0.0.tar.gz", "has_sig": false, "md5_digest": "92a1d184481f17b4447977cb3774fa2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3843, "upload_time": "2014-01-13T13:01:26", "url": "https://files.pythonhosted.org/packages/af/7d/7ff8f913bb6ba1b082c4393be9ec9e76fb5aee02b9481ca39243e7b77630/django-atomic-signals-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "58748955acdf772c03c2f81857272797", "sha256": "6024772e9703977a8c1902a9ca7d8e7bbf458e89351e62f54e9bee5302b4033f" }, "downloads": -1, "filename": "django-atomic-signals-1.1.0.tar.gz", "has_sig": false, "md5_digest": "58748955acdf772c03c2f81857272797", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3848, "upload_time": "2014-09-07T23:57:50", "url": "https://files.pythonhosted.org/packages/93/82/24c61d971a7b8c06771638c6919b53f1e840e3f40d4c061a7d56d801d9cd/django-atomic-signals-1.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "1820fbbaf07bac2dea51742fb934a503", "sha256": "b9fa910916fe0c7eaa2dde64a24c1f39d327347b7a9edd525d01642f303513cb" }, "downloads": -1, "filename": "django-atomic-signals-2.0.0.tar.gz", "has_sig": false, "md5_digest": "1820fbbaf07bac2dea51742fb934a503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2016-01-26T18:37:43", "url": "https://files.pythonhosted.org/packages/79/c6/9ea78282e2ed3c7295a05be5b52e219ed3c25adf39bd5bdb3d902b8819a3/django-atomic-signals-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1820fbbaf07bac2dea51742fb934a503", "sha256": "b9fa910916fe0c7eaa2dde64a24c1f39d327347b7a9edd525d01642f303513cb" }, "downloads": -1, "filename": "django-atomic-signals-2.0.0.tar.gz", "has_sig": false, "md5_digest": "1820fbbaf07bac2dea51742fb934a503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2016-01-26T18:37:43", "url": "https://files.pythonhosted.org/packages/79/c6/9ea78282e2ed3c7295a05be5b52e219ed3c25adf39bd5bdb3d902b8819a3/django-atomic-signals-2.0.0.tar.gz" } ] }