-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (68 loc) · 2.09 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "thither"
version = "0.1.0"
description = "问津 · Thither - a travel planning agent that is honest about what it does not know"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
authors = [{ name = "Haoyu Wang", email = "haoyu.uestc@gmail.com" }]
keywords = ["travel", "agent", "llm", "planning", "fastapi", "pydantic"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.11",
"pydantic-settings>=2.6",
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"sqlalchemy>=2.0.36",
"aiosqlite>=0.20",
"alembic>=1.14",
"openai>=1.60",
# Windows ships no timezone database; zoneinfo needs this.
"tzdata",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"httpx>=0.28",
"ruff",
]
postgres = [
"asyncpg>=0.30",
"psycopg[binary]>=3.2",
]
[project.urls]
Homepage = "https://github.com/wanghaoyu0408/thither"
Repository = "https://github.com/wanghaoyu0408/thither"
Issues = "https://github.com/wanghaoyu0408/thither/issues"
"Design invariants" = "https://github.com/wanghaoyu0408/thither/blob/main/INVARIANTS.md"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
filterwarnings = ["error::DeprecationWarning:app.*"]
markers = [
"live: hits real provider APIs; needs GOOGLE_MAPS_API_KEY and costs quota",
]
# Live tests are opt-in: run them with `-m live --override-ini addopts=`.
addopts = "-m 'not live'"
[tool.ruff]
line-length = 100
target-version = "py312"
# Alembic writes these; they are a schema snapshot, not hand-maintained code.
extend-exclude = ["migrations/versions"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]