Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Build complex nested queries

Project Description

django-query-builder

querybuilder is a django library for assisting with the construction and execution of sql. This is not meant to replace django querysets; it is meant for managing complex queries and helping perform database operations that django doesn’t handle.

Why use querybuilder?

The django querybuilder allows you to control all parts of the query construction. This is happens more clearly because the function calls more closely represent the actual sql keywords.

Why not just use django’s .raw() function?

While the raw function lets you execute custom sql, it doesn’t provide any way for the developer to build the query dynamically. Users lacking experience writing “raw” sql should avoid using querybuilder and stick with django’s querysets. The querybuilder’s query construction closely mirrors writing sql, where django querysets simplify the sql generation process for simple queries.

Requirements

  • Python 2.7
  • Python 3.3, 3.4
  • Django 1.7+
  • Postgres 9.3+

Installation

To install the latest release, type:

pip install django-query-builder

To install the latest code directly from source, type:

pip install git+git://github.com/ambitioninc/django-query-builder.git

Documentation

Full documentation is available at http://django-query-builder.readthedocs.org

License

MIT License (see LICENSE)

Release History

Release History

This version
History Node

1.0.0

History Node

0.15.0

History Node

0.14.3

History Node

0.14.2

History Node

0.14.1

History Node

0.14.0

History Node

0.13.0

History Node

0.12.0

History Node

0.11.3

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.0

History Node

0.9.0

History Node

0.8.1

History Node

0.8.0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.1

History Node

0.6.0

History Node

0.5.9

History Node

0.5.8

History Node

0.5.7

History Node

0.5.6

History Node

0.5.5

History Node

0.5.3

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_query_builder-1.0.0-py2.py3-none-any.whl (52.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 8, 2017
django-query-builder-1.0.0.tar.gz (42.0 kB) Copy SHA256 Checksum SHA256 Source Dec 8, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting