{ "info": { "author": "Takayuki SHIMIZUKAWA", "author_email": "shimizukawa@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Other Environment", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Documentation", "Topic :: Text Processing :: General", "Topic :: Utilities" ], "description": "`rst2textile` is docutils textile writer convert reStructuredText(rst) to Textile format.\n\nFeatures\n==========\n\n* Docutils writer for textile.\n\n * supported syntaxes are:\n\n * headings: h1/h2..\n * docinfo: field-list (like `:Date: today`) at top of rst file.\n * paragraph\n * emphasis: `*em*`\n * strong: `**strong**`\n * list-item: `* egg`\n * enum-item: `#. ham`\n * blockquote\n * link: `\\`foo \\`_`\n * image: `.. image:: http://example.com/image.png`\n * literal: `\\`\\`some code\\`\\`` and `::`\n\n* Sphinx textile builder (experimental).\n\n #. write conf.py `extensions = ['docutils_textile']`\n #. build by `sphinx-build -b textile source _build/textile`\n\nInstall\n========\n\n::\n\n $ pip install rst2textile\n\n\nIf you wanto to use unrelease version, you can install from repository::\n\n $ pip install -e hg+https://bitbucket.org/shimizukawa/rst2textile#egg=rst2textile\n\n\nRun\n======\n\n::\n\n $ rst2textile.py input.rst output.txt\n\nor::\n\n $ python -m rst2textile input.rst output.txt\n\n\nTest\n=====\n\n::\n\n $ python setup.py test\n\nor::\n\n $ python test.py\n\n\nDepends\n========\n* Python 2.6, 2.7, 3.3, 3.4\n* Docutils 0.12, 0.11, 0.10\n\n\nLimitation\n============\n* Not supported: some textile syntax at http://redcloth.org/textile\n\n\nToDo\n=====\n* Documentation\n* Implement some textile format.\n\nCHANGES\n========\n\n0.2.1 (2014/10/04)\n------------------\n* Fix: number of table columns reduced to shorter row.\n\n\n0.2.0 (2014/10/04)\n------------------\n* add support textile table output. Thanks to tell-k.\n* remove pysetup related lines.\n* change supported python versions: 2.6, 2.7, 3.3, 3.4\n* change supported docutils versions: 0.12, 0.11, 0.10\n\n0.1.1 (2012/4/29)\n------------------\n* add supported python versions: 2.4, 2.5, 2.6, 3.1, 3.2, 3.3\n\n0.1.0 (2012/4/22)\n------------------\n* first release\n* supported syntax: h1/h2.., docinfo, paragraph, *em*, **strong**, list-item, enum-item, blockquote, link, image, literal\n\n\nConvert Samples\n==================\n\nHeading1\n---------\n.. container:: test, rst, textile\n\n rst::\n\n ==========\n Heading1\n ==========\n\n textile::\n\n h1. Heading1\n\nHeadings\n---------\n.. container:: test, rst, textile\n\n rst::\n\n ==========\n Heading1\n ==========\n\n Heading2\n ==========\n\n Heading3\n ----------\n\n Heading4\n ^^^^^^^^^^\n\n textile::\n\n h1. Heading1\n\n\n h2. Heading2\n\n\n h3. Heading3\n\n\n h4. Heading4\n\n\nDocument Information\n-----------------------\n.. container:: test, rst, textile\n\n rst::\n\n HelloWorld\n ===========\n\n :Date: Today\n :Author: SpamEgg\n :Location: Here\n\n textile::\n\n h1. HelloWorld\n\n Date:\n Today\n\n Author:\n SpamEgg\n\n Location:\n Here\n\nParagraph\n----------\n\n.. container:: test, rst, textile\n\n rst::\n\n Normal Text\n\n textile::\n\n Normal Text\n\nEmphasized\n-----------\n\n.. container:: test, rst, textile\n\n rst::\n\n *emphasized* (e.g., italics)\n\n textile::\n\n _emphasized_ (e.g., italics)\n\nStrongly emphasized\n--------------------\n.. container:: test, rst, textile\n\n rst::\n\n **strongly emphasized** (e.g., boldface)\n\n textile::\n\n *strongly emphasized* (e.g., boldface)\n\nList items\n-----------\n.. container:: test, rst, textile\n\n rst::\n\n - An item in a bulleted (unordered) list\n\n - Another item in a bulleted list\n\n - Second Level\n\n * Second Level Items\n\n * Third level\n\n textile::\n\n * An item in a bulleted (unordered) list\n * Another item in a bulleted list\n ** Second Level\n ** Second Level Items\n *** Third level\n\nEnumerated list items\n----------------------\n.. container:: test, rst, textile\n\n rst::\n\n #. An item in an enumerated (ordered) list xxxxxxx\n #. Another item in an enumerated list yyyyyy\n\n #. Another level in an enumerated list vvvvvvvv\n #. Another level in an enumerated list vvvvvvvv\n\n #. 3rd element at indent level1\n\n textile::\n\n # An item in an enumerated (ordered) list xxxxxxx\n # Another item in an enumerated list yyyyyy\n ## Another level in an enumerated list vvvvvvvv\n ## Another level in an enumerated list vvvvvvvv\n # 3rd element at indent level1\n\nBlockquotes\n------------\n.. container:: test, rst, textile\n\n rst::\n\n Blockquotes\n\n This text will be enclosed in an HTML blockquote element.\n\n Second Paragraph.\n\n textile::\n\n Blockquotes\n\n bq. This text will be enclosed in an HTML blockquote element.\n bq. Second Paragraph.\n\nLinks\n-------\n.. container:: test, rst, textile\n\n rst::\n\n `link text and link target url `_\n\n textile::\n\n \"link text and link target url\":http://www.example.com/link/target/address\n\nImages\n-------\n.. container:: test, rst, textile\n\n rst::\n\n .. image:: http://example.com/image.jpg\n\n .. figure:: local/image/path.png\n\n textile::\n\n !http://example.com/image.jpg!\n\n !local/image/path.png!\n\n\nInner Reference\n----------------\n.. container:: test, rst, textile\n\n rst::\n\n HelloWorld\n ===========\n\n reference to HelloWorld_ !\n\n textile::\n\n h1. HelloWorld\n\n reference to \"HelloWorld\" !\n\n\nLiteral (code)\n----------------\n.. container:: test, rst, textile\n\n rst::\n\n ::\n\n class Foo(object):\n\n def __init__(self, value):\n print \"value = %d\" % value\n raise NotImplementedError(u'EmptyClass')\n\n textile::\n\n
\n      class Foo(object):\n\n          def __init__(self, value):\n              print \"value = %d\" % value\n              raise NotImplementedError(u'EmptyClass')\n      
\n\nTables\n----------------\n.. container:: test, rst, textile\n\n rst::\n\n +------------------------+------------+----------+----------+\n | Header row, column 1 | Header 2 | Header 3 | Header 4 |\n | (header rows optional) | | | |\n +========================+============+==========+==========+\n | body row 1, column 1 | column 2 | column 3 | column 4 |\n +------------------------+------------+----------+----------+\n | body row 2 | ... | ... | |\n +------------------------+------------+----------+----------+\n\n textile::\n\n |_. Header row, column 1\n (header rows optional)|_. Header 2 |_. Header 3 |_. Header 4 |\n | body row 1, column 1 | column 2 | column 3 | column 4 |\n | body row 2 | ... | ... | |\n\n\n.. container:: test, rst, textile\n\n rst::\n\n ===== ===== =======\n A B A and B\n ===== ===== =======\n False False False\n True False False\n False True False\n True True True\n ===== ===== =======\n\n textile::\n\n |_. A |_. B |_. A and B |\n | False | False | False |\n | True | False | False |\n | False | True | False |\n | True | True | True |\n\n\nCSV Table\n----------------\n.. container:: test, rst, textile\n\n rst::\n\n .. csv-table::\n :header: \"Treat\", \"Quantity\", \"Description\"\n :widths: 15, 10, 30\n\n \"Albatross\", 2.99, \"On a stick!\"\n \"Crunchy Frog\", 1.49, \"If we took the bones out, it wouldn't be\n crunchy, now would it?\"\n \"Gannet Ripple\", 1.99, \"On a stick!\"\n\n textile::\n\n |_. Treat |_. Quantity |_. Description |\n | Albatross | 2.99 | On a stick! |\n | Crunchy Frog | 1.49 | If we took the bones out, it wouldn't be\n crunchy, now would it?|\n | Gannet Ripple | 1.99 | On a stick! |\n\n\nList Table\n---------------\n\n.. container:: test, rst, textile\n\n rst::\n\n .. list-table::\n :widths: 15 10 30\n :header-rows: 1\n\n * - Treat\n - Quantity\n - Description\n * - Albatross\n - 2.99\n - On a stick!\n * - Crunchy Frog\n - 1.49\n - If we took the bones out, it wouldn't be\n crunchy, now would it?\n * - Gannet Ripple\n - 1.99\n - On a stick!\n\n textile::\n \n |_. Treat |_. Quantity |_. Description |\n | Albatross | 2.99 | On a stick! |\n | Crunchy Frog | 1.49 | If we took the bones out, it wouldn't be\n crunchy, now would it?|\n | Gannet Ripple | 1.99 | On a stick! |", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/shimizukawa/rst2textile", "keywords": "docutils reStructuredText textile", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "rst2textile", "package_url": "https://pypi.org/project/rst2textile/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rst2textile/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/shimizukawa/rst2textile" }, "release_url": "https://pypi.org/project/rst2textile/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "rst2textile is docutils textile writer convert reStructuredText(rst) to Textile format.", "version": "0.2.1" }, "last_serial": 1247619, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2d7cb994d78a10c2412159cabb05303f", "sha256": "8fcdb0eaaf9dbbf7adf84e5b0071778684959042d6d6909526ffde01ae97ce1a" }, "downloads": -1, "filename": "rst2textile-0.1.0.zip", "has_sig": false, "md5_digest": "2d7cb994d78a10c2412159cabb05303f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18439, "upload_time": "2012-04-22T10:58:50", "url": "https://files.pythonhosted.org/packages/c1/d7/7d1cdc4160f57b46aa6b4d9fa3d06b178c361143668a526b6235e44aaa68/rst2textile-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "83d28b86d705572dff5145397237d610", "sha256": "c4d0dff515a272841736f5b4c71e80b4b3346d87fc709ce10a04b0ebcfa990a1" }, "downloads": -1, "filename": "rst2textile-0.1.1.tar.gz", "has_sig": false, "md5_digest": "83d28b86d705572dff5145397237d610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11827, "upload_time": "2012-04-28T19:13:04", "url": "https://files.pythonhosted.org/packages/91/6b/ec5f471551342b0b3b10ce6d21f00e33637cc10c4f56e8c0f8403bef706d/rst2textile-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "524b877eaeb28dfb9eee0ebd374ced8f", "sha256": "c32c901a311c5b64c20210e7832e86bb991ecadaad799f72afb2ed06d0758f4c" }, "downloads": -1, "filename": "rst2textile-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "524b877eaeb28dfb9eee0ebd374ced8f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13906, "upload_time": "2014-10-04T09:29:34", "url": "https://files.pythonhosted.org/packages/a0/f3/08dc8f1c3b12795fd03cac67fa61f1c841f1ee3af17358b25240c007ad16/rst2textile-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57f149ecfedc3ef06446e9d0a9de9795", "sha256": "2afed8f130dd6b9cebc12da69adfb1bfe1133dbc0c4be63c3f571a3c701283f3" }, "downloads": -1, "filename": "rst2textile-0.2.0.tar.gz", "has_sig": false, "md5_digest": "57f149ecfedc3ef06446e9d0a9de9795", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11649, "upload_time": "2014-10-04T09:29:32", "url": "https://files.pythonhosted.org/packages/85/0e/81c7bee888c7a41ced5f99b4f73d94bba80e3c2d55737079e65810dbc0a2/rst2textile-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b57168abcd1db12db970b4fd9b017acd", "sha256": "3108844f02cf8da8c0483126ac952efec19a8cec98ca818488c57e51ee653916" }, "downloads": -1, "filename": "rst2textile-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b57168abcd1db12db970b4fd9b017acd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14012, "upload_time": "2014-10-04T09:54:29", "url": "https://files.pythonhosted.org/packages/07/67/761fa22dbc667f621f79e3747d01ef93a8443d6d049d5ee13f3d279ed7e9/rst2textile-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e719b77b8d0c5f20191e43fbab539ea6", "sha256": "17f8005408f2928ac2c394d12c895aca9e331e08a5adcac7d19a773fb8b60a3b" }, "downloads": -1, "filename": "rst2textile-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e719b77b8d0c5f20191e43fbab539ea6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11711, "upload_time": "2014-10-04T09:54:26", "url": "https://files.pythonhosted.org/packages/24/2a/ef3c5165dc8f1b416b963970a6fef297ac318b4d2ad8bffac5ebb6796cc4/rst2textile-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b57168abcd1db12db970b4fd9b017acd", "sha256": "3108844f02cf8da8c0483126ac952efec19a8cec98ca818488c57e51ee653916" }, "downloads": -1, "filename": "rst2textile-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b57168abcd1db12db970b4fd9b017acd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14012, "upload_time": "2014-10-04T09:54:29", "url": "https://files.pythonhosted.org/packages/07/67/761fa22dbc667f621f79e3747d01ef93a8443d6d049d5ee13f3d279ed7e9/rst2textile-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e719b77b8d0c5f20191e43fbab539ea6", "sha256": "17f8005408f2928ac2c394d12c895aca9e331e08a5adcac7d19a773fb8b60a3b" }, "downloads": -1, "filename": "rst2textile-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e719b77b8d0c5f20191e43fbab539ea6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11711, "upload_time": "2014-10-04T09:54:26", "url": "https://files.pythonhosted.org/packages/24/2a/ef3c5165dc8f1b416b963970a6fef297ac318b4d2ad8bffac5ebb6796cc4/rst2textile-0.2.1.tar.gz" } ] }