{ "info": { "author": "Grzegorz Wierzchowski", "author_email": "gwierzchowski@wp.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Other Audience", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Topic :: Games/Entertainment :: Board Games" ], "description": "**normalizePGN** is a package containing helper scripts and examples that show how to normalize - i.e. correct \nsome games' meta-data contained in .pgn files before loading them to chess database.\nPGN files that are being published by tournaments' organizers sometimes (especially for large events where\nfew people work on digitalizing games) used to be not consistent. E.g. event name or event place is written \nin slightly different way or there is missing some important information in .pgn files that we want to have - like\ntime control, players ELO or titles, etc. Those scripts help to fix and complete this information quickly \n(faster than just by manually editing .pgn files). \nThe idea is to perform following steps:\n- import games to SQLite database\n- run few SQL queries that check data consistency and things that we care\n- based on results of previous step, write fix SQL expressions (usually the ones from previous tournaments \n are good enough or needs only slight modification)\n- run fix expressions\n- re-check data (using queries from second step)\n- export games back to .pgn file\n- import .pgn file to chess database of your choice (e.g. SCID).\nSo using this package requires some basic SQL knowledge and some initial time investment into getting \nfamiliar how all this works and creating an initial scripts suitable for your specific use cases.\nBut my experience is that tournament organizers tend to replicate the same issues in .pgn files \nfrom one event edition to next. So workout scripts from one edition usually works for all next editions of the \nsame tournament.\n\nProvided examples use POSIX shell and some utilities (like sed), so Linux or Mac users could have good starting point.\nWindows users may need to put more time to rewrite this staff to technologies available in their system or\ntry to use some utilities like cygwin or unix services for windows.\n\nFor information what files are deployed by this package and where see file README.md included in source-ball or \nin typical installation using pip deployed to folder:\n- /usr/local/share/doc/normalizePGN (Linux)\n- C:\\Python35\\doc\\normalizePGN (Windows) or\n- \\AppData\\Local\\Programs\\Python\\Python35-32\\Doc\\normalizePGN", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gwierzchowski/normalizePGN", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "normalizePGN", "package_url": "https://pypi.org/project/normalizePGN/", "platform": "linux", "project_url": "https://pypi.org/project/normalizePGN/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gwierzchowski/normalizePGN" }, "release_url": "https://pypi.org/project/normalizePGN/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Helper scripts to fix PGN meta-data before importing them to Chess DB (like SCID)", "version": "0.1.1" }, "last_serial": 2019430, "releases": { "0.0.1": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "551fe42767ee93339333f67ecd1a8756", "sha256": "196028548d78ffc849cfd14f4a88893a2d9db86ec7d4e613e7c81e51aadddec2" }, "downloads": -1, "filename": "normalizePGN-0.1.0.tar.gz", "has_sig": false, "md5_digest": "551fe42767ee93339333f67ecd1a8756", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 754528, "upload_time": "2016-02-06T17:34:10", "url": "https://files.pythonhosted.org/packages/55/b5/0db834b305c9c8ad30c5457c63e5d87166f2842f0b2943a12b2ed51aa2aa/normalizePGN-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c21c9b6deb3245f01f647ff6d8483729", "sha256": "d21fbc86bc4d50a52020a52f9feae91d1f3409fe41669026732368020450a797" }, "downloads": -1, "filename": "normalizePGN-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c21c9b6deb3245f01f647ff6d8483729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 754515, "upload_time": "2016-03-21T21:03:20", "url": "https://files.pythonhosted.org/packages/a2/cf/32d69ad14a197827e5d90ec0cd3c230dd2c5517331c67eb5c5f1aeea7d0d/normalizePGN-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c21c9b6deb3245f01f647ff6d8483729", "sha256": "d21fbc86bc4d50a52020a52f9feae91d1f3409fe41669026732368020450a797" }, "downloads": -1, "filename": "normalizePGN-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c21c9b6deb3245f01f647ff6d8483729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 754515, "upload_time": "2016-03-21T21:03:20", "url": "https://files.pythonhosted.org/packages/a2/cf/32d69ad14a197827e5d90ec0cd3c230dd2c5517331c67eb5c5f1aeea7d0d/normalizePGN-0.1.1.tar.gz" } ] }