FantasyBaseballTrends-0.1.2
توضیحات
Library that helps you search for baseball players stats and trends in order to help with fantasy lineup construction
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | FantasyBaseballTrends-0.1.2 |
| نام | FantasyBaseballTrends |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Carlos Gonzalez-Romero <cmg2249@columbia.edu> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/FantasyBaseballTrends/ |
| مجوز | - |
# FantasyBaseballTrends
[](https://github.com/Cargo1284/FantasyBaseballTrends/actions?query=workflow%3A%22Build+Status%22)
[](https://app.codecov.io/gh/Cargo1284/FantasyBaseballTrends)


[](https://pypi.org/project/FantasyBaseballTrends/)
[](https://cargo1284.github.io/FantasyBaseballTrends/)
[](https://fantasybaseballtrends.readthedocs.io/en/latest)
## Overview
This library scrapes specific hitter stats from BaseballReference.
The purpose of this library is to provide fantasy owners a chance to see how the players in their lineup have been performing over a number of games and how they perform against a certain pitcher. This will help facilitate their daily lineup constuction and to see which players on the wire are having a hot streak as well as players that have been trending downwards.
## Instalation
To install, run the following:
```
pip install FantasyBaseballTrends
```
## Usage
### Projected Stats
This function will return a specific hitters projected offensive stats for the 2023 season.
```
get2023Projected(browser, player)
```
### Last Game Stats
This function will return all of offensive stats of a players most recent game.
```
getLastGame(browser, player)
```
### Current stats vs RHP
This function will return a players current season hitting stats against right handed pitchers.
```
getVsRhpCurrent(browser, player)
```
### Current stats vs LHP
This function will return a players current season hitting stats against left handed pitchers.
```
getVsLhpCurrent(browser, player)
```
### Career Splits
This function will return a hitter's carrer splits. The returning data frame is split up by the opposing pitchers handedness and if they are a starter or not.
```
getCareerSplits(browser, player)
```
### Stats over number of games
This funciton will return a hitter's stats over a user specified number of games.
```
getLastxGames(browser, player, gamesNum)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl FantasyBaseballTrends-0.1.2:
pip install FantasyBaseballTrends-0.1.2.whl
نصب پکیج tar.gz FantasyBaseballTrends-0.1.2:
pip install FantasyBaseballTrends-0.1.2.tar.gz