Metadata-Version: 2.1
Name: nfl-scraper
Version: 1.0.1
Summary: Creating a scraper for multiple fantasy football sites
Home-page: https://github.com/DeadlyChambers/fantasy-scraper
License: MIT
Keywords: nfl,nfl_scraper,fantasy,football,myfantasy
Author: DeadlyChambers
Author-email: shanechambers85@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: html5lib (>=1.1,<2.0)
Requires-Dist: importlib-metadata (>=4.4,<5.0); python_version < "3.10"
Requires-Dist: jsonpickle (>=2.2.0,<3.0.0)
Requires-Dist: prompt-toolkit (>=3.0.30,<4.0.0)
Requires-Dist: requests (>=2.28.1,<3.0.0)
Requires-Dist: selenium (>=4.3.0,<5.0.0)
Project-URL: Repository, https://github.com/DeadlyChambers/fantasy-scraper
Description-Content-Type: text/markdown

# fantasy-scraper
Trying to scrape all data from our fantasy league with NFL.com. Since we are moving to Sleeper. It might end up include myfantasyleague as well


## Pipenv and Poetry

Setup

```bash
curl -sSL https://instcurl -sSL https://install.python-poetry.org | python3 -
pipenv install --python=/usr/loca/bin/python3.10
pipenv shell
poetry completions bash >> ~/.bash_completion
#export PIP_PYTHON_PATH="$VIRTUAL_ENV/bin/python3"
poetry new nfl_scraper
poetry new nfl_scraper
#pipenv install --index=pip
#pipenv install --index=distutils
poetry add requests
poetry add html5lib
poetry add bs4


#pip uninstall -y setuptools
#exit
#deactivate 
```

## Running as Non Dev

```shell
poetry install --without dev --sync
poetry run python -V
# Help
poetry run python main.py -h 
# Sub out the params
poetry run python main.py -e <email> -p <password> -i <id> -n <name>
# Test need to beef these up
poetry run pytest
```

## Running as Dev

```shell
poetry check
poetry build
#poetry update #gets latest package version

```

## Running in CICD

```shell
poetry check
# output version
poetry version -s

poetry version major|minor|patch --dry-run
```

