Skip to main content

A Django app to expose built-in statistical and datetime functions from Postgres.

Project description

Django Postgres Stats exposes statistical and datetime functions specific to Postgres to Django without making the user write raw SQL. The plan is to expand the library over time to cover many Postgres-specific functions. For now, only functions personally used by the authors have been added.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “postgres_stats” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'postgres_stats',
    )
  2. Import the functions you need to use with your models.

Project details


Download files

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

Source Distribution

django-postgres-stats-1.0.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

django_postgres_stats-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file django-postgres-stats-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-postgres-stats-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1082970e5703913535203ea06946445d81936932278a56c58eeb2b2827eb990e
MD5 01efd09c2ae4d8ac6a9683a525cf1bff
BLAKE2b-256 4affe76e55447b4b281d79ea3f9b77afccd9392bb1027924e109ccddc5dbdc9c

See more details on using hashes here.

File details

Details for the file django_postgres_stats-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_postgres_stats-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e26fcd127b13cc7fa1e86937bcbaf4b613610b1b369ddcd49cd95cc6865c4a4
MD5 5b5f14efe6312589fd198fa29f1c399e
BLAKE2b-256 a78f1624a9be6c7b239e48e74c7b19f5c59ecaf4db8e57dc38dac917273ed3fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page