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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dj-postgres-stats-1.0.3.dev3.tar.gz.

File metadata

File hashes

Hashes for dj-postgres-stats-1.0.3.dev3.tar.gz
Algorithm Hash digest
SHA256 1ca83e3dc8488f8136a0ed526ad577ca4a301005788b405d4e63bc9ea1c97ed3
MD5 f988e0cd2ea73695243cbf6aea526910
BLAKE2b-256 45f0ffc39d06c6c0f1d7b5c793c24c7f519bef53348e14be706bbbd80ae47c64

See more details on using hashes here.

File details

Details for the file dj_postgres_stats-1.0.3.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for dj_postgres_stats-1.0.3.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b544e1daacba3452604b106896c636e46cdcb81832a7e01f4e670d152e5e67d
MD5 b90efed263c2c7d12fc5adfec339bcd2
BLAKE2b-256 6771042b3b5e26b7f5a2f6a0be5fa220dd5a5ebf19b09130afff912d80aa1ead

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