{ "info": { "author": "J. Cliff Dyer", "author_email": "jcd@sdf.lonestar.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Topic :: Documentation", "Topic :: Games/Entertainment :: Board Games", "Topic :: Games/Entertainment :: Turn Based Strategy" ], "description": "######\nREADME\n######\n\nrstgo is a package for parsing go diagrams of the style used at the \n`Sensei's Library`_ and rendering them using reStructuredText. It was \ndesigned for embedding dynamically generated images of go games into reST \ndocuments, particularly for pelican blogs or sphinx documentation. \n\nThe code lives at http://bitbucket.org/cliff/rstgo. Bug reports, feature\nrequests, and contributions are all welcome. If you find the code useful,\nhop on bitbucket and send me a quick message letting me know.\n\nTo use with sphinx, add 'rstgo.rst' to your list of extensions. \n\nTo use with pelican or another docutils-based system, add the following to \nyour pelican configuration file::\n\n from rstgo import rst\n rst.setup_docutils()\n \nTo use rstgo in standalone rst files, you can use the included\n``rst2html+go.py`` script, which should get installed onto your PATH.\n\nYou can even use rstgo programmatically with go diagrams outside of \nreStructuredText documents. Just pass a file-like object containing only \nthe text of the diagram to a GoDiagramParser, and then render the image file\nusing a GoDiagram::\n\n from StringIO import StringIO\n from rstgo import parsers\n from rstgo import board\n\n diagram_text = StringIO(\"\"\"\\\n $$ -------\n $$ |. 1 .|\n $$ |X . O|\n $$ |b a 2|\n $$ -------\n \"\"\")\n parser = parsers.GoDiagramParser()\n parser.parse(diagram_text)\n diagram = board.GoDiagram.load_from_parser(parser)\n diagram.render()\n diagram.show() \n diagram.save('diagram.png', 'PNG')\n\n\nChangelog\n=========\n\n0.2.2 -- 2012/11/29\n-------------------\n\n* Updated setup.py to install pillow instead of PIL, because PIL does not understand basic \n packaging.\n\n0.2.1 -- 2012/11/29\n-------------------\n\n* Fixed bug causing misrendering of basic stones in certain circumstances\n* Fixed example code in this README file\n\n0.2.0 -- 2011/12/04\n-------------------\n\n* Implemented parsing of multi-digit numbers--not supported by sensei's \n library.\n* Renamed ``setup_pelican()`` to ``setup_docutils()``, because that's what it does.\n* Deprecated ``setup_pelican()``.\n* Parser now creates a ``marked_coordinates`` dict, which allows multiple\n instances of the same annotation.\n* Boards now render non-alphanumeric annotations.\n* Added ``rstgo.__version__`` information.\n\n0.1.7 -- 2011/11/06\n-------------------\n\n* Fixed an error in refactored parser that caused the first line of the board\n to be processed twice.\n* Added documentation for rendering diagrams in plain python.\n* Renamed ``GoDiagram.load_diagram_from_parser()`` method to \n ``GoDiagram.load_from_parser()``\n* Implemented rendering of 0 as a stone marked \"10\".\n\n0.1.6 -- 2011/11/05\n-------------------\n* Sequence moves can now start with either black or white. \n* Refactored parser a little bit. \n\n0.1.5 -- 2011/11/05\n-------------------\n\nImplemented rendering of sequence moves and letter annotations. Currently,\nsequence moves have to start with black\n\n\n0.1.4 -- 2011/11/04\n-------------------\n\nFixed a bug where ``:alt:`` argument was unintentionally required.\n\n\n0.1.3 -- 2011/11/03\n-------------------\n\nFixed pathing and extension loading for usage with Sphinx.\n\n\n0.1.2 -- 2011/10/27\n-------------------\n\nAdded release notes to ``README.txt``\n\n\n0.1.1 -- 2011/10/27\n-------------------\n\nAdded intro text to ``README.txt`` \n\n\n0.1.0 -- 2011/10/27\n-------------------\n\nInitial release\n\n\nTo Do\n=====\n\n* Diagrams should render captions and metadata.\n\n.. _Sensei's Library: http://senseis.xmp.net/?HowDiagramsWork", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/cliff/rstgo", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "rstgo", "package_url": "https://pypi.org/project/rstgo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rstgo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/cliff/rstgo" }, "release_url": "https://pypi.org/project/rstgo/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "A package to render go diagrams and embed them in reStructuredText documents", "version": "0.2.2" }, "last_serial": 799105, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6418ba0af1d8fb2c91c0002a7fc25934", "sha256": "f9f8603605cf2c5a46a026771480545d6dc590f090586e73767cfaa4de74aac9" }, "downloads": -1, "filename": "rstgo-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6418ba0af1d8fb2c91c0002a7fc25934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9843, "upload_time": "2011-10-28T01:44:00", "url": "https://files.pythonhosted.org/packages/80/43/c7b6c671d687d41b2d34ab7b40af992f69e9d943a6fd36d69a3a80c619f4/rstgo-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f98c800be5b6eb3bfccc3cf89ba49f82", "sha256": "e075d04ebc316c0b8911a0582438cf9877cce78c604381096322ae7b720a310a" }, "downloads": -1, "filename": "rstgo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f98c800be5b6eb3bfccc3cf89ba49f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10196, "upload_time": "2011-10-28T01:59:49", "url": "https://files.pythonhosted.org/packages/7e/ee/f652a8c039cb46812f2a0d5d506a894358d2a3019b55f742e9e966104b60/rstgo-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "33a0b9c003269d73236b3ee975a9082a", "sha256": "a4e96dbfa7e82e1c03dd1939d12fcc3ac39e74b04fb5820b89322d2aa612400c" }, "downloads": -1, "filename": "rstgo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "33a0b9c003269d73236b3ee975a9082a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10316, "upload_time": "2011-10-28T02:35:59", "url": "https://files.pythonhosted.org/packages/6e/ee/e1dfa228d2c02abd1da1fe3deee31375dc42ea549d02a4265f43d9451226/rstgo-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "630e1ce581b696f3604cc1fb2d3a55a1", "sha256": "f6734adb0c1ae51bb85220159dcab8261e7d1a1b0c97487b5d4ae7d7e7a07e6a" }, "downloads": -1, "filename": "rstgo-0.1.3.tar.gz", "has_sig": false, "md5_digest": "630e1ce581b696f3604cc1fb2d3a55a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10409, "upload_time": "2011-11-04T00:08:53", "url": "https://files.pythonhosted.org/packages/f0/6c/da9cf13e992e80df27c106242183d6798c6cc2402e952716ee8f3d578dd9/rstgo-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "3378e0db7d56fd114c11f91f90ed6a8f", "sha256": "5469be8a6e01a42bfbe61ddda1eb6c970457e75beda90057a4f7b8e71a0646b4" }, "downloads": -1, "filename": "rstgo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3378e0db7d56fd114c11f91f90ed6a8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11447, "upload_time": "2011-11-04T15:26:32", "url": "https://files.pythonhosted.org/packages/93/18/4ead26b10772623de863bb70ab667eb51e426e60f7b7f2d941039a49259b/rstgo-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "98147c3a23264ec428d57db53412ee96", "sha256": "9678bacc9ac67c5c32c1e2ba2f0d6dde336ab020967afc8bea4bf6a4d1583d34" }, "downloads": -1, "filename": "rstgo-0.1.5.tar.gz", "has_sig": false, "md5_digest": "98147c3a23264ec428d57db53412ee96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10870, "upload_time": "2011-11-05T16:11:06", "url": "https://files.pythonhosted.org/packages/7c/d5/49709b839f9dc95d0d3cea20dce830431634e4fdf3fbb93dd8a8720dcc5f/rstgo-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "4313a54fbdc36c06013c17e43d911c23", "sha256": "576a72b8b7f9cd1f6ba22ade7438fa1e763e092981605df2aa3a91142823f6b5" }, "downloads": -1, "filename": "rstgo-0.1.6.tar.gz", "has_sig": false, "md5_digest": "4313a54fbdc36c06013c17e43d911c23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11231, "upload_time": "2011-11-05T20:33:52", "url": "https://files.pythonhosted.org/packages/cb/6b/0c910e4c82045a419a6b1721c7486bab32c85ee25abf4565c73a4c032a03/rstgo-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "780c357117959ef85657bf5a37ff2a02", "sha256": "23fa5063ff110ef9d2d488cd864d53039795620b064522c14785daf18cab8af3" }, "downloads": -1, "filename": "rstgo-0.1.7.tar.gz", "has_sig": false, "md5_digest": "780c357117959ef85657bf5a37ff2a02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11962, "upload_time": "2011-11-06T15:40:40", "url": "https://files.pythonhosted.org/packages/1d/02/091651e9ebf1c7b1fa29cd16f30842d4ddf9583f73fbd1cd8be6689496b8/rstgo-0.1.7.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "aedd1c9bf34fc7907b583eb99ab9bb84", "sha256": "504cf391394f1528fe24e015164ae11f28706df7e872c30f9aec84c49a93e67b" }, "downloads": -1, "filename": "rstgo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "aedd1c9bf34fc7907b583eb99ab9bb84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12928, "upload_time": "2011-12-04T14:52:43", "url": "https://files.pythonhosted.org/packages/93/c5/6bf300d1d9b861bd513a41ec733dafbe3afb0da5b3b629ca0fc4a9331e00/rstgo-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3610a5512a25ae1a37618eb6a08dff2c", "sha256": "4142eaa996c9fd8c25a3985cf1fcc5670016773a23c4a98c67f16a3ae98a4a7a" }, "downloads": -1, "filename": "rstgo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3610a5512a25ae1a37618eb6a08dff2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14382, "upload_time": "2012-11-29T20:43:36", "url": "https://files.pythonhosted.org/packages/d6/85/d21600a51bea2b834a528ec70601af2e58b596e037d43a6442f3d54480ea/rstgo-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "63e3a5b3a6563f334242d028ff4cea84", "sha256": "fb9630720b882ae2b611dbe5a127fd37ff5d7f7fe6261b7c092498fa21738ae7" }, "downloads": -1, "filename": "rstgo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "63e3a5b3a6563f334242d028ff4cea84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14488, "upload_time": "2012-11-29T20:46:59", "url": "https://files.pythonhosted.org/packages/90/f8/d5ddd614ef96813d8f1720dd04e1c5d101b4d8203cc2b92ea2bbfd4a0d83/rstgo-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "63e3a5b3a6563f334242d028ff4cea84", "sha256": "fb9630720b882ae2b611dbe5a127fd37ff5d7f7fe6261b7c092498fa21738ae7" }, "downloads": -1, "filename": "rstgo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "63e3a5b3a6563f334242d028ff4cea84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14488, "upload_time": "2012-11-29T20:46:59", "url": "https://files.pythonhosted.org/packages/90/f8/d5ddd614ef96813d8f1720dd04e1c5d101b4d8203cc2b92ea2bbfd4a0d83/rstgo-0.2.2.tar.gz" } ] }