Skip to main content
# DJANGO-PREPARED-QUERY[![Build Status](https://travis-ci.org/DimaKudosh/django-prepared-query.svg?branch=master)](https://travis-ci.org/DimaKudosh/django-prepared-query)[![Coverage Status](https://coveralls.io/repos/github/DimaKudosh/django-prepared-query/badge.svg?branch=master)](https://coveralls.io/github/DimaKudosh/django-prepared-query?branch=master)[![PyPI](https://img.shields.io/pypi/pyversions/Django.svg)]()

## Installation
You can install `django-prepared-query` using pip:
```
$ pip install django-prepared-query
```

## Example
```python
from django_prepared_query import PreparedManager, BindParam


class Book(models.Model):
objects = PreparedManager()

qs = Book.objects.filter(name__startswith=BindParam('name_start'))
books = qs.execute(name_start='A')
```

## Documentation
Documentation is available here http://django-prepared-query.readthedocs.io/en/latest/

## Benchmark
[Here](https://github.com/DimaKudosh/django-prepared-query/blob/master/demo/benchmark.ipynb) you can find notebook with benchmark.

## Goals
* ~~Add support for in lookup.~~
* ~~Add support for limit/offset.~~
* Make this working without specifying BindParams.
* Add support for INSERT/UPDATE sql queries.

Metadata

Release files for django-prepared-query 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-prepared-query 0.3.1
File Size Uploaded Provenance Actions
django-prepared-query-0.3.1.tar.gz 8.8 kB Without provenance Details for django-prepared-query-0.3.1.tar.gz

Release files / django-prepared-query-0.3.1.tar.gz

Download URL django-prepared-query-0.3.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5d2b99095b2a6b01b37492c9800d981f1817487ed239cd19aaa1e54ebaa511d1
BLAKE2b-256 checksum
How to use checksums
a67acb374eda15fefb3e5c6ea9cd240f7fd8d509f8cca3635662324af011f300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-prepared-query 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page