{ "info": { "author": "Dima Kudosh", "author_email": "dimakudosh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: POSIX", "Programming Language :: Python" ], "description": "# 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)]()\n\n## Installation\nYou can install `django-prepared-query` using pip:\n```\n$ pip install django-prepared-query\n```\n\n## Example\n```python\nfrom django_prepared_query import PreparedManager, BindParam\n\n\nclass Book(models.Model):\n objects = PreparedManager()\n\nqs = Book.objects.filter(name__startswith=BindParam('name_start'))\nbooks = qs.execute(name_start='A')\n```\n\n## Documentation\nDocumentation is available here http://django-prepared-query.readthedocs.io/en/latest/\n\n## Benchmark\n[Here](https://github.com/DimaKudosh/django-prepared-query/blob/master/demo/benchmark.ipynb) you can find notebook with benchmark.\n\n## Goals\n* ~~Add support for in lookup.~~\n* ~~Add support for limit/offset.~~\n* Make this working without specifying BindParams.\n* Add support for INSERT/UPDATE sql queries.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DimaKudosh/django-prepared-query", "keywords": "django,orm", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-prepared-query", "package_url": "https://pypi.org/project/django-prepared-query/", "platform": "", "project_url": "https://pypi.org/project/django-prepared-query/", "project_urls": { "Homepage": "https://github.com/DimaKudosh/django-prepared-query" }, "release_url": "https://pypi.org/project/django-prepared-query/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Prepared statements support for Django", "version": "0.3.1" }, "last_serial": 4066584, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1fc50af50d2bd8303fa450b92a36efd1", "sha256": "58d7b93c35c934e622254a768f99fc511e1da54f285e0be62383a2acfea8a1b7" }, "downloads": -1, "filename": "django-prepared-query-0.1.tar.gz", "has_sig": false, "md5_digest": "1fc50af50d2bd8303fa450b92a36efd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5736, "upload_time": "2017-12-03T19:51:10", "url": "https://files.pythonhosted.org/packages/ad/99/5e6e83ab85b3d74c11a523c33bf3230329b3ab31246cda6efb2b54e9e0ee/django-prepared-query-0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e4a97a31a58395ab64b2f512d57e79ec", "sha256": "6443377090cc6e30608e6fbdd60ca466604a7b7e49107fe141926aa02ddfd2d5" }, "downloads": -1, "filename": "django-prepared-query-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e4a97a31a58395ab64b2f512d57e79ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6310, "upload_time": "2018-03-23T19:55:39", "url": "https://files.pythonhosted.org/packages/54/28/83490411fce77af68b35426cfe8e3f31c8518946a7fecf2a7a29aa87a7c2/django-prepared-query-0.2.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "5c310ad57884568c8eade6693fe0c0b3", "sha256": "5d2b99095b2a6b01b37492c9800d981f1817487ed239cd19aaa1e54ebaa511d1" }, "downloads": -1, "filename": "django-prepared-query-0.3.1.tar.gz", "has_sig": false, "md5_digest": "5c310ad57884568c8eade6693fe0c0b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8762, "upload_time": "2018-07-16T17:46:26", "url": "https://files.pythonhosted.org/packages/a6/7a/cb374eda15fefb3e5c6ea9cd240f7fd8d509f8cca3635662324af011f300/django-prepared-query-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c310ad57884568c8eade6693fe0c0b3", "sha256": "5d2b99095b2a6b01b37492c9800d981f1817487ed239cd19aaa1e54ebaa511d1" }, "downloads": -1, "filename": "django-prepared-query-0.3.1.tar.gz", "has_sig": false, "md5_digest": "5c310ad57884568c8eade6693fe0c0b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8762, "upload_time": "2018-07-16T17:46:26", "url": "https://files.pythonhosted.org/packages/a6/7a/cb374eda15fefb3e5c6ea9cd240f7fd8d509f8cca3635662324af011f300/django-prepared-query-0.3.1.tar.gz" } ] }