File size: 882 Bytes
a39d8ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a70e49
 
 
a39d8ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a70e49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.backends.legacy:build"

[project]
name            = "nl2sql-bench"
version         = "0.1.0"
description     = "NL2SQL-Bench: Natural Language to SQL Analytics OpenEnv environment for RL training"
readme          = "README.md"
requires-python = ">=3.10"
license         = { text = "MIT" }
dependencies = [
    "openenv-core>=0.2.3",
    "fastapi>=0.110.0",
    "uvicorn[standard]>=0.29.0",
    "pydantic>=2.0.0",
    "openai>=1.0.0",
]

[project.scripts]
server = "server.app:main"

[project.optional-dependencies]
dev = [
    "pytest>=7.0",
    "pytest-asyncio>=0.23",
    "httpx>=0.27",
    "black",
    "ruff",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["nl2sql*", "server*"]

[tool.ruff]
line-length = 100
target-version = "py310"

[tool.pytest.ini_options]
asyncio_mode = "auto"