{ "info": { "author": "Tim Baxter", "author_email": "mail.baxter@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Autotagger\n=====\n\nAutotagger helps automatically create text links between related objects in Django applications as well as cross-reference by arbitrary admin-defined strings.\n\nTakes a given block of text and tags it according to models and fields defined in settings.\n\n### Installation\n``` pip install tango-autotagger ```\n\n### SETUP\n\nExample:\n\n AUTOTAG_CONTENT = (\n {\n 'model' : 'schools.school',\n 'field' : 'school', \n 'check' : 'is_active', \n 'm2m_field' : 'articles',\n 'reverse_m2m': 'politicians',\n },\n ... etc ...\n )\n\n\nTHE FIELDS...\n\n model: \n the app and model to check\n field:\n the particular field/value you are matching in the text\n check:\n an optional field to filter by. Maybe. If we can figure out how to do it...\n m2m_field:\n Optional. Will add the current object to a m2m field on the remote object.\n For example, if you are auto_tagging schools in articles\n you can add the article to the schools \"articles\" field.\n reverse_m2m:\n Optional. Will add the remote object to a m2m field on the current object.\n For example, politicians can be a m2m on articles in some cases.\n If you were tagging politicians in articles, this would add the politician\n to the article's \"politicians\" field.\n\nDo NOT attempt to use both m2m and reverse_m2m on the same setting.\n\nTo insert links to matching objects:\n\n from autotagger.autotag_content import autotag\n\n tagged_text = autotag(article.text)\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tBaxter/autotagger", "keywords": "", "license": "LICENSE", "maintainer": "", "maintainer_email": "", "name": "tango-autotagger", "package_url": "https://pypi.org/project/tango-autotagger/", "platform": "", "project_url": "https://pypi.org/project/tango-autotagger/", "project_urls": { "Homepage": "http://github.com/tBaxter/autotagger" }, "release_url": "https://pypi.org/project/tango-autotagger/0.3.0/", "requires_dist": null, "requires_python": "", "summary": " Takes a given block of text and tags it according to Django models and fields defined in settings", "version": "0.3.0" }, "last_serial": 4097428, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "22b60847b3c55f0ac8b926c6cb1da70e", "sha256": "5573aa7cb592a76423b240947c69430adc3462f6848a5312776faf50e9e332c8" }, "downloads": -1, "filename": "tango_autotagger-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "22b60847b3c55f0ac8b926c6cb1da70e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5930, "upload_time": "2018-07-24T15:23:39", "url": "https://files.pythonhosted.org/packages/59/d1/5df2ad45b265e6ecdee3fe632b336009c49bfe9d3ca7634e857b3ae0ef0c/tango_autotagger-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "77ad4448737961c817468d22da5c9852", "sha256": "7c0d3e7856f42965ee79eb5f454d218ee3cfb139dbf0300f6beb35a528a300e6" }, "downloads": -1, "filename": "tango-autotagger-0.2.2.tar.gz", "has_sig": false, "md5_digest": "77ad4448737961c817468d22da5c9852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5388, "upload_time": "2018-07-24T15:23:41", "url": "https://files.pythonhosted.org/packages/43/39/42ef17127497c13f67233b698bbbc87abda59f27024badfa07a0aba37816/tango-autotagger-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "668cabaebf19c64f4b306d9dfb0983cf", "sha256": "71f1a0e1fcb9b176178320ad99bfc856be83a23ad05747a6426c3dd3af3e02ae" }, "downloads": -1, "filename": "tango_autotagger-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "668cabaebf19c64f4b306d9dfb0983cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5964, "upload_time": "2018-07-24T15:23:40", "url": "https://files.pythonhosted.org/packages/c4/00/2ebe505b742ace1c88048f1b8cc1bf1e126de2f7df3151886412c16653df/tango_autotagger-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5fdc39269316312cfe7458a4663a960a", "sha256": "e0fbcf79a4a6847a68782f2cb3827fd675b5bceb78486d483e83b20d368c3ff8" }, "downloads": -1, "filename": "tango-autotagger-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5fdc39269316312cfe7458a4663a960a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5443, "upload_time": "2018-07-24T15:23:42", "url": "https://files.pythonhosted.org/packages/56/f2/355b87051ab0fd2f82f30b3d9a67463fd4cd729954e413691aa003c25e0d/tango-autotagger-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "668cabaebf19c64f4b306d9dfb0983cf", "sha256": "71f1a0e1fcb9b176178320ad99bfc856be83a23ad05747a6426c3dd3af3e02ae" }, "downloads": -1, "filename": "tango_autotagger-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "668cabaebf19c64f4b306d9dfb0983cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5964, "upload_time": "2018-07-24T15:23:40", "url": "https://files.pythonhosted.org/packages/c4/00/2ebe505b742ace1c88048f1b8cc1bf1e126de2f7df3151886412c16653df/tango_autotagger-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5fdc39269316312cfe7458a4663a960a", "sha256": "e0fbcf79a4a6847a68782f2cb3827fd675b5bceb78486d483e83b20d368c3ff8" }, "downloads": -1, "filename": "tango-autotagger-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5fdc39269316312cfe7458a4663a960a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5443, "upload_time": "2018-07-24T15:23:42", "url": "https://files.pythonhosted.org/packages/56/f2/355b87051ab0fd2f82f30b3d9a67463fd4cd729954e413691aa003c25e0d/tango-autotagger-0.3.0.tar.gz" } ] }