{ "info": { "author": "Vignesh Sarma K", "author_email": "vignesh@recruiterbox.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "haystack-queryparser\n====================\n\nConverts arbitrarily complicated user entered query strings to a haystack query object.\n\n###Usage\n ```python\n from haystack_queryparser import ParseSQ\n ```\n Also provides or_parser and and_parser which can be directly used with a query\n ```python\n parser = ParseSQ() \n sq_object = parser.parse(query)\n ```\n takes a `AND` or `OR` operator to use as default optionally.\n\n###Input\n Input should be a string.This the query.\n \n###Output\n Output is a `SQ(haystack.query.SQ)` object.\n This can be passed to `SearchQuerySet.filter` and the\tquery will be applied\n\n###Test\n To run the test you need to be in the django environment.So you can do something like this:\n```\n$ python manage.py shell\n>>> import haystack_queryparser.tests as test\n>>> tests.main()\ntest_operators (modules.haystack_queryparser2.tests.SimpleTest) ... ok\ntest_parse (modules.haystack_queryparser2.tests.SimpleTest) ... ok\ntest_parse_with_new_default (modules.haystack_queryparser2.tests.SimpleTest) ... ok\n\n----------------------------------------------------------------------\nRan 3 tests in 0.004s\n\nOK\n```", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/recruiterbox/haystack-queryparser/tarball/0.2.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/recruiterbox/haystack-queryparser", "keywords": "parsing,query,search", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "haystack_queryparser", "package_url": "https://pypi.org/project/haystack_queryparser/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/haystack_queryparser/", "project_urls": { "Download": "https://github.com/recruiterbox/haystack-queryparser/tarball/0.2.1", "Homepage": "https://github.com/recruiterbox/haystack-queryparser" }, "release_url": "https://pypi.org/project/haystack_queryparser/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A search query parser that works in conjunction with haystack", "version": "0.2.1" }, "last_serial": 1014598, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9ee98baa1088f6e45da08d1a7eb43a15", "sha256": "8c7f62210df456ceef5a895334da67e615d289684965edc6418da869d197efd9" }, "downloads": -1, "filename": "haystack_queryparser-0.1.tar.gz", "has_sig": false, "md5_digest": "9ee98baa1088f6e45da08d1a7eb43a15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2704, "upload_time": "2013-01-06T18:02:08", "url": "https://files.pythonhosted.org/packages/e5/cf/a23d2a4c2326f95cd22089e1af0b2897fd5eb593eb4ae4b0c94a47bfdd98/haystack_queryparser-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b9c5b953ab03c56bdee5cf81f118e912", "sha256": "f8491b2561e099d63dca2257fb1f82fc129d264a509ee2df61296ac0dc7a89d8" }, "downloads": -1, "filename": "haystack_queryparser-0.2.tar.gz", "has_sig": false, "md5_digest": "b9c5b953ab03c56bdee5cf81f118e912", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3525, "upload_time": "2014-01-29T15:22:19", "url": "https://files.pythonhosted.org/packages/04/83/000181a2d65f9b2d44e625329d7e1f0b7f756c5a500cb720a03776758cec/haystack_queryparser-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5176c94041016849f0167e203f502f08", "sha256": "099db7c7f1e109245ccd0a52800a4173f386e927d2ff7d4305fe61b3d7d573d6" }, "downloads": -1, "filename": "haystack_queryparser-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5176c94041016849f0167e203f502f08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3493, "upload_time": "2014-02-28T06:47:44", "url": "https://files.pythonhosted.org/packages/b0/a3/488fa403b6966946f5e987f0175218f6ae087f8e4379fbff64bc3a046a63/haystack_queryparser-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5176c94041016849f0167e203f502f08", "sha256": "099db7c7f1e109245ccd0a52800a4173f386e927d2ff7d4305fe61b3d7d573d6" }, "downloads": -1, "filename": "haystack_queryparser-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5176c94041016849f0167e203f502f08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3493, "upload_time": "2014-02-28T06:47:44", "url": "https://files.pythonhosted.org/packages/b0/a3/488fa403b6966946f5e987f0175218f6ae087f8e4379fbff64bc3a046a63/haystack_queryparser-0.2.1.tar.gz" } ] }