{ "info": { "author": "Prajwala", "author_email": "m.prajwala@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "It is easy to extract an excerpt of a text string with a given length limit. But\r\nif you want to extract an excerpt from HTML, the tags that may exist in the text\r\nstring make it more complicated.\r\n\r\nThis module provides a solution to extract excerpts from HTML documents with a\r\ngiven text length limit without counting the length of any HTML tags.\r\n\r\nThis package is used to cut the string which is having html tags. \r\nIt does not count the html tags, it just count the string inside tags and keeps\r\nthe tags as it is.\r\n\r\nex: If the string is \"welcome to Python World
Python is bla\". and If\r\nwe want to cut the string of 16 charaters then output will be \"welcome to\r\nPython\". \r\n\r\nHere while cutting the string it keeps the tags for the cutting string and skip\r\nthe rest and without distorbing the div structure.\r\n\r\nUSAGE1:\r\n obj = HtmlCutString(\"welcome to Python World
Python is\",16)\r\n\r\n newCutString = obj.cut()\r\n\r\nUSAGE2:\r\n newCutString = cutHtmlString(\"welcome to Python World
Python is\",16)", "description_content_type": null, "docs_url": null, "download_url": "http://code.google.com/p/cut-html-string/downloads/list?can=2&q=python&colspec=Filename+Summary+Uploaded+Size+DownloadCount", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "GNU General Public License V3", "maintainer": "", "maintainer_email": "", "name": "htmlcutstring", "package_url": "https://pypi.org/project/htmlcutstring/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/htmlcutstring/", "project_urls": { "Download": "http://code.google.com/p/cut-html-string/downloads/list?can=2&q=python&colspec=Filename+Summary+Uploaded+Size+DownloadCount", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/htmlcutstring/1.1/", "requires_dist": null, "requires_python": null, "summary": "Python module which help to cut html string by keeping html tags as it is", "version": "1.1" }, "last_serial": 793048, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "59dcb57c309241ed2da57aaa12ec8f50", "sha256": "6a59539888fc06fc4bf0299e625d08c652fb6498a98af38fbed7e154f8f5d328" }, "downloads": -1, "filename": "htmlcutstring-1.0.tar.gz", "has_sig": false, "md5_digest": "59dcb57c309241ed2da57aaa12ec8f50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1629, "upload_time": "2009-07-20T01:30:58", "url": "https://files.pythonhosted.org/packages/78/33/d53e350679ee49560ef072bab97d3c003c5a9ead24d9815e21d1062c4443/htmlcutstring-1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "b8e08c2ea8b5727cd81c06fa1623dedc", "sha256": "21458a37b8824f4feed85f6d1a1c394cffafbc7c30238134adbd36d31faca98c" }, "downloads": -1, "filename": "htmlcutstring-1.0.zip", "has_sig": false, "md5_digest": "b8e08c2ea8b5727cd81c06fa1623dedc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2123, "upload_time": "2009-07-20T01:31:37", "url": "https://files.pythonhosted.org/packages/f8/cd/2347dd8eddd366f32ad65a8347d6288a4cff64c2f5e57c9c7c09c98b7dda/htmlcutstring-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "3f80d8b604f432182e4a47cf6e907eb8", "sha256": "55cfb8adbbd4ba84f504654a3757fbf8409376615761ff8cff3c84d829b9894d" }, "downloads": -1, "filename": "htmlcutstring-1.1.tar.gz", "has_sig": false, "md5_digest": "3f80d8b604f432182e4a47cf6e907eb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1652, "upload_time": "2009-09-20T15:01:06", "url": "https://files.pythonhosted.org/packages/2e/09/0fe7c8efb55e331aff6407c3929f772157704046adf8b9b13728da4a8c2e/htmlcutstring-1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "f93433ca1cdc1d1fd99fe396aecce599", "sha256": "87366e50244f6640724796ecff5609b25ac5daf99737a7f5f5f860c1d97c5671" }, "downloads": -1, "filename": "htmlcutstring-1.1.zip", "has_sig": false, "md5_digest": "f93433ca1cdc1d1fd99fe396aecce599", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2145, "upload_time": "2009-09-20T15:01:17", "url": "https://files.pythonhosted.org/packages/b4/90/db90712b6e1fda861eab2d1f1dd63f318b096895ea0a87e4c623f8440e80/htmlcutstring-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f80d8b604f432182e4a47cf6e907eb8", "sha256": "55cfb8adbbd4ba84f504654a3757fbf8409376615761ff8cff3c84d829b9894d" }, "downloads": -1, "filename": "htmlcutstring-1.1.tar.gz", "has_sig": false, "md5_digest": "3f80d8b604f432182e4a47cf6e907eb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1652, "upload_time": "2009-09-20T15:01:06", "url": "https://files.pythonhosted.org/packages/2e/09/0fe7c8efb55e331aff6407c3929f772157704046adf8b9b13728da4a8c2e/htmlcutstring-1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "f93433ca1cdc1d1fd99fe396aecce599", "sha256": "87366e50244f6640724796ecff5609b25ac5daf99737a7f5f5f860c1d97c5671" }, "downloads": -1, "filename": "htmlcutstring-1.1.zip", "has_sig": false, "md5_digest": "f93433ca1cdc1d1fd99fe396aecce599", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2145, "upload_time": "2009-09-20T15:01:17", "url": "https://files.pythonhosted.org/packages/b4/90/db90712b6e1fda861eab2d1f1dd63f318b096895ea0a87e4c623f8440e80/htmlcutstring-1.1.zip" } ] }