[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "assistant-transport-backend" version = "0.1.0" description = "A simple server implementing the assistant-transport protocol with static responses" authors = [ { name = "assistant-ui Team", email = "team@assistant-ui.com" } ] readme = "README.md" license = "MIT" requires-python = ">=3.10,<4.0" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Scientific/Engineering :: Artificial Intelligence", ] dependencies = [ "fastapi>=0.100.0", "uvicorn[standard]>=0.20.0", "assistant-stream>=0.0.28", "pydantic>=2.0.0", "python-dotenv>=1.0.0", ] [project.optional-dependencies] openai = ["openai>=1.0.0"] anthropic = ["anthropic>=0.18.0"] dev = [ "pytest>=7.0.0", "pytest-asyncio>=0.21.0", "black>=23.0.0", "isort>=5.12.0", "mypy>=1.0.0", "ruff>=0.1.0", ] [project.urls] Homepage = "https://github.com/assistant-ui/assistant-ui" Issues = "https://github.com/assistant-ui/assistant-ui/issues" Documentation = "https://docs.assistant-ui.com" [project.scripts] assistant-transport-backend = "main:main" [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["."] [tool.black] line-length = 100 target-version = ['py310'] [tool.isort] profile = "black" line_length = 100 [tool.mypy] python_version = "3.10" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true [tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] select = ["E", "F", "W", "C", "I"] ignore = ["E501"]