Skip to content

Commit 8799ff6

Browse files
committed
Change from traditional venv to UV
1 parent e3c351a commit 8799ff6

File tree

4 files changed

+298
-17
lines changed

4 files changed

+298
-17
lines changed

fantasy_stats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pandas as pd
44
from pandas.core.frame import DataFrame
5-
from numpy import NaN
5+
from numpy import nan
66
from espn_api.football import League
77
import requests
88
from natsort import natsort_keygen
@@ -135,7 +135,7 @@ def _get_games(self):
135135
game_stats.append(game.away_lineup)
136136

137137
if game.home_score == 0 and game.away_score == 0:
138-
game_stats.append(NaN)
138+
game_stats.append(nan)
139139
else:
140140
game_stats.append(abs(game.home_score - game.away_score))
141141

pyproject.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[project]
2+
name = "fantasystats"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = [
8+
"espn-api>=0.40.1",
9+
"jinja2>=3.1.4",
10+
"natsort>=8.4.0",
11+
"numpy>=2.1.1",
12+
"pandas>=2.2.3",
13+
]

requirements.txt

-15
This file was deleted.

0 commit comments

Comments
 (0)