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:

  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

dj-postgres-stats-1.0.3.dev3.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

dj_postgres_stats-1.0.3.dev3-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

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