-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 2.23 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 2.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "promptquery"
version = "0.3.0"
description = "Natural-language SQL for production-scale Postgres schemas"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.10"
authors = [{ name = "PromptQuery contributors" }]
keywords = [
"text-to-sql", "natural-language-to-sql", "nl2sql", "postgres", "postgresql",
"sql", "database", "read-only", "llm", "cli", "sqlglot", "openai", "anthropic",
"data-engineering",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"psycopg[binary]>=3.1",
"click>=8.1",
"rich>=13.0",
"prompt-toolkit>=3.0",
"sqlglot>=23.0",
"anthropic>=0.40",
]
[project.optional-dependencies]
openai = ["openai>=1.0"]
dev = ["pytest>=8.0", "pytest-mock>=3.0", "tiktoken>=0.7", "ruff>=0.6"]
[project.urls]
Homepage = "https://github.com/Cyberfilo/promptquery"
Repository = "https://github.com/Cyberfilo/promptquery"
Issues = "https://github.com/Cyberfilo/promptquery/issues"
Changelog = "https://github.com/Cyberfilo/promptquery/blob/main/CHANGELOG.md"
[project.scripts]
promptquery = "promptquery.cli:main"
prq = "promptquery.cli:main"
pquery = "promptquery.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/promptquery"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Ruff's default-ish ruleset (pyflakes + a curated pycodestyle subset). Keeps the
# lint gate meaningful without churn; widen as the project grows.
select = ["E4", "E7", "E9", "F"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["E702"] # compact one-line stubs are fine in tests