{ "info": { "author": "Michael Schmidt", "author_email": "ms@webkrafts.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "=====\nSIMPLESEARCH\n=====\n\nSimplesearch provides an easy and really simple way to offer search on your website.\nit installs a Class that you can use to execute queries and a managment command you can use to update the indext pages based on a sitemap.xml\n\n\n\nQuick start\n-----------\n\n1. Add \"simplesearch\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'simplesearch',\n )\n\n2. edit settings.py file to include the location of the search index.\n\n INDEX_DIR = os.path.join(BASE_DIR, 'index')\n\n2. run the command ./manage.py update_search_index \n\n3. access the search backen from your views with:\n from simplesearch import SimpleSiteSearcher\n\n searcher = SimpleSiteSearcher()\n results = searcher.search('a query String')\n\n This will return a list like this:\n\n [\n {\n title:'some tiele',\n text:'relevant part of the searched text with on the important terms',\n url:'the url to the page on your site where the text was found'\n },\n ...\n ]\n you may then use the list in your templates to display the search results.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.webkrafts.net/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "great-sitemap-search", "package_url": "https://pypi.org/project/great-sitemap-search/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/great-sitemap-search/", "project_urls": { "Homepage": "http://www.webkrafts.net/" }, "release_url": "https://pypi.org/project/great-sitemap-search/0.2/", "requires_dist": null, "requires_python": null, "summary": "A really simple search backend for your site based on a crawler that scanns all pages in sitemap.xml", "version": "0.2" }, "last_serial": 1530236, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9d32016efb82a623170093828ea8d57a", "sha256": "5b5a439fb89e537607e3e5f43d59c510c3a32739f37caa299ed8bea290113d72" }, "downloads": -1, "filename": "great-sitemap-search-0.1.tar.gz", "has_sig": false, "md5_digest": "9d32016efb82a623170093828ea8d57a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3355, "upload_time": "2015-05-01T19:54:19", "url": "https://files.pythonhosted.org/packages/82/8f/c026740b7c82d33a3b6b880f11a3639d36ceb05125118b803131d044ba81/great-sitemap-search-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "073ecc8c103333f449f52cab12032d17", "sha256": "56972f2d35515b167b25879c2af00f4e34959833f49283ed9490ae16b506ff2c" }, "downloads": -1, "filename": "great-sitemap-search-0.2.tar.gz", "has_sig": false, "md5_digest": "073ecc8c103333f449f52cab12032d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3316, "upload_time": "2015-05-02T09:02:08", "url": "https://files.pythonhosted.org/packages/0e/94/031ac250852498f1b6becbdd61b5e840f9ae5d74bad92959e5fe2334a96b/great-sitemap-search-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "073ecc8c103333f449f52cab12032d17", "sha256": "56972f2d35515b167b25879c2af00f4e34959833f49283ed9490ae16b506ff2c" }, "downloads": -1, "filename": "great-sitemap-search-0.2.tar.gz", "has_sig": false, "md5_digest": "073ecc8c103333f449f52cab12032d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3316, "upload_time": "2015-05-02T09:02:08", "url": "https://files.pythonhosted.org/packages/0e/94/031ac250852498f1b6becbdd61b5e840f9ae5d74bad92959e5fe2334a96b/great-sitemap-search-0.2.tar.gz" } ] }