Skip to main content
Yanked

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
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-postgrespool-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file django-postgrespool-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-postgrespool-0.2.0.tar.gz
Algorithm Hash digest
SHA256 98b14f091afcf933ab366839ed245698f4b5e2c43cea829e1a691657506d8b79
MD5 4284d7ae8e7f6ad9f7ff83ccbb043403
BLAKE2b-256 7274f624fc0ac773fe9e430aa8415d43d845cd064f41b1b4c7c7822861dbe87a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

1 file

0.3.0

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

This release

0.2.0 This release

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page