vinayaknandi05/sql-optimization-openenv
0
1[build-system]2requires = ["setuptools>=68.0", "wheel"]3build-backend = "setuptools.build_meta"4 5[project]6name = "sql-optimization-openenv"7version = "1.0.0"8description = "An OpenEnv-compliant reinforcement learning environment for SQL query optimization"9readme = "README.md"10requires-python = ">=3.9"11authors = [12 {name = "Developer", email = "developer@example.com"}13]14license = {text = "MIT"}15keywords = ["sql", "optimization", "openenv", "reinforcement-learning"]16classifiers = [17 "Development Status :: 4 - Beta",18 "Environment :: Web Environment",19 "Intended Audience :: Developers",20 "License :: OSI Approved :: MIT License",21 "Natural Language :: English",22 "Operating System :: OS Independent",23 "Programming Language :: Python :: 3",24 "Programming Language :: Python :: 3.9",25 "Programming Language :: Python :: 3.10",26 "Programming Language :: Python :: 3.11",27 "Programming Language :: Python :: 3.12",28 "Programming Language :: Python :: 3.13",29 "Topic :: Software Development :: Libraries :: Python Modules",30]31 32dependencies = [33 "fastapi==0.115.5",34 "uvicorn[standard]==0.32.1",35 "pydantic==2.10.3",36 "openai==1.57.0",37 "pyyaml==6.0.2",38 "httpx==0.28.1",39 "openenv-core>=0.2.0",40]41 42[project.optional-dependencies]43dev = [44 "pytest>=9.0.2",45 "pytest-asyncio>=0.24.0",46 "black>=24.0.0",47 "ruff>=0.2.0",48 "mypy>=1.8.0",49]50test = [51 "pytest>=9.0.2",52 "pytest-asyncio>=0.24.0",53 "pytest-cov>=4.1.0",54]55 56[project.scripts]57server = "server.app:main"58sql-optimization-server = "server.app:main"59sql-optimization-api = "server.app:main"60sql-optimization-inference = "inference:entry_point"61 62[project.urls]63Homepage = "https://github.com/vinayakpnandi/sql-optimization-openenv"64Repository = "https://github.com/vinayakpnandi/sql-optimization-openenv.git"65"Bug Tracker" = "https://github.com/vinayakpnandi/sql-optimization-openenv/issues"66Documentation = "https://github.com/vinayakpnandi/sql-optimization-openenv#readme"67 68[tool.setuptools]69packages = ["env", "server"]70 71[tool.black]72line-length = 10073target-version = ["py39", "py310", "py311", "py312", "py313"]74include = '\.pyi?$'75extend-exclude = '''76/(77 # directories78 \.eggs79 | \.git80 | \.hg81 | \.mypy_cache82 | \.tox83 | \.venv84 | build85 | dist86 | __pycache__87)/88'''89 90[tool.ruff]91line-length = 10092target-version = "py39"93select = [94 "E", # pycodestyle errors95 "W", # pycodestyle warnings96 "F", # pyflakes97 "I", # isort98 "C", # flake8-comprehensions99 "B", # flake8-bugbear100]101ignore = [102 "E501", # line too long (handled by black)103 "W503", # line break before binary operator104]105exclude = [106 ".git",107 ".venv",108 "__pycache__",109 "build",110 "dist",111]112 113[tool.mypy]114python_version = "3.9"115warn_return_any = true116warn_unused_configs = true117disallow_untyped_defs = false118disallow_incomplete_defs = false119check_untyped_defs = true120ignore_missing_imports = true121 122[tool.pytest.ini_options]123testpaths = ["tests"]124python_files = ["test_*.py"]125python_classes = ["Test*"]126python_functions = ["test_*"]127addopts = "-v --tb=short"128 129[tool.coverage.run]130source = ["env", "server", "inference.py"]131omit = [132 "*/__init__.py",133 "*/tests/*",134 "setup.py",135]136 137[tool.coverage.report]138exclude_lines = [139 "pragma: no cover",140 "def __repr__",141 "raise AssertionError",142 "raise NotImplementedError",143 "if __name__ == .__main__.:",144 "if TYPE_CHECKING:",145]146 