{ "info": { "author": "Launchpad Developers", "author_email": "launchpad-dev@lists.launchpad.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "************************************************\npython-pgbouncer: Python glue to drive pgbouncer\n************************************************\n\n Copyright (c) 2011, Canonical Ltd\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see .\n \npython-pgbouncer provides a python interface to setup and run a pgbouncer\ninstance.\n\nDependencies\n============\n\n* Python 2.6+\n\n* pgbouncer\n\n* python-fixtures (https://launchpad.net/python-fixtures or\n https://pypi.org/project/fixtures)\n\n* testtools (https://pypi.org/project/testtools)\n\nTesting Dependencies\n====================\n\nIn addition to the above, the tests also depend on:\n\n* postgresfixture (https://pypi.org/project/postgresfixture)\n\n* psycopg2 (https://pypi.org/project/psycopg2)\n\n* subunit (https://pypi.org/project/python-subunit) (optional)\n\n* testscenarios (https://pypi.org/project/testscenarios)\n\nUsage\n=====\n\nCreate a PGBouncerFixture - a context manager with an extended protocol\nsupporting access to logs etc. Customise it with database definitions, user\ncredentials, and then when you enter the context it will create a transient\npgbouncer setup in a temporary directory and run it for the duration that the\ncontext is open.\n\nFor instance::\n\n >>> from pgbouncer import PGBouncerFixture\n >>> bouncer = PGBouncerFixture()\n >>> bouncer.databases['mydb'] = 'host=hostname dbname=foo'\n >>> bouncer.users['user1'] = 'credentials'\n >>> with bouncer:\n ... # Can now connect to bouncer.host port=bouncer.port user=user1\n\nAny settings required for pgbouncer to work will be given sane defaults.\n\n\nInstallation\n============\n\nEither run setup.py in an environment with all the dependencies available, or\nadd the working directory to your PYTHONPATH.\n\n\nDevelopment\n===========\n\nUpstream development takes place at https://launchpad.net/python-pgbouncer.\n\nTo run the tests, run:\n\n $ tox", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://launchpad.net/python-pgbouncer", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pgbouncer", "package_url": "https://pypi.org/project/pgbouncer/", "platform": "", "project_url": "https://pypi.org/project/pgbouncer/", "project_urls": { "Homepage": "https://launchpad.net/python-pgbouncer" }, "release_url": "https://pypi.org/project/pgbouncer/0.0.9/", "requires_dist": null, "requires_python": "", "summary": "Fixture to bring up temporary pgbouncer instance.", "version": "0.0.9" }, "last_serial": 5385695, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "62beb9833b763b5840dfcb1a669dfacf", "sha256": "8120c863bcb5bb364dae191dfc1f5a55846e7fad1b3cafcd104c46f08963bf39" }, "downloads": -1, "filename": "pgbouncer-0.0.2.tar.gz", "has_sig": true, "md5_digest": "62beb9833b763b5840dfcb1a669dfacf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4674, "upload_time": "2011-07-25T10:34:11", "url": "https://files.pythonhosted.org/packages/3f/63/9c662ffa6ab16807c752b412ec99300ba1bfa81f21f6117520c2a524e800/pgbouncer-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "b9a5fdffc5fd3b600f97e860b06f0ccb", "sha256": "127ca4813d7c12100110f863edd29b57b0f1a13f914fe295bea24d834c04677c" }, "downloads": -1, "filename": "pgbouncer-0.0.3.tar.gz", "has_sig": true, "md5_digest": "b9a5fdffc5fd3b600f97e860b06f0ccb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4995, "upload_time": "2011-09-05T17:59:25", "url": "https://files.pythonhosted.org/packages/13/7a/9a03815bf8dd5909ea4218f0a55608cb44a8eba148f166243afeddc21d32/pgbouncer-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7b0881710ced0359243ebed63eac2914", "sha256": "d326eb22b0038787c39d630156118f1effd30681b6671d32bab8c664ada64ef0" }, "downloads": -1, "filename": "pgbouncer-0.0.4.tar.gz", "has_sig": true, "md5_digest": "7b0881710ced0359243ebed63eac2914", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5084, "upload_time": "2011-09-12T18:04:58", "url": "https://files.pythonhosted.org/packages/61/ed/7c5ed1add869e400807720f6fbbb11b0d088f002035f2e96565749bf6c34/pgbouncer-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "2f0cb31407452a95e76ca6e2a83efe7c", "sha256": "395458d5e87b3c69f136b13efe28ab411b99110a0db123f1475fa6d386214be4" }, "downloads": -1, "filename": "pgbouncer-0.0.5.tar.gz", "has_sig": true, "md5_digest": "2f0cb31407452a95e76ca6e2a83efe7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5071, "upload_time": "2011-09-13T01:45:02", "url": "https://files.pythonhosted.org/packages/6c/dd/0ff298aea19cd0e60db463239a38da6b58fd199e4f944631b5bd71398df2/pgbouncer-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "39c62be4394dd9a4c27e6b2806515040", "sha256": "6da2a473506a657388e8472bdba7bd2b8baaff92d4fa1bb2fea28b1159876501" }, "downloads": -1, "filename": "pgbouncer-0.0.6.tar.gz", "has_sig": true, "md5_digest": "39c62be4394dd9a4c27e6b2806515040", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5248, "upload_time": "2011-10-26T22:32:28", "url": "https://files.pythonhosted.org/packages/ec/4f/c066dd21ca38e898619bc075dc45c3cdb01643e79665365c59a642daa20a/pgbouncer-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "a49e9a34f2d6697634c21f37d43b4110", "sha256": "6debd174b78750c7613b42c6fbf27d0b7f39eb01335268e6e882b064f071caa5" }, "downloads": -1, "filename": "pgbouncer-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a49e9a34f2d6697634c21f37d43b4110", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5414, "upload_time": "2011-10-28T13:49:44", "url": "https://files.pythonhosted.org/packages/25/7c/fd4b53f7af42c8459aa00a38ff9b128aa1bdd25d358e1008a5412afce316/pgbouncer-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "eb7c19c573eba290a946188ba887f09c", "sha256": "5ba3abf3f275e7882d1ea94613400d314de310075e14932d89f96f71bf2f1f5e" }, "downloads": -1, "filename": "pgbouncer-0.0.8.tar.gz", "has_sig": false, "md5_digest": "eb7c19c573eba290a946188ba887f09c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5790, "upload_time": "2012-08-20T16:45:14", "url": "https://files.pythonhosted.org/packages/21/d2/a9fbec4387a5db3ec037348cb526657c239864142778aed4737b0ef3a873/pgbouncer-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "2dee6fe349a332120b9b02246b830e8a", "sha256": "ef2a06a77950ab9b1a1771dc709dea057b24e42cd53db57e661cc66df0157a69" }, "downloads": -1, "filename": "pgbouncer-0.0.9.tar.gz", "has_sig": true, "md5_digest": "2dee6fe349a332120b9b02246b830e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5291, "upload_time": "2019-06-11T09:25:30", "url": "https://files.pythonhosted.org/packages/54/af/1316a376693d27ab736f93f5e7724ab3a8a229b5c4f097a01bf051b1b801/pgbouncer-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2dee6fe349a332120b9b02246b830e8a", "sha256": "ef2a06a77950ab9b1a1771dc709dea057b24e42cd53db57e661cc66df0157a69" }, "downloads": -1, "filename": "pgbouncer-0.0.9.tar.gz", "has_sig": true, "md5_digest": "2dee6fe349a332120b9b02246b830e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5291, "upload_time": "2019-06-11T09:25:30", "url": "https://files.pythonhosted.org/packages/54/af/1316a376693d27ab736f93f5e7724ab3a8a229b5c4f097a01bf051b1b801/pgbouncer-0.0.9.tar.gz" } ] }