{ "info": { "author": "Michael Foord", "author_email": "michael@voidspace.org.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries", "Topic :: Text Processing :: Markup" ], "description": "A XAML writer from `reStructured Text `_ source.\r\n\r\nThe goal is to be able to write out \r\n`FlowDocument XAML `_ \r\nfrom ReST documents for use in WPF and Silverlight / \r\n`Moonlight `_ projects.\r\n\r\nIt includes a `Pygments `_ formatter for outputting a\r\nsyntax highlighted XAML representation of source code.\r\n\r\nrst2xaml itself runs under CPython, but the generated XAML is intended for use\r\nfrom IronPython (or any other .NET language). There is an example IronPython\r\nscript for displaying the generated XAML using a WPF\r\n`FlowDocumentReader\r\n`_.\r\n\r\n\r\nRequirements\r\n------------\r\n\r\nrst2xaml depends on:\r\n\r\n* `docutils `_\r\n* Pygments_\r\n\r\nTested with Python 2.5 and 2.6, but probably works fine under Python 2.4.\r\n\r\nThe Silverlight output is intended to work with Moonlight (the equivalent of\r\nSilverlight 2) *and* Silverlight 3. Let me know if\r\nthere are any problems.\r\n\r\n\r\nCurrent status\r\n--------------\r\n\r\nThe docutils writer for both FlowDocument and Silverlight XAML can currently\r\nhandle the following\r\nmarkup features:\r\n\r\n * title and headings\r\n * paragraphs\r\n * bold\r\n * italics\r\n * literal blocks\r\n * inline literals\r\n * line blocks\r\n * bullet lists\r\n * enumerated lists\r\n * blockquotes\r\n * the raw:: xaml directive\r\n * the pygments code-block directive\r\n\r\nIn addition the FlowDocument output can handle superscript, although that only\r\nworks for fonts that support it.\r\n\r\nNested enumerated lists don't yet work correctly for either FlowDocument or\r\nSilverlight output.\r\n\r\nScripts\r\n-------\r\n\r\nThere are three scripts that come with rst2xaml::\r\n\r\n python rst2xaml.py source.txt output.xaml\r\n python rst2xamlsl.py silverlight-source.txt silverlight-output.xaml\r\n ipy.exe display_xaml.py output.xaml\r\n\r\nIf ``display_xaml.py`` is run without a command line argument it will open a\r\nfile dialog for you to choose a xaml file to display.\r\n\r\n\r\nTests\r\n-----\r\n\r\nThe tests use the `discover module `_,\r\nwhich is included in the repository for convenience. You run the tests with:\r\n\r\n `python discover.py`\r\n \r\n\r\nDevelopment\r\n-----------\r\n\r\nThe development version of rst2xaml is hosted on a google project page:\r\n\r\n* http://code.google.com/p/rst2xaml/\r\n\r\n\r\nCHANGELOG\r\n---------\r\n\r\n\r\n2009/08/29 Version 0.1.1\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nBottom margin on list items increased.\r\n\r\nAddition of xclass option for the Silverlight XAML, for use from `Try Python \r\n`_.\r\n\r\n\r\n2009/08/20 Version 0.1.0\r\n~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nInitial release.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/rst2xaml/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rst2xaml", "package_url": "https://pypi.org/project/rst2xaml/", "platform": "", "project_url": "https://pypi.org/project/rst2xaml/", "project_urls": { "Homepage": "http://code.google.com/p/rst2xaml/" }, "release_url": "https://pypi.org/project/rst2xaml/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "ReStructuredText to XAML for WPF and Silverlight / Moonlight", "version": "0.1.1" }, "last_serial": 799102, "releases": { "0.0": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "8348ca1ac262c19ae4e772e90685ca30", "sha256": "69dd82046cec2b00caf7aa35caba94fc4f4de85fc0349559eb81282e5d8dbd45" }, "downloads": -1, "filename": "rst2xaml-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8348ca1ac262c19ae4e772e90685ca30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19223, "upload_time": "2009-08-21T00:30:52", "url": "https://files.pythonhosted.org/packages/85/33/17959b3091bb16e25787d22a690c89ec53f5970a0e8d0d8a134aeac6e548/rst2xaml-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "825153e768400105201abe98b1f1ec91", "sha256": "60b734a9d47376a7005bf4e1641347ae2d4847239efbe2265badcacdcc82fe81" }, "downloads": -1, "filename": "rst2xaml-0.1.0.zip", "has_sig": false, "md5_digest": "825153e768400105201abe98b1f1ec91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24334, "upload_time": "2009-08-21T00:30:08", "url": "https://files.pythonhosted.org/packages/22/f9/e45f7ebaf58ff60ee70abe25a3b96543818cf146d210f417ddaf1c35b0d1/rst2xaml-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d7dda99187460e1bdc3c032f1a1ef151", "sha256": "1752be62021de5a9337710c6486a5aac1ebf9eb6c10aca94d41baa9357353d60" }, "downloads": -1, "filename": "rst2xaml-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d7dda99187460e1bdc3c032f1a1ef151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19472, "upload_time": "2009-08-29T18:01:31", "url": "https://files.pythonhosted.org/packages/22/58/adf01a0e453a654ca915ed272e6b08f2a2039866146a3817bf15e8e1c948/rst2xaml-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "4017a712c5baf18e7dad9202a6e1ebf3", "sha256": "c55433d116d0dfb385e61e4c4ec91fd9af9dfef39d28b470773a1c718ea8094d" }, "downloads": -1, "filename": "rst2xaml-0.1.1.zip", "has_sig": false, "md5_digest": "4017a712c5baf18e7dad9202a6e1ebf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24372, "upload_time": "2009-08-29T18:13:27", "url": "https://files.pythonhosted.org/packages/f1/80/64b7d32f0fe28e7b5ac79607892ad3ae30e5a7e034c5f51344647f2b0a6f/rst2xaml-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d7dda99187460e1bdc3c032f1a1ef151", "sha256": "1752be62021de5a9337710c6486a5aac1ebf9eb6c10aca94d41baa9357353d60" }, "downloads": -1, "filename": "rst2xaml-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d7dda99187460e1bdc3c032f1a1ef151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19472, "upload_time": "2009-08-29T18:01:31", "url": "https://files.pythonhosted.org/packages/22/58/adf01a0e453a654ca915ed272e6b08f2a2039866146a3817bf15e8e1c948/rst2xaml-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "4017a712c5baf18e7dad9202a6e1ebf3", "sha256": "c55433d116d0dfb385e61e4c4ec91fd9af9dfef39d28b470773a1c718ea8094d" }, "downloads": -1, "filename": "rst2xaml-0.1.1.zip", "has_sig": false, "md5_digest": "4017a712c5baf18e7dad9202a6e1ebf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24372, "upload_time": "2009-08-29T18:13:27", "url": "https://files.pythonhosted.org/packages/f1/80/64b7d32f0fe28e7b5ac79607892ad3ae30e5a7e034c5f51344647f2b0a6f/rst2xaml-0.1.1.zip" } ] }