{
"info": {
"author": "Kenneth Reitz",
"author_email": "me@kennethreitz.com",
"bugtrack_url": null,
"classifiers": [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7"
],
"description": "Django-PostgresPool\n===================\n\nThis is a simple Postgres Connection Pooling backend for Django 1.4+, powered by the lovely and beautiful SQLAlchemy.\n\n\nUsage\n-----\n\nUsing Django-PostgresPool is simple, just set ``django_postgrespool`` as your connection engine:\n\n::\n\n DATABASES = {\n 'default': {\n 'ENGINE': 'django_postgrespool'\n\n\nIf you're using the `dj-database-url `_ module:\n\n::\n\n import dj_database_url\n\n DATABASES['default'] = dj_database_url.config()\n DATABASES['default']['ENGINE'] = 'django_postgrespool'\n\nIf you're using `south `_:\n\n::\n\n SOUTH_DATABASE_ADAPTERS = {\n 'default': 'south.db.postgresql_psycopg2'\n }\n\n\nEverything should work as expected.\n\n\nInstallation\n------------\n\nInstalling Django-PostgresPool is simple, with pip::\n\n $ pip install django-postgrespool\n\nConfiguration\n-------------\n\nOptionally, you can provide additional options to pass to SQLAlchemy's pool creation::\n\n DATABASE_POOL_ARGS = {\n 'max_overflow': 10,\n 'pool_size': 5,\n 'recycle': 300\n }\n\nHere's a basic explanation of two of these options:\n\n* **pool_size** \u2013 The *minimum* number of connections to maintain in the pool.\n* **max_overflow** \u2013 The maximum *overflow* size of the pool. This is not the maximum size of the pool.\n\nThe total number of \"sleeping\" connections the pool will allow is ``pool_size``.\nThe total simultaneous connections the pool will allow is ``pool_size + max_overflow``.\n\nAs an example, databases in the `Heroku Postgres `_ starter tier have a maximum connection limit of 20. In that case your ``pool_size`` and ``max_overflow``, when combined, should not exceed 20.\n\nCheck out the official `SQLAlchemy Connection Pooling `_ docs to learn more about the optoins that can be defined in ``DATABASE_POOL_ARGS``.\n\nDjango 1.3 Support\n------------------\n\ndjango-postgrespool currently supports Django 1.4 and greater. See `this ticket `_ for 1.3 support.",
"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/kennethreitz/django-postgrespool",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "django-postgrespool-lab",
"package_url": "https://pypi.org/project/django-postgrespool-lab/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/django-postgrespool-lab/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/kennethreitz/django-postgrespool"
},
"release_url": "https://pypi.org/project/django-postgrespool-lab/0.3.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Postgres Connection Pooling for Django.",
"version": "0.3.0"
},
"last_serial": 1735079,
"releases": {
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "b6058024fd08ded0efce936fccd2502a",
"sha256": "a1f5ec4948794c8b672caa93296421e492476414b19cee2b804e4645dd84f1e9"
},
"downloads": -1,
"filename": "django_postgrespool_lab-0.3.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "b6058024fd08ded0efce936fccd2502a",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6088,
"upload_time": "2015-09-23T16:16:16",
"url": "https://files.pythonhosted.org/packages/d3/cf/936e4caafd27291c705fd636e431fa5eae438b11ce73cc259f0a208852f5/django_postgrespool_lab-0.3.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "59a30930e973109f09dca9c4bf0fd6d8",
"sha256": "546b08c48570f7fc79da8e0f53f7b83a47b92e31ceca16bc5e20b4a83a11fa53"
},
"downloads": -1,
"filename": "django-postgrespool-lab-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "59a30930e973109f09dca9c4bf0fd6d8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4546,
"upload_time": "2015-09-23T16:16:11",
"url": "https://files.pythonhosted.org/packages/fc/ff/a5214e50d2cf927b0bdc18b29f1c1e755759d627d68e94f18322a72d9b62/django-postgrespool-lab-0.3.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b6058024fd08ded0efce936fccd2502a",
"sha256": "a1f5ec4948794c8b672caa93296421e492476414b19cee2b804e4645dd84f1e9"
},
"downloads": -1,
"filename": "django_postgrespool_lab-0.3.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "b6058024fd08ded0efce936fccd2502a",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6088,
"upload_time": "2015-09-23T16:16:16",
"url": "https://files.pythonhosted.org/packages/d3/cf/936e4caafd27291c705fd636e431fa5eae438b11ce73cc259f0a208852f5/django_postgrespool_lab-0.3.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "59a30930e973109f09dca9c4bf0fd6d8",
"sha256": "546b08c48570f7fc79da8e0f53f7b83a47b92e31ceca16bc5e20b4a83a11fa53"
},
"downloads": -1,
"filename": "django-postgrespool-lab-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "59a30930e973109f09dca9c4bf0fd6d8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4546,
"upload_time": "2015-09-23T16:16:11",
"url": "https://files.pythonhosted.org/packages/fc/ff/a5214e50d2cf927b0bdc18b29f1c1e755759d627d68e94f18322a72d9b62/django-postgrespool-lab-0.3.0.tar.gz"
}
]
}