Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for django-postgres-stats, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django_postgres_stats-1.0.0-py3-none-any.whl (5.6 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size django-postgres-stats-1.0.0.tar.gz (11.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page