{"id":18841833,"url":"https://github.com/jacoblee23/sabrmetrics","last_synced_at":"2025-04-14T07:31:21.397Z","repository":{"id":52014654,"uuid":"520729382","full_name":"JacobLee23/SABRmetrics","owner":"JacobLee23","description":"A library of web-scraping software for popular SABRmetrics websites.","archived":false,"fork":false,"pushed_at":"2023-09-05T21:59:25.000Z","size":155,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T21:12:34.712Z","etag":null,"topics":["baseball","baseball-statistics","mlb","python","python3","sabermetrics","sabrmetrics","web-scraper"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/SABRmetrics","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JacobLee23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-03T03:50:09.000Z","updated_at":"2023-12-18T06:01:57.000Z","dependencies_parsed_at":"2024-11-08T02:52:54.380Z","dependency_job_id":"f7c0a697-5583-41ae-bc7a-88e042d4bb67","html_url":"https://github.com/JacobLee23/SABRmetrics","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLee23%2FSABRmetrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLee23%2FSABRmetrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLee23%2FSABRmetrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLee23%2FSABRmetrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JacobLee23","download_url":"https://codeload.github.com/JacobLee23/SABRmetrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248839354,"owners_count":21169798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["baseball","baseball-statistics","mlb","python","python3","sabermetrics","sabrmetrics","web-scraper"],"created_at":"2024-11-08T02:52:45.398Z","updated_at":"2025-04-14T07:31:18.604Z","avatar_url":"https://github.com/JacobLee23.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SABRmetrics\n\n\u003cdiv\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/JacobLee23/SABRmetrics\" alt=\"LICENSE\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/pyversions/SABRmetrics\" alt=\"PyPI - Python Version\"\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/blob/master/Pipfile\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/pipenv/locked/python-version/JacobLee23/SABRmetrics\" alt=\"GitHub Pipenv locked Python version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/sabrmetrics/\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/sabrmetrics\" alt=\"PyPI\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/releases/latest\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/JacobLee23/SABRmetrics\" alt=\"GitHub release (latest SemVer)\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/tags\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/tag/JacobLee23/SABRmetrics\" alt=\"GitHub tag (latest SemVer)\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/code-size/JacobLee23/SABRmetrics\" alt=\"GitHub code size in bytes\"\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/find/master\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/directory-file-count/JacobLee23/SABRmetrics\" alt=\"GitHub repo file count\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/repo-size/JacobLee23/SABRmetrics\" alt=\"GitHub repo size\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/commit-activity/m/JacobLee23/SABRmetrics\" alt=\"Commit Activity (Month)\"\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/commits/master\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/JacobLee23/SABRmetrics\" alt=\"Last Commit\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/issues\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-raw/JacobLee23/SABRmetrics\" alt=\"GitHub issues\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/issues?q=is%3Aissue+is%3Aclosed\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-closed-raw/JacobLee23/SABRmetrics\" alt=\"GitHub closed issues\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/pulls\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr-raw/JacobLee23/SABRmetrics\" alt=\"GitHub pull requests\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/JacobLee23/SABRmetrics/pulls?q=is%3Apr+is%3Aclosed\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr-closed-raw/JacobLee23/SABRmetrics\" alt=\"GitHub closed pull requests\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n***\n\n## Background\n\nAn open-source library of web-scraping software for popular SABRmetrics websites. \n\n\u003e Sabermetrics (or originally as SABRmetrics) is the empirical analysis of baseball, especially baseball statistics that measure in-game activity. \n\n-- [Wikipedia](https://en.wikipedia.org/wiki/Sabermetrics)\n\n\u003e sabermetrics, the statistical analysis of baseball data. Sabermetrics aims to quantify baseball players’ performances based on objective statistical measurements, especially in opposition to many of the established statistics (such as, for example, runs batted in and pitching wins) that give less accurate approximations of individual efficacy.\n\n-- [Britannica](https://www.britannica.com/sports/sabermetrics)\n\n***\n\n## Primary Features\n\n- Easy scraping of various Internet Player ID databases\n\n## Installation\n\nFrom PyPI:\n\n```cmd\npython -m pip install sabrmetrics\n```\n\nDirectly from GitHub:\n\n```cmd\npython -m pip install -e git+https://github.com/JacobLee23/SABRmetrics.git#egg=sabrmetrics\n```\n\n## Requirements\n\nThis project requires Python 3.6+.\n\n*Note: Some of the packages listed in the project Pipfile under `dev-packages` are not compatible with Python 3.6.\nThis includes `pytest`, so project tests cannot be run using Python 3.6.\nHowever, all primary dependencies (under `default`) are compatible with Python 3.6, so Python 3.6 supports most normal functionality.*\n\n## Dependencies\n\n- [`beautifulsoup4`](https://pypi.org/project/beautifulsoup4/) ([Documentation](https://www.crummy.com/software/BeautifulSoup/bs4/doc/))\n- [`lxml`](https://pypi.org/project/lxml/) ([Documentation](https://lxml.de/))\n- [`numpy`](https://pypi.org/project/numpy/) ([Documentation](https://numpy.org/doc/))\n- [`pandas`](https://pypi.org/project/pandas/) ([Documentation](https://pandas.pydata.org/pandas-docs/stable/))\n- [`python-dateutil`](https://pypi.org/project/python-dateutil/) ([Documentation](https://dateutil.readthedocs.io/))\n- [`requests`](https://pypi.org/project/requests/) ([Documentation](https://requests.readthedocs.io/))\n\nThis project uses [`pipenv`](https://pypi.org/project/pipenv/) ([Documentation](https://pipenv.pypa.io/en/latest/)) for virtual environment dependency management.\nSee the [Pipfile](https://github.com/JacobLee23/SABRmetrics/blob/master/Pipfile) to see a full list of package dependencies, including development dependencies.\n\n## Testing\n\nThe tests for this project are written using [`pytest`](https://pypi.org/project/pytest) ([Documentation](https://docs.pytest.org/)).\nTo run the project tests, run:\n\n```cmd\npytest sabrmetrics/tests/\n```\n\nThe `pipenv` command script shorthand defined in the project [Pipfile][Pipfile] can also be used to run the project tests; run:\n\n```cmd\npipenv pytest\n```\n\nAnother `pipenv` command script shorthand is defined in the project [Pipfile][Pipfile] can be used to output an HTML test report, using [`pytest-html`](https://pypi.org/project/pytest-html) ([Documentation](https://pytest-html.readthedocs.io/)); run:\n\n```cmd\npipenv pytest-html\n```\n\n## License\n\nThis project is license under the [MIT License][LICENSE].\n\n## Documentation\n\n[![Documentation Status](https://readthedocs.org/projects/sabrmetrics/badge/?version=latest)][Documentation]\n\nThe documentation for this project is hosted by [Read the Docs](https://readthedocs.org/): [Official Documentation][Documentation]\n\n\n[Documentation]: https://sabrmetrics.readthedocs.io/en/latest/\n[LICENSE]: https://github.com/JacobLee23/SABRmetrics/blob/master/LICENSE\n[Pipfile]: https://github.com/JacobLee23/SABRmetrics/blob/master/Pipfile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblee23%2Fsabrmetrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblee23%2Fsabrmetrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblee23%2Fsabrmetrics/lists"}