pwenker commited on
Commit
135d824
1 Parent(s): 80ca001

Prepare HF space

Browse files
pyproject.toml CHANGED
@@ -15,7 +15,10 @@ dependencies = [
15
  "tabulate>=0.9.0",
16
  ]
17
  readme = "README.md"
18
- requires-python = ">= 3.8"
 
 
 
19
 
20
  [build-system]
21
  requires = ["hatchling"]
 
15
  "tabulate>=0.9.0",
16
  ]
17
  readme = "README.md"
18
+ requires-python = ">= 3.10"
19
+
20
+ [project.scripts]
21
+ chessli2 = "chessli2.main:app"
22
 
23
  [build-system]
24
  requires = ["hatchling"]
requirements-dev.lock CHANGED
@@ -48,7 +48,6 @@ orjson==3.9.10
48
  packaging==23.2
49
  pandas==2.0.3
50
  pillow==10.2.0
51
- pkgutil-resolve-name==1.3.10
52
  pydantic==2.5.3
53
  pydantic-core==2.14.6
54
  pydantic-settings==2.1.0
@@ -81,4 +80,3 @@ urllib3==2.1.0
81
  uvicorn==0.25.0
82
  websockets==11.0.3
83
  wrapt==1.16.0
84
- zipp==3.18.1
 
48
  packaging==23.2
49
  pandas==2.0.3
50
  pillow==10.2.0
 
51
  pydantic==2.5.3
52
  pydantic-core==2.14.6
53
  pydantic-settings==2.1.0
 
80
  uvicorn==0.25.0
81
  websockets==11.0.3
82
  wrapt==1.16.0
 
requirements.lock CHANGED
@@ -48,7 +48,6 @@ orjson==3.9.10
48
  packaging==23.2
49
  pandas==2.0.3
50
  pillow==10.2.0
51
- pkgutil-resolve-name==1.3.10
52
  pydantic==2.5.3
53
  pydantic-core==2.14.6
54
  pydantic-settings==2.1.0
@@ -81,4 +80,3 @@ urllib3==2.1.0
81
  uvicorn==0.25.0
82
  websockets==11.0.3
83
  wrapt==1.16.0
84
- zipp==3.18.1
 
48
  packaging==23.2
49
  pandas==2.0.3
50
  pillow==10.2.0
 
51
  pydantic==2.5.3
52
  pydantic-core==2.14.6
53
  pydantic-settings==2.1.0
 
80
  uvicorn==0.25.0
81
  websockets==11.0.3
82
  wrapt==1.16.0
 
src/chessli2/games.py CHANGED
@@ -8,7 +8,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
8
 
9
  class Settings(BaseSettings):
10
  model_config = SettingsConfigDict(env_file=".env")
11
- lichess_api_token: str
12
 
13
 
14
  settings = Settings()
 
8
 
9
  class Settings(BaseSettings):
10
  model_config = SettingsConfigDict(env_file=".env")
11
+ lichess_api_token: str = ''
12
 
13
 
14
  settings = Settings()