{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": ".. -*- mode: rst -*-\n\n***************\npostgresfixture\n***************\n\nA Python fixture for creating PostgreSQL clusters and databases, and\ntearing them down again, intended for use during development and\ntesting.\n\nFor more information see the `Launchpad project page`_.\n\n.. _Launchpad project page: https://launchpad.net/postgresfixture\n\n\nGetting started\n===============\n\nUse like any other fixture::\n\n from contextlib import closing\n from postgresfixture import ClusterFixture\n\n def test_something(self):\n cluster = self.useFixture(ClusterFixture(\"db\"))\n cluster.createdb(\"example\")\n with closing(cluster.connect(\"example\")) as conn:\n ...\n cluster.dropbdb(\"example\") # Optional.\n\nThis will create a new cluster, create a database called \"example\",\nthen tear it all down at the end; nothing will remain on disk. If you\nwant the cluster and its databases to remain on disk, pass\n``preserve=True`` to the ``ClusterFixture`` constructor.\n\n\nFrom the command line\n=====================\n\nOnce this package is installed, you'll have a ``postgresfixture``\nscript. Alternatively you can use ``python -m postgresfixture`` to\nachieve the same thing. Use ``--help`` to discover the options\navailable to you.", "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": "", "maintainer": "", "maintainer_email": "", "name": "postgresfixture", "package_url": "https://pypi.org/project/postgresfixture/", "platform": "", "project_url": "https://pypi.org/project/postgresfixture/", "project_urls": null, "release_url": "https://pypi.org/project/postgresfixture/0.4.2/", "requires_dist": null, "requires_python": "", "summary": "A fixture for creating PostgreSQL clusters and databases, and tearing them down again, intended for use during development and testing.", "version": "0.4.2" }, "last_serial": 5911824, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a4a31d3ef32c43f8b701620a9b8b6067", "sha256": "a34c0dd9b8e53504631e219d8926e478eb369266b3c6b58dc40bfaf48e490950" }, "downloads": -1, "filename": "postgresfixture-0.1.tar.gz", "has_sig": false, "md5_digest": "a4a31d3ef32c43f8b701620a9b8b6067", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5669, "upload_time": "2012-05-21T13:34:15", "url": "https://files.pythonhosted.org/packages/93/69/518e7ad7815073a545f58982ada220dfc914ae3a026d68c45d242b34ad96/postgresfixture-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5838bed10be2d5a64e28e5f09ad47dd9", "sha256": "fe1b7572de1df128f023561696ea52d3cf3f490e435995b81dcb46f7c9dbca07" }, "downloads": -1, "filename": "postgresfixture-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5838bed10be2d5a64e28e5f09ad47dd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5745, "upload_time": "2012-05-21T13:50:40", "url": "https://files.pythonhosted.org/packages/46/33/c748a667f26fafeaec3c6863d7a46913263b6b4eda8043fe62056c886f2f/postgresfixture-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "94cb23c2e20246c121d406166c4ff549", "sha256": "78f519b54a5ce06e65e9b126b04ce9f8eb94c210f3715e5f9d46e0ecc3363bc0" }, "downloads": -1, "filename": "postgresfixture-0.1.2.tar.gz", "has_sig": false, "md5_digest": "94cb23c2e20246c121d406166c4ff549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5976, "upload_time": "2012-05-22T17:45:51", "url": "https://files.pythonhosted.org/packages/97/e7/9904e03bf43b9a74aeda784358f653f314541a18844543139ac0d6fb5fd7/postgresfixture-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "70adab28e63dc4f5861a418fba0e7909", "sha256": "19dc4d8f03cd02e2dedb963e2e9ad8df9ee220a1a4692a94f5d73eedac2602bc" }, "downloads": -1, "filename": "postgresfixture-0.2.tar.gz", "has_sig": false, "md5_digest": "70adab28e63dc4f5861a418fba0e7909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6496, "upload_time": "2014-01-17T16:36:43", "url": "https://files.pythonhosted.org/packages/ee/41/cdc39b8982c694f6987f4626a5361102f581685d3f96ae563881b9348dd9/postgresfixture-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "8453fc54358f25ee090bd8057ebf8aed", "sha256": "8181ac76f390fae0fea3da0a4620e1ce11348c8a36e1962f2a4a85feadef0233" }, "downloads": -1, "filename": "postgresfixture-0.2.1.tar.gz", "has_sig": false, "md5_digest": "8453fc54358f25ee090bd8057ebf8aed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6668, "upload_time": "2014-01-17T18:06:11", "url": "https://files.pythonhosted.org/packages/14/98/c649e4aae1055f0c4f636dfd84c4fea052e40336542deeca4f1e4e480aa9/postgresfixture-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5965e035477d2fc82fa502a120f4e5fc", "sha256": "f035b170b619dc801d1c98bfdc29a3b209f0899c93441495379b1e041cf22829" }, "downloads": -1, "filename": "postgresfixture-0.3.tar.gz", "has_sig": false, "md5_digest": "5965e035477d2fc82fa502a120f4e5fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7033, "upload_time": "2015-01-17T00:05:17", "url": "https://files.pythonhosted.org/packages/12/13/ad4611eecb551f993f5f4c6269966fa176995d6ed600e946de84e695ff36/postgresfixture-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "8adcc3c7a916aec921efacd558bef581", "sha256": "1a00dad492315edd0b37d9e98e8194161b24fbf160e0e57d77704367c85532e1" }, "downloads": -1, "filename": "postgresfixture-0.3.1.tar.gz", "has_sig": false, "md5_digest": "8adcc3c7a916aec921efacd558bef581", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7287, "upload_time": "2015-11-16T10:20:20", "url": "https://files.pythonhosted.org/packages/99/2c/50aa3b7f08f192edd8e708103a78e2eb0cdc0f301a71572a074d162581bb/postgresfixture-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "81929bb9b6031c3cd3a550c3d273887c", "sha256": "f98b09d74fe9630af60641a28d992120f084f083060116279323f9afb830425b" }, "downloads": -1, "filename": "postgresfixture-0.4.0.tar.gz", "has_sig": false, "md5_digest": "81929bb9b6031c3cd3a550c3d273887c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7617, "upload_time": "2017-01-20T08:05:41", "url": "https://files.pythonhosted.org/packages/24/07/cf600df0d5db101c34c2f5014ca0a21f9187e6b37c603d60e9a5581c8970/postgresfixture-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "3eecf1ac6ae97a2b8832ac6b30c40625", "sha256": "6745eba504db36a5384720754af1856e39af70d31d9fb72cff3a4994bbee5b37" }, "downloads": -1, "filename": "postgresfixture-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3eecf1ac6ae97a2b8832ac6b30c40625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7643, "upload_time": "2017-11-28T07:31:35", "url": "https://files.pythonhosted.org/packages/b2/dc/72bf19d877b614dbbeb801b03415609c393d0c3fcb90616874584016f533/postgresfixture-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "7e68d03c77787c7a5a203956f98d95a3", "sha256": "72331da53ef946cdb692a4e8467e427054f022fe787baa58310b79c4441fa7d3" }, "downloads": -1, "filename": "postgresfixture-0.4.2.tar.gz", "has_sig": true, "md5_digest": "7e68d03c77787c7a5a203956f98d95a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12578, "upload_time": "2019-10-01T11:51:29", "url": "https://files.pythonhosted.org/packages/d9/23/9c687e856c9d378580e93fe13b57ff7222fcb92ab98592cf8fbe378a36a9/postgresfixture-0.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e68d03c77787c7a5a203956f98d95a3", "sha256": "72331da53ef946cdb692a4e8467e427054f022fe787baa58310b79c4441fa7d3" }, "downloads": -1, "filename": "postgresfixture-0.4.2.tar.gz", "has_sig": true, "md5_digest": "7e68d03c77787c7a5a203956f98d95a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12578, "upload_time": "2019-10-01T11:51:29", "url": "https://files.pythonhosted.org/packages/d9/23/9c687e856c9d378580e93fe13b57ff7222fcb92ab98592cf8fbe378a36a9/postgresfixture-0.4.2.tar.gz" } ] }