{ "info": { "author": "Sunsick Choo", "author_email": "sunsick_choo@naver.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "\n# kbodatatools\n\n\uc774 \ud328\ud0a4\uc9c0\ub294 KBO\uc758 \uacbd\uae30 \uc790\ub8cc\ub97c \uc218\uc9d1\ud558\uace0 \uac04\ub2e8\ud55c \ubd84\uc11d \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \n\n## \uc124\uce58\n\n\uc0ac\uc6a9\ud558\uc2dc\ub294 os\uc5d0 \ub530\ub77c cmd\ub098 \ud130\ubbf8\ub110\uc5d0\uc11c pip\ub97c \ud1b5\ud574 \ud328\ud0a4\uc9c0\ub97c \uc778\uc2a4\ud1a8 \ud574\uc90d\ub2c8\ub2e4. \uc774 \ud328\ud0a4\uc9c0\ub294 \ud30c\uc774\uc36c 3.6 \ubc84\uc804 \uc774\uc0c1\uc758 \ud658\uacbd\uc5d0\uc11c \uc0ac\uc6a9\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.\n\n### \ud328\ud0a4\uc9c0 \uc778\uc2a4\ud1a8\n\n```bach\npip3 install kbodatatools\n```\n\n### \ud328\ud0a4\uc9c0 \uc784\ud3ec\ud2b8\n\n```python\nimport kbodatatools\n```\n\n## \uc0ac\uc6a9\ubc95\n\n### \uc804\uccb4(2010 ~ 2019\ub144 10\uc6d4\uae4c\uc9c0) \uac8c\uc784 \uc790\ub8cc\ub97c \ubc1b\uc544\uc624\ub294 \ubc29\ubc95\n\n\uc704\uc758 \ubc29\ubc95\uc744 \ud1b5\ud574 \uac00\uc0c1\ud658\uacbd\uc774 \ud65c\uc131\ud654\ub418\uba74 \uac00\uc0c1\ud658\uacbd\uc5d0\uc11c \uc544\ub798\uc758 \uc21c\uc11c\ub300\ub85c \ud30c\uc774\uc36c \uc2a4\ud06c\ub9bd\ud2b8 \ud30c\uc77c\uc744 \uc2e4\ud589\ud558\uba74 \uc804\uccb4 \uac8c\uc784 \uc790\ub8cc\ub97c \ubc1b\uc544\uc62c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ucc38\uace0\ub85c \uc804\uccb4 \uc790\ub8cc\ub97c \ub2e4\uc6b4 \ubc1b\ub294 \uacfc\uc815\uc5d0\ub294 \uc57d 3\uc2dc\uac04 \uc774\uc0c1\uc758 \uc2dc\uac04\uc774 \uc18c\uc694\ub429\ub2c8\ub2e4. \uc544\ub798\uc758 \uacfc\uc815\uc744 \ub05d \ub9c8\uce58\uba74 sample \ud3f4\ub354\uc5d0\uc11c 2010~2019\ub144 8\uc6d4\uae4c\uc9c0\uc758 \uc2a4\ucf54\uc5b4 \ubcf4\ub4dc\uc640 \ud0c0\uc790\uc640 \ud22c\uc218 \ub370\uc774\ud130, \uae30\ud0c0 \uc815\ubcf4\uac00 \uc788\ub294 json \ud30c\uc77c\uacfc \ud0c0\uc790, \ud22c\uc218 \ub370\uc774\ud130 \uadf8\ub9ac\uace0 \uacbd\uae30 \uc815\ubcf4\uc5d0 \ub300\ud55c \ub370\uc774\ud130\uac00 csv \ud30c\uc77c\ub85c \uc0dd\uc131\ub429\ub2c8\ub2e4.\n\n```python\n\n\n```\n\n### \ubd84\uc11d \ubaa8\ub4c8 \uc0ac\uc6a9 \ubc29\ubc95\n\n\uc804\uccb4 \uc790\ub8cc\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uba74 \uc120\uc218\ub4e4\uc758 \uac04\ub2e8\ud55c \ud0c0\uaca9, \ud22c\uad6c \uae30\ub85d\uc744 \ud655\uc778\ud574 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacc4\uc0b0 \uac00\ub2a5\ud55c \uae30\ub85d\ub4e4\uc758 \ubaa9\ub85d\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \ud0c0\uaca9 \uae30\ub85d: \ud0c0\uc728, \ud0c0\uc810, \ub4dd\uc810, \uc548\ud0c0, 1\ub8e8\ud0c0, 2\ub8e8\ud0c0, 3\ub8e8\ud0c0, \ud648\ub7f0, \ubcfc\ub137(4\uad6c), \ubab8\uc5d0\ub9de\ub294\uacf5, \uace0\uc7584\uad6c, \ubcd1\uc0b4, \ucd9c\ub8e8\uc728, \uc7a5\ud0c0\uc728, \ud76c\uc0dd\ud50c\ub77c\uc774, \ud76c\uc0dd\ubc88\ud2b8, \ud53c\uc0bc\uc9c4\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ud22c\uad6c \uae30\ub85d: \ubc29\uc5b4\uc728, \ud22c\uad6c\uc218, \ud0c0\uc790\uc218, \ud640\ub4dc, \uc138\uc774\ube0c, \ud53c\uc548\ud0c0, \uc0bc\uc9c4, \ud53c\ud648\ub7f0, 4\uc0ac\uad6c, \uc790\ucc45\uc810, \uc2b9\ub960, \uc774\ub2dd, \uc774\ub2dd\ub2f9\ud22c\uad6c\uc218, \uc2b9\ub9ac, \ud328\ubc30, \ubb34\uc2b9\ubd80\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae30\ub85d\ub4e4\uc740 \uc544\ub798\uc640 \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\uc5d0\uc11c\uc640 \uac19\uc774 \uc5f0\ub3c4\ubcc4\u00a0\ud639\uc740\u00a0\uc6d4\ubcc4\u00a0\uae30\ub85d\uc73c\ub85c\ub3c4\u00a0\ud655\uc778\ud560\u00a0\uc218\u00a0\uc788\uc2b5\ub2c8\ub2e4.\n\n```python3\nimport\u00a0basic_analysis\n\nbasic_analysis.get_player_record(name=\"\uc774\ubcd1\uaddc\",record=\"\ud0c0\uc728\")\nbasic_analysis.get_player_record(name=\"\ud5c8\uc900\ud601\",record=\"\ubc29\uc5b4\uc728\")\nbasic_analysis.get_player_record(name=\"\uae40\ud604\uc218\",record=\"\ucd9c\ub8e8\uc728\",year=2019)\nbasic_analysis.get_player_record(name=\"\uae40\uad11\ud604\",record=\"\ubc29\uc5b4\uc728\",year=2019)\nbasic_analysis.get_player_record(name=\"\uae40\ud604\uc218\",record=\"\ucd9c\ub8e8\uc728\",year=2019,month=6)\nbasic_analysis.get_player_record(name=\"\uae40\uad11\ud604\",record=\"\ubc29\uc5b4\uc728\",year=2019,month=6)\n```\n\n\ucc38\uace0\ub85c 2019\ub144 \ud78c\ud654\uc758 \uc9c0\uc131\uc900 \uc120\uc218\uc640 \uc7a5\uc9c4\ud601 \uc120\uc218\uc758 \uacbd\uc6b0 KBO\uc758 \ub9ac\ubdf0 \ud398\uc774\uc9c0 \uc0c1\uc73c\ub85c 3\ubc88\uc9f8 \ud0c0\uc11d\uc758 \uae30\ub85d\uc774 \ub098\uc640\uc788\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ud0c0\uaca9 \uae30\ub85d\uc758 \uacc4\uc0b0\uc774 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n\n### data \ud3f4\ub354\uc758 \uae30\ucd08 \uc790\ub8cc \uc18c\uac1c\n\ndata \ud3f4\ub354\uc5d0\ub294 \uc120\uc218 id\ub97c \uad6c\uc131\ud558\ub294\ub370 \ud544\uc694\ud55c \ub370\uc774\ud130\ub4e4\uacfc \uc790\ub8cc \uc218\uc9d1\ud558\uace0 \uad6c\uc131\ud558\uae30 \uc704\ud55c \ub370\uc774\ud130\ub4e4\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uadf8 \uc678\uc5d0 patch_file\uc774\ub77c\ub294 \ud3f4\ub354\uc5d0\ub294 \uc774\ubcd1\uaddc, \ud5c8\uc900\ud601, \uc774\uc2b9\ud638 \uc120\uc218\uc758 id \uad6c\ubd84\uc744 \uc704\ud55c \ub370\uc774\ud130\ub4e4\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ub370\uc774\ud130\ub4e4\uc740 \uc774\ud6c4 patch.py \ud30c\uc77c\uc5d0\uc11c \uc0ac\uc6a9\ud558\uac8c \ub429\ub2c8\ub2e4. record_list.csv \ud30c\uc77c\uc740 \ubd84\uc11d \ud568\uc218\uc5d0\uc11c \uacc4\uc0b0\ud560 \uc218 \uc788\ub294 \uae30\ub85d\ub4e4\uc744 \ubaa8\uc544\ub193\uc740 \ub370\uc774\ud130 \uc785\ub2c8\ub2e4. \uc774 \ub370\uc774\ud130 \ud30c\uc77c\uc740 \ud568\uc218 \uc0ac\uc6a9\uc2dc \ucc38\uace0\uc6a9\uc73c\ub85c\ub9cc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. sample \ud3f4\ub354\ub294 \uc774\ud6c4 \uacbd\uae30 \uc790\ub8cc\ub97c \uc218\uc9d1\ud558\ub294 \ucf54\ub4dc\ub97c \uc2e4\ud589\uc2dc\ud0a4\uba74 \uadf8 \uacb0\uacfc\uac00 \uc800\uc7a5\ub418\ub294 \ud3f4\ub354\uc785\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774 \ud3f4\ub354\ub97c \uc9c0\uc6b0\uac8c \ub420 \uacbd\uc6b0 \ucf54\ub4dc \uc2e4\ud589\uc2dc \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.\n\n### \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589\uc73c\ub85c \uc0dd\uc131\ub418\ub294 \uc790\ub8cc \uc18c\uac1c\n\n\uc804\uccb4 \uac8c\uc784\uc758 \ub9ac\ubdf0 \ub370\uc774\ud130\ub294 all_data.json \ud30c\uc77c\ub85c \uc800\uc7a5\ub429\ub2c8\ub2e4. \uc774 json \ud30c\uc77c\uc744 \uc774\uc6a9\ud574 2010\ub144\uc5d0\uc11c 2019\ub144 8\uc6d4\uae4c\uc9c0\uc758 \ud0c0\uc790(KBO_batter_data_full.csv)\uc640 \ud22c\uc218(KBO_pitcher_data_full.csv)\uc758 \uacbd\uae30 \uae30\ub85d \ub370\uc774\ud130\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4. \uc774\ub807\uac8c \uc0dd\uc131\ub41c \ud0c0\uc790\uc640 \ud22c\uc218 \ub370\uc774\ud130\ub294 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc2e4\ud589\ud558\uc5ec id\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4. \uc774\ub807\uac8c \uc0dd\uc131\ub41c \ub370\uc774\ud130\ub97c \uc774\uc6a9\ud574 \uc120\uc218\ub4e4\uc758 \uac04\ub2e8\ud55c \uae30\ub85d\uc744 \ube44\uad50 \ubd84\uc11d\ud574 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacbd\uae30 \uc815\ubcf4 \ub370\uc774\ud130(KBO_game_info_data.csv)\ub294 2010\ub144\uc5d0\uc11c 2019\ub144 8\uc6d4 \uae4c\uc9c0 \uc2b9\ud328\uc640 \uac19\uc740 \uacb0\uacfc\uc640 \uc2ec\ud310, \uad6c\uc7a5 \ub4f1\uc758 \uacbd\uae30 \uc815\ubcf4\uac00 \uc800\uc7a5\ub429\ub2c8\ub2e4.\n\n### \ucc38\uace0 \ub9c1\ud06c\n\n- [Parsing JavaScript rendered pages in Python with pyppeteer | Tchut-Tchut Blog](https://beenje.github.io/blog/posts/parsing-javascript-rendered-pages-in-python-with-pyppeteer/)\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/LOPES-HUFS/kbodatatools", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kbodatatools", "package_url": "https://pypi.org/project/kbodatatools/", "platform": "", "project_url": "https://pypi.org/project/kbodatatools/", "project_urls": { "Homepage": "https://github.com/LOPES-HUFS/kbodatatools" }, "release_url": "https://pypi.org/project/kbodatatools/0.0.1/", "requires_dist": [ "pandas", "requests-html", "bs4", "tables", "datetime" ], "requires_python": ">=3.6.0", "summary": "KBO data wrangling & analysis tools", "version": "0.0.1", "yanked": false, "yanked_reason": null }, "last_serial": 6422501, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1e39df55839c9c380016df6835aefbc6", "sha256": "44f380f3ae61cb8d4976390db5b1ca8c9ea66eb157525f21bb943c6414c5a085" }, "downloads": -1, "filename": "kbodatatools-0.0.32-py3-none-any.whl", "has_sig": false, "md5_digest": "1e39df55839c9c380016df6835aefbc6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865808, "upload_time": "2020-01-09T14:14:17", "upload_time_iso_8601": "2020-01-09T14:14:17.245484Z", "url": "https://files.pythonhosted.org/packages/7f/a3/496148c90571c19222d9d86a7025caf863a5bcbfe6e923cdcb3b9eac52af/kbodatatools-0.0.32-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "eb6640fda43c36dad0e2912e7c329989", "sha256": "c15966b445da4747115ff463f3243d55e2d5827a5d749b0d9c7dd96cd44bc6da" }, "downloads": -1, "filename": "kbodatatools-0.0.33-py3-none-any.whl", "has_sig": false, "md5_digest": "eb6640fda43c36dad0e2912e7c329989", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865813, "upload_time": "2020-01-09T14:23:07", "upload_time_iso_8601": "2020-01-09T14:23:07.734440Z", "url": "https://files.pythonhosted.org/packages/80/b6/f3015a90015c509afd19dedc3fef148627a38d519f43f305f825ec518381/kbodatatools-0.0.33-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "182e1c14690f9998e8433c03436e6f2a", "sha256": "b979158e01fc904b98ec620e9e93254ddb37446b482edda34eeafdfff01b818f" }, "downloads": -1, "filename": "kbodatatools-0.0.34-py3-none-any.whl", "has_sig": false, "md5_digest": "182e1c14690f9998e8433c03436e6f2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865839, "upload_time": "2020-01-09T14:31:26", "upload_time_iso_8601": "2020-01-09T14:31:26.733497Z", "url": "https://files.pythonhosted.org/packages/a3/c1/06537517ff48a875fd4ed990d4af64d29a9d77109cb2a3e11c3d020299b2/kbodatatools-0.0.34-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "2622cf0a66fb5d11c3d91d7c42c970a0", "sha256": "7a494d06fa6ed1a473aa9b67a51679431ebe68eccc48870983477abeee217dd7" }, "downloads": -1, "filename": "kbodatatools-0.0.35-py3-none-any.whl", "has_sig": false, "md5_digest": "2622cf0a66fb5d11c3d91d7c42c970a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865839, "upload_time": "2020-01-09T14:33:40", "upload_time_iso_8601": "2020-01-09T14:33:40.887494Z", "url": "https://files.pythonhosted.org/packages/ca/be/04e07cbb3f01c32ce6f2d2bd5a736960dc3f85142131fe592484d53a4849/kbodatatools-0.0.35-py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e39df55839c9c380016df6835aefbc6", "sha256": "44f380f3ae61cb8d4976390db5b1ca8c9ea66eb157525f21bb943c6414c5a085" }, "downloads": -1, "filename": "kbodatatools-0.0.32-py3-none-any.whl", "has_sig": false, "md5_digest": "1e39df55839c9c380016df6835aefbc6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865808, "upload_time": "2020-01-09T14:14:17", "upload_time_iso_8601": "2020-01-09T14:14:17.245484Z", "url": "https://files.pythonhosted.org/packages/7f/a3/496148c90571c19222d9d86a7025caf863a5bcbfe6e923cdcb3b9eac52af/kbodatatools-0.0.32-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "eb6640fda43c36dad0e2912e7c329989", "sha256": "c15966b445da4747115ff463f3243d55e2d5827a5d749b0d9c7dd96cd44bc6da" }, "downloads": -1, "filename": "kbodatatools-0.0.33-py3-none-any.whl", "has_sig": false, "md5_digest": "eb6640fda43c36dad0e2912e7c329989", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865813, "upload_time": "2020-01-09T14:23:07", "upload_time_iso_8601": "2020-01-09T14:23:07.734440Z", "url": "https://files.pythonhosted.org/packages/80/b6/f3015a90015c509afd19dedc3fef148627a38d519f43f305f825ec518381/kbodatatools-0.0.33-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "182e1c14690f9998e8433c03436e6f2a", "sha256": "b979158e01fc904b98ec620e9e93254ddb37446b482edda34eeafdfff01b818f" }, "downloads": -1, "filename": "kbodatatools-0.0.34-py3-none-any.whl", "has_sig": false, "md5_digest": "182e1c14690f9998e8433c03436e6f2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865839, "upload_time": "2020-01-09T14:31:26", "upload_time_iso_8601": "2020-01-09T14:31:26.733497Z", "url": "https://files.pythonhosted.org/packages/a3/c1/06537517ff48a875fd4ed990d4af64d29a9d77109cb2a3e11c3d020299b2/kbodatatools-0.0.34-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "2622cf0a66fb5d11c3d91d7c42c970a0", "sha256": "7a494d06fa6ed1a473aa9b67a51679431ebe68eccc48870983477abeee217dd7" }, "downloads": -1, "filename": "kbodatatools-0.0.35-py3-none-any.whl", "has_sig": false, "md5_digest": "2622cf0a66fb5d11c3d91d7c42c970a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 2865839, "upload_time": "2020-01-09T14:33:40", "upload_time_iso_8601": "2020-01-09T14:33:40.887494Z", "url": "https://files.pythonhosted.org/packages/ca/be/04e07cbb3f01c32ce6f2d2bd5a736960dc3f85142131fe592484d53a4849/kbodatatools-0.0.35-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }