{ "info": { "author": "Ivan Tubert-Brohman", "author_email": "ivan.tubert@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: Games/Entertainment :: Board Games" ], "description": "# python-chess-toc\nCreate a graphical table of contents for chess games with engine analysis\n\nThe `chesstoc` package takes a PGN file and generates an HTML file with a graphical table of contents for the PGN\nfile. Each table entry is a board with the final position for a game,\nsuperimposed with the plot of the engine evaluation function.\n\nFor example,\n\n python3 -m chesstoc --time 1.0 --html candidates.html candidates.pgn --col 2\n\nanalyzes the games from candidates.pgn, spending one second per move, and produces an HTML file with a two-column table that looks like this:\n\n![TOC for candidates.pgn](https://raw.githubusercontent.com/i-tub/python-chess-toc/master/examples/screenshot.png)\n\n## Installation\n\n pip install python-chess-toc\n\n## Dependencies\n* python 3\n* python-chess\n* jinja2\n* matplotlib\n* svgutils\n* a UCI chess engine (only tested with Stockfish)\n\n## Acknowledgements\n\nMany thanks to the authors of all the packages above. The present package is merely a thin layer of glue that gets `python-chess` to do the parsing, talking to the engine, and board rendering, and then feeds the numbers into `matplotlib` and `svgutils` to produce the figures, and finally uses `jinja2` to generate the HTML. Also, I borrowed the opening database from https://github.com/niklasf/eco and borrowed some ideas from https://github.com/rpdelaney/python-chess-annotator.\n\n## License\npython-chess-toc is licensed under the GPL 3 (or any later version at your option). Check out LICENSE.txt for the full text.\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": "https://github.com/i-tub/python-chess-toc", "keywords": "chess pgn svg html", "license": "GPL-3.0+", "maintainer": "", "maintainer_email": "", "name": "python-chess-toc", "package_url": "https://pypi.org/project/python-chess-toc/", "platform": "", "project_url": "https://pypi.org/project/python-chess-toc/", "project_urls": { "Homepage": "https://github.com/i-tub/python-chess-toc" }, "release_url": "https://pypi.org/project/python-chess-toc/0.1.1/", "requires_dist": [ "python-chess", "svgutils", "matplotlib", "jinja2" ], "requires_python": ">=3.4", "summary": "Create a graphical table of contents for chess games with engine analysis", "version": "0.1.1" }, "last_serial": 5007346, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "9563c8c3ed0d4c97586c6003648f2bad", "sha256": "8150b2b9903d9b1da97fe0caef919a89b915f97ece3c172c2b8f6132e25bb327" }, "downloads": -1, "filename": "python_chess_toc-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9563c8c3ed0d4c97586c6003648f2bad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 118474, "upload_time": "2019-03-30T15:28:17", "url": "https://files.pythonhosted.org/packages/e6/de/d0a274a1dcf89ef316f9042fc642c3913e404a5e87fded9a1feb5be73e48/python_chess_toc-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15b1307b2175033ac033b64f267bd050", "sha256": "c302be3dbdf178775c00f9800e707a684d5331539aea579ebfa8a966e8eaf50c" }, "downloads": -1, "filename": "python-chess-toc-0.1.1.tar.gz", "has_sig": false, "md5_digest": "15b1307b2175033ac033b64f267bd050", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 102376, "upload_time": "2019-03-30T15:28:19", "url": "https://files.pythonhosted.org/packages/ba/44/63b93d5c13b8152d6e648b1036f67d0acff5ba22187bc59f1ddea9a01e7a/python-chess-toc-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9563c8c3ed0d4c97586c6003648f2bad", "sha256": "8150b2b9903d9b1da97fe0caef919a89b915f97ece3c172c2b8f6132e25bb327" }, "downloads": -1, "filename": "python_chess_toc-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9563c8c3ed0d4c97586c6003648f2bad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 118474, "upload_time": "2019-03-30T15:28:17", "url": "https://files.pythonhosted.org/packages/e6/de/d0a274a1dcf89ef316f9042fc642c3913e404a5e87fded9a1feb5be73e48/python_chess_toc-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15b1307b2175033ac033b64f267bd050", "sha256": "c302be3dbdf178775c00f9800e707a684d5331539aea579ebfa8a966e8eaf50c" }, "downloads": -1, "filename": "python-chess-toc-0.1.1.tar.gz", "has_sig": false, "md5_digest": "15b1307b2175033ac033b64f267bd050", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 102376, "upload_time": "2019-03-30T15:28:19", "url": "https://files.pythonhosted.org/packages/ba/44/63b93d5c13b8152d6e648b1036f67d0acff5ba22187bc59f1ddea9a01e7a/python-chess-toc-0.1.1.tar.gz" } ] }