
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
django-query-builder
Advanced tools
.. image:: https://travis-ci.org/ambitioninc/django-query-builder.png :target: https://travis-ci.org/ambitioninc/django-query-builder
.. image:: https://coveralls.io/repos/ambitioninc/django-query-builder/badge.png?branch=develop :target: https://coveralls.io/r/ambitioninc/django-query-builder?branch=develop
.. image:: https://pypip.in/v/django-query-builder/badge.png :target: https://crate.io/packages/django-query-builder/ :alt: Latest PyPI version
.. image:: https://pypip.in/d/django-query-builder/badge.png :target: https://crate.io/packages/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.
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.
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.
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
Full documentation is available at http://django-query-builder.readthedocs.org
MIT License (see LICENSE)
FAQs
Build complex nested queries
We found that django-query-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.