This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: This package is deprecated. Try using: https://pypi.org/project/django-postgrespool2/
This is a simple Postgres Connection Pooling backend for Django, powered by the lovely and beautiful SQLAlchemy.
Experimental: use with caution.
Usage
Using Django-PostgresPool is simple, just set django_postgrespool as your connection engine:
DATABASES = {
'default': {
'ENGINE': 'django_postgrespool'
If you’re using the dj-database-url module:
import dj_database_url DATABASES['default'] = dj_database_url.config() DATABASES['default']['ENGINE'] = 'django_postgrespool'
Everything should work as expected.
Installation
Installing Django-PostgresPool is simple, with pip:
$ pip install django-postgrespool
Configuration
Optionally, you can provide additional options to pass to SQLAlchemy’s pool creation:
DATABASE_POOL_ARGS = {
'max_overflow': 10,
'pool_size': 5,
'recycle': 300
}
Metadata
Release files for django-postgrespool 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-postgrespool-0.2.0.tar.gz | 3.7 kB | Details |
Release files / django-postgrespool-0.2.0.tar.gz
| Download URL | django-postgrespool-0.2.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98b14f091afcf933ab366839ed245698f4b5e2c43cea829e1a691657506d8b79
|
|
BLAKE2b-256 checksum How to use checksums |
7274f624fc0ac773fe9e430aa8415d43d845cd064f41b1b4c7c7822861dbe87a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |