{
"info": {
"author": "Christof Hoeke",
"author_email": "c@cthedot.de",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML"
],
"description": "**For the current version \r\nplease /download/install cssutils \r\nwhich includes v0.9.8 of encutils as well. \r\nFiles here have been deleted and \r\nit is only kept here for reference.**\r\n\r\n\r\n\r\n===================================================\r\nencutils - encoding detection collection for Python\r\n===================================================\r\n:Version: 0.9\r\n:Author: Christof Hoeke, see http://cthedot.de/encutils/\r\n:Contributor: Robert Siemer\r\n:Copyright: 2005-2009: Christof Hoeke\r\n:License: encutils has a dual-license, please choose whatever you prefer:\r\n\r\n * encutils is published under the \r\n `LGPL 3 or later `__\r\n * encutils is published under the \r\n `Creative Commons License `__.\r\n \r\n encutils is free software: you can redistribute it and/or modify\r\n it under the terms of the GNU Lesser General Public License as published by\r\n the Free Software Foundation, either version 3 of the License, or\r\n (at your option) any later version.\r\n\r\n encutils is distributed in the hope that it will be useful,\r\n but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n GNU Lesser General Public License for more details.\r\n\r\n You should have received a copy of the GNU Lesser General Public License\r\n along with encutils. If not, see .\r\n \r\n\r\nA collection of helper functions to detect encodings of text files (like HTML, XHTML, XML, CSS, etc.) retrieved via HTTP, file or string.\r\n\r\n:func:`getEncodingInfo` is probably the main function of interest which uses\r\nother supplied functions itself and gathers all information together and\r\nsupplies an :class:`EncodingInfo` object.\r\n\r\nexample::\r\n\r\n >>> import encutils\r\n >>> info = encutils.getEncodingInfo(url='http://cthedot.de/encutils/')\r\n \r\n >>> print info # = str(info)\r\n utf-8\r\n \r\n >>> print repr(info) # doctest:+ELLIPSIS\r\n \r\n \r\n >>> print info.logtext\r\n HTTP media_type: text/html\r\n HTTP encoding: utf-8\r\n Encoding (probably): utf-8 (Mismatch: False)\r\n \r\n\r\nreferences\r\n XML\r\n RFC 3023 (http://www.ietf.org/rfc/rfc3023.txt)\r\n \r\n easier explained in \r\n - http://feedparser.org/docs/advanced.html\r\n - http://www.xml.com/pub/a/2004/07/21/dive.html\r\n \r\n HTML\r\n http://www.w3.org/TR/REC-html40/charset.html#h-5.2.2\r\n\r\nTODO\r\n - parse @charset of HTML elements?\r\n - check for more texttypes if only text given",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://cthedot.de/encutils/",
"keywords": "encoding,i18n,xml,html,css",
"license": "encutils has a dual-license, please choose whatever you prefer:\r\n\r\n * encutils is published under the `LGPL 3 or later `__\r\n * encutils is published under the\r\n `Creative Commons License `__.",
"maintainer": "",
"maintainer_email": "",
"name": "encutils",
"package_url": "https://pypi.org/project/encutils/",
"platform": "Python 2.3 and later.",
"project_url": "https://pypi.org/project/encutils/",
"project_urls": {
"Homepage": "http://cthedot.de/encutils/"
},
"release_url": "https://pypi.org/project/encutils/0.9/",
"requires_dist": null,
"requires_python": null,
"summary": "Encoding detection collection for Python.",
"version": "0.9"
},
"last_serial": 1063642,
"releases": {
"0.9": []
},
"urls": []
}