{ "info": { "author": "Mehtab Zafar", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "# Pgn2gif\n\nCreate GIFs from PGNs\n\n## Usage\n\nRun `./pgn2gif` with the following options:\n\n```\nUsage: pgn2gif [OPTIONS] COMMAND [ARGS]...\n\n Create GIFs from PGNs\n\nOptions:\n -p, --path TEXT path to the pgn file/folder\n -s, --speed FLOAT speed with which pieces move in gif.\n -o, --out TEXT name of the output folder\n -si, --size INTEGER size of the gif\n -c, --color [green|blue|brown] color of chess board\n -g, --game-index INTEGER index of the game for which gif is to be\n made\n --all-games make gif of all the games found in a PGN\n --help Show help screen.\n\nCommands:\n chess_com Get games played on chess.com\n lichess Get games played on lichess\n```\n\nYou can also run `./pgn2gif` without any external options and in that case `./pgn2gif` will run on the following default values:\n\n```\n* path current working directory\n* speed 0.5\n* out folder name `gifs` in current working directory\n* size 480 X 480\n* color Brown\n* game-index 1st\n```\n\n## Examples\n\n* `./pgn2gif`\n\n![alt text](pgn2gif/gifs/sample.gif)\n\n* `./pgn2gif -c blue`\n\n![alt text](pgn2gif/gifs/sample-1.gif)\n\n* `./pgn2gif -c green`\n\n![alt text](pgn2gif/gifs/sample-2.gif)\n\n* `./pgn2gif -p /home/mzfr/dev/mzfr.pgn`\n\n![alt text](pgn2gif/gifs/mzfr.gif)\n\n* `./pgn2gif -p /home/mzfr/dev/mzfr-1.pgn -s 0.2`\n\n![alt text](pgn2gif/gifs/mzfr-1.gif)\n\n* `./pgn2gif -si 600 -s 0.1`\n\n![alt text](pgn2gif/gifs/sample-4.gif)\n\n* `./pgn2gif -si 680`\n\n![alt text](pgn2gif/gifs/sample-3.gif)\n\n\n## Installation\n\n* You'll need Python3.\n\n* Clone the repository\n\n```\ngit clone https://github.com/mzfr/pgn2gif\n```\n\n* Run `pip install -r requirements.txt`\n\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/mzfr/pgn2gif", "keywords": "pgn gifs", "license": "", "maintainer": "", "maintainer_email": "", "name": "pgn2gif", "package_url": "https://pypi.org/project/pgn2gif/", "platform": "", "project_url": "https://pypi.org/project/pgn2gif/", "project_urls": { "Homepage": "https://github.com/mzfr/pgn2gif" }, "release_url": "https://pypi.org/project/pgn2gif/1.0/", "requires_dist": [ "imageio", "cairosvg", "requests", "python-chess", "click" ], "requires_python": "", "summary": "Creates GIFs from PGNs", "version": "1.0" }, "last_serial": 4105596, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "92debba16be2949b09c1c117443d1b35", "sha256": "04b10c1dc4512e3e2a68d29183a12347f27d90704415aacbffe0f82c22e47d05" }, "downloads": -1, "filename": "pgn2gif-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "92debba16be2949b09c1c117443d1b35", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5461, "upload_time": "2018-07-26T17:38:35", "url": "https://files.pythonhosted.org/packages/93/56/cf0bfa58004d475602bfc3c9457a13ccd12c9cebc31e70e1d9a73d5a36c3/pgn2gif-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4442533f016e470e2fe40b25782a3638", "sha256": "dc826905d995f2267054d73b49a46a8e8bb1344865964c25adad4f77dd5155ed" }, "downloads": -1, "filename": "pgn2gif-1.0.tar.gz", "has_sig": false, "md5_digest": "4442533f016e470e2fe40b25782a3638", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2018-07-26T17:38:36", "url": "https://files.pythonhosted.org/packages/3f/d4/1a7a053e4d0f3f491ce3ae8bc9c698396b7233d0d589a418c0aa2fc38b95/pgn2gif-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92debba16be2949b09c1c117443d1b35", "sha256": "04b10c1dc4512e3e2a68d29183a12347f27d90704415aacbffe0f82c22e47d05" }, "downloads": -1, "filename": "pgn2gif-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "92debba16be2949b09c1c117443d1b35", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5461, "upload_time": "2018-07-26T17:38:35", "url": "https://files.pythonhosted.org/packages/93/56/cf0bfa58004d475602bfc3c9457a13ccd12c9cebc31e70e1d9a73d5a36c3/pgn2gif-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4442533f016e470e2fe40b25782a3638", "sha256": "dc826905d995f2267054d73b49a46a8e8bb1344865964c25adad4f77dd5155ed" }, "downloads": -1, "filename": "pgn2gif-1.0.tar.gz", "has_sig": false, "md5_digest": "4442533f016e470e2fe40b25782a3638", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2018-07-26T17:38:36", "url": "https://files.pythonhosted.org/packages/3f/d4/1a7a053e4d0f3f491ce3ae8bc9c698396b7233d0d589a418c0aa2fc38b95/pgn2gif-1.0.tar.gz" } ] }