All Projects → SectorLabs → Django Postgres Extra

SectorLabs / Django Postgres Extra

Licence: mit
Bringing all of PostgreSQL's awesomeness to Django.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django Postgres Extra

Django Tsvector Field
Django field for tsvector (PostgreSQL full text search vector) with managed stored procedure and triggers.
Stars: ✭ 56 (-84.66%)
Mutual labels:  postgresql, django
Vms
THIS PROJECT IS ARCHIVED. Volunteer Management System.
Stars: ✭ 127 (-65.21%)
Mutual labels:  postgresql, django
Docker Nginx Postgres Django Example
Example using Docker, Django, multiple Postgres databases, NginX, Gunicorn, pipenv, GitLab CI and tox.
Stars: ✭ 110 (-69.86%)
Mutual labels:  postgresql, django
Docker Tutorial
Docker 基本教學 - 從無到有 Docker-Beginners-Guide 教你用 Docker 建立 Django + PostgreSQL 📝
Stars: ✭ 906 (+148.22%)
Mutual labels:  postgresql, django
Django Sharding
A sharding library for Django
Stars: ✭ 184 (-49.59%)
Mutual labels:  postgresql, django
Django Rest Booking Api
A Restful api which allows you to book sports events or update existing odds.
Stars: ✭ 24 (-93.42%)
Mutual labels:  postgresql, django
W3develops
The w3develops.org open source codebase - Learn, build, and meetup with other developers on DISCORD https://discord.gg/WphGvTT and YOUTUBE http://bit.ly/codingyt
Stars: ✭ 120 (-67.12%)
Mutual labels:  postgresql, django
Django React Boilerplate
DIY Django + React Boilerplate for starting your SaaS
Stars: ✭ 385 (+5.48%)
Mutual labels:  postgresql, django
Docker Django
A project to get you started with Docker and Django.
Stars: ✭ 170 (-53.42%)
Mutual labels:  postgresql, django
Usaspending Api
Server application to serve U.S. federal spending data via a RESTful API
Stars: ✭ 166 (-54.52%)
Mutual labels:  postgresql, django
Django rest example
Django/DRF rest application example.
Stars: ✭ 17 (-95.34%)
Mutual labels:  postgresql, django
Dsmr Reader
DSMR-protocol reader, telegram data storage and energy consumption visualizer. Can be used for reading the smart meter DSMR (Dutch Smart Meter Requirements) P1 port yourself at your home. You will need a cable and hardware that can run Linux software. Free for non-commercial use. A Docker implementation can be found here: https://github.com/xirixiz/dsmr-reader-docker
Stars: ✭ 327 (-10.41%)
Mutual labels:  postgresql, django
Feedhq
FeedHQ is a web-based feed reader
Stars: ✭ 525 (+43.84%)
Mutual labels:  postgresql, django
Project Dashboard With Django
Agile Project Management dashboard with Django REST and Vue.js
Stars: ✭ 25 (-93.15%)
Mutual labels:  postgresql, django
Django Dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 471 (+29.04%)
Mutual labels:  postgresql, django
Hydroshare
HydroShare is a collaborative website for better access to data and models in the hydrologic sciences.
Stars: ✭ 117 (-67.95%)
Mutual labels:  postgresql, django
Django Zombodb
Easy Django integration with Elasticsearch through ZomboDB Postgres Extension
Stars: ✭ 136 (-62.74%)
Mutual labels:  postgresql, django
Django Migration Linter
🚀 Detect backward incompatible migrations for your django project
Stars: ✭ 231 (-36.71%)
Mutual labels:  postgresql, django
Docker Django Nginx Uwsgi Postgres Tutorial
Docker + Django + Nginx + uWSGI + Postgres 基本教學 - 從無到有 ( Docker + Django + Nginx + uWSGI + Postgres Tutorial )
Stars: ✭ 334 (-8.49%)
Mutual labels:  postgresql, django
Typeidea
Django企业开发实战对应项目代码
Stars: ✭ 351 (-3.84%)
Mutual labels:  django

django-postgres-extra

Tests CircleCI
📝 License License
📦 PyPi PyPi
🍀 Code coverage Coverage Status
Django Versions 2.0, 2.1, 2.2, 3.0, 3.1
Python Versions 3.6, 3.7, 3.8
📖 Documentation Read The Docs
⚠️ Upgrade Upgrade from v1.x
🏁 Installation Installation Guide
🔥 Features Features & Documentation
💧 Future enhancements Potential features

django-postgres-extra aims to make all of PostgreSQL's awesome features available through the Django ORM. We do this by taking care of all the hassle. As opposed to the many small packages that are available to try to bring a single feature to Django with minimal effort. django-postgres-extra goes the extra mile, with well tested implementations, seamless migrations and much more.

With seamless we mean that any features we add will work truly seamlessly. You should not have to manually modify your migrations to work with fields and objects provided by this package.


⚠️ This README is for v2. See the v1 branch for v1.x.


Major features

See the full list

  • Native upserts

    • Single query
    • Concurrency safe
    • With bulk support (single query)
  • Extended support for HStoreField

    • Unique constraints
    • Null constraints
    • Select individual keys using .values() or .values_list()
  • PostgreSQL 11.x declarative table partitioning

    • Supports both range and list partitioning
  • Faster deletes

    • Truncate tables (with cascade)
  • Indexes

    • Conditional unique index.
    • Case sensitive unique index.

Working with the code

Prerequisites

  • PostgreSQL 10 or newer.
  • Django 2.0 or newer (including 3.0, 3.1).
  • Python 3.6 or newer.

Getting started

  1. Clone the repository:

     λ git clone https://github.com/SectorLabs/django-postgres-extra.git
    
  2. Create a virtual environment:

    λ cd django-postgres-extra
    λ virtualenv env
    λ source env/bin/activate
    
  3. Create a postgres user for use in tests (skip if your default user is a postgres superuser):

    λ createuser --superuser psqlextra --pwprompt
    λ export DATABASE_URL=postgres://psqlextra:<password>@localhost/psqlextra
    

    Hint: if you're using virtualenvwrapper, you might find it beneficial to put the export line in $VIRTUAL_ENV/bin/postactivate so that it's always available when using this virtualenv.

  4. Install the development/test dependencies:

    λ pip install .[test] .[analysis]
    
  5. Run the tests:

    λ tox
    
  6. Run the benchmarks:

    λ py.test -c pytest-benchmark.ini
    
  7. Auto-format code, sort imports and auto-fix linting errors:

    λ python setup.py fix
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].