-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (120 loc) · 3.3 KB
/
pyproject.toml
File metadata and controls
136 lines (120 loc) · 3.3 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[project]
name = "queryweaver"
version = "0.2.0"
description = "Text2SQL tool that transforms natural language into SQL using graph-powered schema understanding"
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.12"
authors = [
{ name = "FalkorDB", email = "support@falkordb.com" }
]
keywords = ["text2sql", "sql", "nlp", "llm", "database", "falkordb"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
# Core dependencies required for SDK (minimal)
dependencies = [
"litellm>=1.83.0",
"falkordb~=1.6.0",
"psycopg2-binary~=2.9.11",
"pymysql~=1.1.0",
"jsonschema~=4.26.0",
"tqdm~=4.67.3",
]
[project.optional-dependencies]
# Server dependencies (FastAPI, auth, etc.)
server = [
"fastapi~=0.136.0",
"uvicorn~=0.44.0",
"authlib~=1.7.0",
"itsdangerous~=2.2.0",
"python-multipart~=0.0.10",
"jinja2~=3.1.4",
"fastmcp>=3.2.4",
"graphiti-core>=0.28.1",
"snowflake-connector-python~=4.4.0",
"python-dotenv~=1.2.2",
"aiohttp>=3.13.5",
]
# Development dependencies
dev = [
"pytest~=9.0.3",
"pytest-asyncio~=1.3.0",
"pylint~=4.0.3",
"playwright~=1.58.0",
"pytest-playwright~=0.7.1",
]
# All dependencies (server + dev)
all = [
"queryweaver[server]",
"queryweaver[dev]",
]
[project.urls]
Homepage = "https://github.com/FalkorDB/QueryWeaver"
Documentation = "https://github.com/FalkorDB/QueryWeaver#readme"
Repository = "https://github.com/FalkorDB/QueryWeaver"
Issues = "https://github.com/FalkorDB/QueryWeaver/issues"
[project.scripts]
queryweaver = "api.index:main"
[dependency-groups]
dev = [
"pytest~=9.0.3",
"pylint~=4.0.3",
"playwright~=1.58.0",
"pytest-playwright~=0.7.1",
"pytest-asyncio~=1.3.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["queryweaver", "api"]
[tool.hatch.build.targets.sdist]
include = [
"/queryweaver",
"/api",
"/README.md",
"/LICENSE",
]
[tool.uv]
package = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--verbose --tb=short --strict-markers --disable-warnings"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"e2e: End-to-end tests using Playwright",
"slow: Tests that take a long time to run",
"auth: Tests that require authentication",
"integration: Integration tests",
"unit: Unit tests",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.pylint.main]
max-line-length = 120
ignore-patterns = ["test_.*\\.py", "conftest\\.py"]
[tool.pylint.messages_control]
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"R0903", # too-few-public-methods
]
[tool.pylint.format]
max-line-length = 120