{ "info": { "author": "Yicheng Luo", "author_email": "ethanluoyc@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "===================\nstatsnba-playbyplay\n===================\n\n.. image:: https://img.shields.io/pypi/v/statsnba-playbyplay.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi?name=statsnba-playbyplay&version=0.1.0&:action=display\n :alt: PyPi Version\n\n.. image:: https://readthedocs.org/projects/statsnba-playbyplay/badge/?version=latest\n :target: http://statsnba-playbyplay.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nNOTE: This project is still pretty much work in progress so it might\nintroduce many breaking changes.\n\n- `Introduction`_\n- `Use the data`_\n- `Benefits of this package`_\n- `Installation`_\n- `TODOs`_\n\nIntroduction\n------------\n\nBasketball analytics using play-by-play data have been an shared\ninterest for many people. However, the lack of processed play-by-play\nhas prohibited such analysis by many.\n\nThis project is intended to provide parsing functionality for the\nplay-by-play data from http://stats.nba.com into more a comprehensive\nformat like that on\n`NBAStuffer `__.\nIt is intended to accompany our research: `Adversarial Synergy Graph\nModel for Predicting Game Outcomes in Human\nBasketball `__.\nto prepare the data. If you are interested in more general statistics or\nplayer information, you should definitely check out\n`py-Goldsberry `__.\n\nWhile there are still limitations with the current parsing strategy, it\ndoes not affect the tabulation of APM and other play-by-play based\nmetrics.\n\nUse the data\n------------\n\nIf you just want to use the data that is processed with the package\nwithout touching it, you can find a copy of the data\n`from S3 `__. Under\n``data/zip/`` you will find the gamelog and game files in JSON format.\nYou may introspect into the JSONs for the fields that are included in\nthem.\n\nBenefits of this package\n------------------------\n\n- The data is obtained directly from http://stats.nba.com, the parsed\n play-by-plays can be verified against the official boxscores.\n\n\nInstallation\n------------\n\nAt the command line\n\n .. code:: shell \n \n $ pip install statsnba-playbyplay\n\n\nTODOs\n-----\n\n- Documentation.\n- Parse subtypes of events. (e.g. when there is a shot, is it a layup\n or jumpshot? the raw data provides different codes for these subtypes\n but I have not yet figured out a way to easily decrypt all of them.)\n- More tests at all levels of the package.\n- A Github Pages website for showcasing the package.\n- Wiki pages on the schema of the parsed data on my S3 bucket.\n- Daily updates of the data feed (cronjob or Lambda function on an EC2\n instance to track the gamelogs daily and make updates on S3?)", "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/ethanluoyc/statsnba-playbyplay", "keywords": "statsnba", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "statsnba-playbyplay", "package_url": "https://pypi.org/project/statsnba-playbyplay/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/statsnba-playbyplay/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ethanluoyc/statsnba-playbyplay" }, "release_url": "https://pypi.org/project/statsnba-playbyplay/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Package for parsing play-by-play data from stats.nba.com", "version": "0.3.0" }, "last_serial": 2840921, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0a870475b025112a21612cbcf6c96f37", "sha256": "528b7c66b448f1ff93107d796711a51bb1b82a014c7cce883121fbb512b003d2" }, "downloads": -1, "filename": "statsnba_playbyplay-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0a870475b025112a21612cbcf6c96f37", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10703, "upload_time": "2016-07-10T15:41:34", "url": "https://files.pythonhosted.org/packages/7a/ae/c318e5df98181bf8c41926bec0ae36ca5555e8cae5a78dbf131232fa5ad0/statsnba_playbyplay-0.1.0-py2-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a77bc6b9472adbb55425c72ca476c2f1", "sha256": "d368d951294c1a9e094056995d8f783427432125e055fef00c779b823a3540e5" }, "downloads": -1, "filename": "statsnba-playbyplay-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a77bc6b9472adbb55425c72ca476c2f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 417161, "upload_time": "2016-08-02T14:54:14", "url": "https://files.pythonhosted.org/packages/0b/a4/d78475b5c1ad2e984208b5bc9a8ab5d91d206c5c8e52045df47ace7e6389/statsnba-playbyplay-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8088251f403b3f5da7a29caf1a283003", "sha256": "d94fd2eb4c9ee444b16c8db36b959e8a4f4d7b307116744ebe197d15c6ad6cc6" }, "downloads": -1, "filename": "statsnba-playbyplay-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8088251f403b3f5da7a29caf1a283003", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 417369, "upload_time": "2016-08-04T16:08:38", "url": "https://files.pythonhosted.org/packages/07/10/9abdf84a6c94bb4e2054ad417e74b3bd26eca8e0acb79511ce3c4e7363fe/statsnba-playbyplay-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0014e5696aa551ad40d931bedfa105bb", "sha256": "a3381d4c6a8f634aff84e1995bdbb2e81b59efb6d1f54082f15ff3bef7b3c927" }, "downloads": -1, "filename": "statsnba-playbyplay-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0014e5696aa551ad40d931bedfa105bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 413215, "upload_time": "2017-04-30T21:10:08", "url": "https://files.pythonhosted.org/packages/5f/bd/d2e0866cd6f627c943a3382d2787aefec1e41788c5e5d68a05e4d4988ed8/statsnba-playbyplay-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0014e5696aa551ad40d931bedfa105bb", "sha256": "a3381d4c6a8f634aff84e1995bdbb2e81b59efb6d1f54082f15ff3bef7b3c927" }, "downloads": -1, "filename": "statsnba-playbyplay-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0014e5696aa551ad40d931bedfa105bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 413215, "upload_time": "2017-04-30T21:10:08", "url": "https://files.pythonhosted.org/packages/5f/bd/d2e0866cd6f627c943a3382d2787aefec1e41788c5e5d68a05e4d4988ed8/statsnba-playbyplay-0.3.0.tar.gz" } ] }