{ "info": { "author": "Alex Holmes", "author_email": "alex.holmes@isotoma.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Programming Language :: Python" ], "description": "==========\nDjango-Zap\n==========\n\nCompatible with Django 1.8+\n\nFor 1.7 compatibility use ``django-zap==0.0.6``\n\nWhat?\n-----\n\nAutomates the destruction and recreation of django databases.\n\nCurrently only supports local postgres databases. Feel free to add more\nbackends.\n\nWhy?\n----\n\nIn the early stages of development when your models are heavily in flux, you\nwant to be frequently dropping and recreating the database before re-running\ndjango's ``syncdb`` command. This tool uses the database settings in your\nsettings file to prevent you having to duplicate them in some separate database\ndrop/create script.\n\nHow?\n----\n\nJust add ``zap`` to your installed apps.\n\nA new django management command will appear: ``zap_and_create_db``.\n\nHelp is at ``python manage.py zap_and_create_db --help`` but the TL;DR is that\nyou can run it without arguments and it'll drop the user and database, then\nrecreate them. Run it with ``--migrate`` and it'll also run\n``manage.py migrate``.\n\nBackends\n--------\n\nAt the moment the only backend is for linux machines running a local postgresql\ninstance, and authentication is done using the ident rule in the ``pg_hba.conf``,\nthen calling psql as the ``postgres`` user.\n\nFeel free to provide more backends or extend the one we have, perhaps to include\nmac support, or support for other django database engines.\n\n\nChangelog\n=========\n\n0.0.7 (2016-10-07)\n------------------\n\nNow only compatible with django 1.8+\n\n- Replaces option_list with add_arguments\n\n\n0.0.6 (2015-10-29)\n------------------\n\n- Adds ``--droptest`` argument, which also drops the test database. This\n feature is aimed at people using --keepdb to speed up their test runs.\n\n\n0.0.5 (2015-09-16)\n------------------\n\n- database argument now passed to backend in support of multiple database\n setups.\n\n\n0.0.4 (2015-04-01)\n------------------\n\n- #3 Adds a new flag ``--dropconnections``, disabled by default, that tells\n postgres to terminate all existing sessions before zapping. This is to work\n around an issue where third party applications open database connections\n upon app registry installation.\n\n\n0.0.3 (2015-02-12)\n------------------\n\n- Adds OSX detection\n- Adds port option for postgres backend\n- Changes working directory of postgres subprocess command to /tmp\n\n\n0.0.2 (2014-11-25)\n------------------\n\n- Update how args are parsed to allow use from call_command\n\n\n0.0.1 (2013-09-27)\n------------------\n\n- All important fix-the-bladdy-packaging release\n\n\n0.0.0 (2013-09-27)\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": "https://www.isotoma.com/open-source/", "keywords": "django isotoma zap", "license": "Apache Software License", "maintainer": null, "maintainer_email": null, "name": "django-zap", "package_url": "https://pypi.org/project/django-zap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-zap/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://www.isotoma.com/open-source/" }, "release_url": "https://pypi.org/project/django-zap/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "Automate the destruction and re-creation of django databases", "version": "0.0.7" }, "last_serial": 2386651, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "3ae6c5b669679c3ac7350b699d03963a", "sha256": "9048167cc97fe1cb7b05ed5dd09cf3a95dcf5ab8f434b9cf01545bce4d84ff04" }, "downloads": -1, "filename": "django-zap-0.0.0.tar.gz", "has_sig": false, "md5_digest": "3ae6c5b669679c3ac7350b699d03963a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4249, "upload_time": "2013-09-27T13:35:26", "url": "https://files.pythonhosted.org/packages/da/a2/f3131b6e58c50dfb384dfbef2b25bb4278b270c504b8468c6a54afd16854/django-zap-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "159d72c8fb1f5ed36c2ed891364c2e9f", "sha256": "e92486f14475c829f4ed8c72a868b04ddc0fc9cc8994b008c52137fdbf6cf4db" }, "downloads": -1, "filename": "django-zap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "159d72c8fb1f5ed36c2ed891364c2e9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4558, "upload_time": "2013-09-27T13:44:57", "url": "https://files.pythonhosted.org/packages/e1/32/207d0dc01467b161491bf3083037dd003c73cb60bf70bb414b262b1a7bf0/django-zap-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "deac9d8eac9af3c25cb5d47b8fd66d3d", "sha256": "c674188eec4f1a11986449798946a0bfacf5e1b13758f9f041d2788afb54f835" }, "downloads": -1, "filename": "django-zap-0.0.2.tar.gz", "has_sig": false, "md5_digest": "deac9d8eac9af3c25cb5d47b8fd66d3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4040, "upload_time": "2014-11-25T16:15:44", "url": "https://files.pythonhosted.org/packages/e7/a8/175edb990ee1ced27744653fae6037354d0135074c0ca886ba31543c703e/django-zap-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a7f49a1b18c542b2e0f675034f63dec5", "sha256": "4b37361365b79b11432d03bc03a8768b0bdcaae96a1c5232786778d4e8f97b56" }, "downloads": -1, "filename": "django-zap-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a7f49a1b18c542b2e0f675034f63dec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4194, "upload_time": "2015-02-12T17:48:44", "url": "https://files.pythonhosted.org/packages/f9/ad/f63b9d15470c3a01f72266f0882b9696f786f2fa5b93cd7b7a56213e797c/django-zap-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "310eafe749a65dd2a39897fb57009115", "sha256": "94d854c85a1898e169161fb1b597de95b99d167fd2ff52d7c92fb36deef4bc4d" }, "downloads": -1, "filename": "django-zap-0.0.4.tar.gz", "has_sig": false, "md5_digest": "310eafe749a65dd2a39897fb57009115", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4501, "upload_time": "2015-04-01T13:50:50", "url": "https://files.pythonhosted.org/packages/cc/da/d166df58791433e6a5455d3da68f81fcc6dc0b3f02ef8177311491941010/django-zap-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e99131eb1e8b982326449cc63fef4d20", "sha256": "39799f22415576d1296377efdb6cbf13c1fa3e4b8ca68c06784e23d196b3d482" }, "downloads": -1, "filename": "django-zap-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e99131eb1e8b982326449cc63fef4d20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4543, "upload_time": "2015-09-16T11:23:10", "url": "https://files.pythonhosted.org/packages/91/d2/b18384be3810a1c08a64efe3c86c4d22ca63190fd9733c5221865a0634e9/django-zap-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "8cadcf1a10bac3c94a5d3d4bb98183e5", "sha256": "f6f4cbed343aed0b87f67581ce9da2ec2da1b85d2c7530346b08888c38c3f5de" }, "downloads": -1, "filename": "django-zap-0.0.6.tar.gz", "has_sig": false, "md5_digest": "8cadcf1a10bac3c94a5d3d4bb98183e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4770, "upload_time": "2015-10-29T18:01:34", "url": "https://files.pythonhosted.org/packages/f5/a9/38cf520250767be4b7a0f8dec73d16bc9f339bdf68e5cf7623189d9f5825/django-zap-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "3730f26c894e895914fee36d6637536a", "sha256": "d9ca50babe890a4ad9bbe20de65cb8d380f23a35a1fd85469028258dec27aa76" }, "downloads": -1, "filename": "django-zap-0.0.7.zip", "has_sig": false, "md5_digest": "3730f26c894e895914fee36d6637536a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10817, "upload_time": "2016-10-07T14:37:34", "url": "https://files.pythonhosted.org/packages/90/51/13463b961a5abbe52fcd45f28917d91a91a8e3c72eb2bdd874a17ad5f187/django-zap-0.0.7.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3730f26c894e895914fee36d6637536a", "sha256": "d9ca50babe890a4ad9bbe20de65cb8d380f23a35a1fd85469028258dec27aa76" }, "downloads": -1, "filename": "django-zap-0.0.7.zip", "has_sig": false, "md5_digest": "3730f26c894e895914fee36d6637536a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10817, "upload_time": "2016-10-07T14:37:34", "url": "https://files.pythonhosted.org/packages/90/51/13463b961a5abbe52fcd45f28917d91a91a8e3c72eb2bdd874a17ad5f187/django-zap-0.0.7.zip" } ] }