{ "info": { "author": "Brendon Hogger", "author_email": "brendonh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Office/Business", "Topic :: Software Development :: Libraries", "Topic :: Text Editors :: Word Processors", "Topic :: Text Processing", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup" ], "description": "pyth3 - Python text markup and conversion\n=========================================\n\nPyth is intended to make it easy to convert marked-up text between different common formats.\nThis is a (rather incomplete so far) port of pyth 0.6.0 to Python 3.\n\n*Marked-up text* means text which has:\n\n* Paragraphs\n* Headings\n* Bold, italic, and underlined text\n* Hyperlinks\n* Bullet lists\n* Simple tables\n* Very little else\n\n\nFormats that have (very varying) degrees of support are\n\n* Plain text\n* XHTML\n* RTF (Rich Text Format)\n* PDF (output only)\n\n\nDesign principles/goals\n=======================\n\n* Ignore unsupported information in input formats (e.g. page layout)\n* Ignore font issues -- output in a single font.\n* Ignore specific text sizes, but maintain italics, boldface, subscript/superscript\n* Have no dependencies unless they are written in Python, and work\n* Make it easy to add support for new formats, by using an architecture based on *plugins* and *adapters*.\n\n\n\nExamples\n========\n\nSee directory `examples`.\n\n\n\nPython 3 migration\n==================\n\nThe code was originally written for Python 2.\nIt has been partially(!) upgraded to Python 3 compatibility (starting via 'modernize').\nThis does not mean it will actually work!\n\npyth.plugins.rtf15.reader has been debugged and now appears to work correctly.\npyth.plugins.xhtml.writer has been debugged and now appears to work correctly.\npyth.plugins.plaintext.writer has been debugged and now appears to work correctly.\nEverything else is unknown (or definitely broken on Python 3: even many\nof the tests fail)\nSee directory py3migration for a bit more detail.\n(If you find something is broken on Python 2 that worked before, please\neither fix it or simply stick to pyth version 0.6.0.)\n\n\nLimitations\n===========\n\npyth.plugins.rtf15.reader:\n- bulleted or enumerated items will be returned\n as plain paragraphs (no indentation, no bullets).\n- cannot cope with Symbol font correctly:\n - from MS Word: lower-coderange characters (greek mostly) work\n - from MS Word: higher-coderange characters are missing, because\n Word encodes them in a horribly complicated manner not supported\n by pyth currently\n - from Wordpad: lower- and higher-coderange characters come out in\n the wrong encoding (ANSI, I think)\n\npyth.plugins.xhtml.writer:\n- very limited functionality\n\npyth.plugins.plaintext.writer:\n- very very limited functionality\n\nOthers: \n- will not work on Python 3 without some porting love-and-care\n\n\nTests\n=====\n\nDon't try to run them all, it's frustrating.\n`py.test -v test_readrtf15.py` is a good way to run the least frustrating \nsubset of them.\nIt is normal that most others will fail on Python 3.\n`test_readrtf15.py` generates test cases dynamically based on\nexisting input files in `tests/rtfs` and\nexisting reference output files in `tests/rtf-as-html` and `tests/rtf-as-html`.\nThe empty or missing output files indicate where functionality is missing,\nwhich nicely indicates possible places to jump in if you want to help.\n\n\nDependencies\n============\n\nOnly the most important two of the dependencies,\nare actually declared in `setup.py`, because the others are large, yet\nare required only in pyth components not yet ported to Python 3. \nThey are:\n- `reportlab` for PDFWriter\n- `docutils` for LatexWriter \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/prechelt/pyth", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyth3", "package_url": "https://pypi.org/project/pyth3/", "platform": "", "project_url": "https://pypi.org/project/pyth3/", "project_urls": { "Homepage": "http://github.com/prechelt/pyth" }, "release_url": "https://pypi.org/project/pyth3/0.7/", "requires_dist": null, "requires_python": "", "summary": "Python text markup and conversion", "version": "0.7" }, "last_serial": 4846171, "releases": { "0.7": [ { "comment_text": "", "digests": { "md5": "e2c3494612a1d6e1853ad42bfc2be72c", "sha256": "5e9105c5acbfc3fd5b3e1aaad9ab6ebf715b89b5285c409a46b6a704a544a4b0" }, "downloads": -1, "filename": "pyth3-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "e2c3494612a1d6e1853ad42bfc2be72c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29080, "upload_time": "2019-02-20T15:38:54", "url": "https://files.pythonhosted.org/packages/1c/33/4578daf6629eae25e7bb0b42f916a8253636e4bbe179dd5f25b0207c3bad/pyth3-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5d91dfa755e8f84f63f15aa94b3e1e5", "sha256": "9ba128299dae9018e7672110ec0082d68eaad89358054e33a49c70681d565f05" }, "downloads": -1, "filename": "pyth3-0.7.tar.gz", "has_sig": false, "md5_digest": "d5d91dfa755e8f84f63f15aa94b3e1e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29035, "upload_time": "2019-02-20T15:38:56", "url": "https://files.pythonhosted.org/packages/f7/71/98eef62a0f69b3926811ee90e72c1df90147f3da455f7a9d24571e7c84f8/pyth3-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2c3494612a1d6e1853ad42bfc2be72c", "sha256": "5e9105c5acbfc3fd5b3e1aaad9ab6ebf715b89b5285c409a46b6a704a544a4b0" }, "downloads": -1, "filename": "pyth3-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "e2c3494612a1d6e1853ad42bfc2be72c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29080, "upload_time": "2019-02-20T15:38:54", "url": "https://files.pythonhosted.org/packages/1c/33/4578daf6629eae25e7bb0b42f916a8253636e4bbe179dd5f25b0207c3bad/pyth3-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5d91dfa755e8f84f63f15aa94b3e1e5", "sha256": "9ba128299dae9018e7672110ec0082d68eaad89358054e33a49c70681d565f05" }, "downloads": -1, "filename": "pyth3-0.7.tar.gz", "has_sig": false, "md5_digest": "d5d91dfa755e8f84f63f15aa94b3e1e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29035, "upload_time": "2019-02-20T15:38:56", "url": "https://files.pythonhosted.org/packages/f7/71/98eef62a0f69b3926811ee90e72c1df90147f3da455f7a9d24571e7c84f8/pyth3-0.7.tar.gz" } ] }