forked from drt-hub/drt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 loc) · 2.04 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "drt-core"
version = "0.4.0"
description = "Reverse ETL for the code-first data stack"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "drt-hub", email = "masukai9612kf@gmail.com" }]
keywords = ["reverse-etl", "data-engineering", "dbt", "bigquery", "cli"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
]
requires-python = ">=3.10"
dependencies = [
"typer>=0.12",
"pydantic>=2.0",
"jinja2>=3.1",
"httpx>=0.27",
"pyyaml>=6.0",
"rich>=13.0",
]
[project.optional-dependencies]
bigquery = ["google-cloud-bigquery>=3.0"]
duckdb = ["duckdb>=0.10"]
postgres = ["psycopg2-binary>=2.9"]
redshift = ["psycopg2-binary>=2.9"] # Redshift uses PostgreSQL wire protocol
sheets = ["google-api-python-client>=2.0", "google-auth>=2.0"]
mysql = ["pymysql>=1.1"]
mcp = ["fastmcp>=2.0"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-httpserver>=1.0",
"mypy>=1.10",
"ruff>=0.4",
"types-pyyaml",
]
[project.scripts]
drt = "drt.cli.main:app"
[project.urls]
Homepage = "https://github.com/drt-hub/drt"
Repository = "https://github.com/drt-hub/drt"
Issues = "https://github.com/drt-hub/drt/issues"
[tool.hatch.build.targets.wheel]
packages = ["drt"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true
warn_unused_ignores = false
[[tool.mypy.overrides]]
# fastmcp decorators are untyped — skip strict checks for MCP server module
module = "drt.mcp.server"
disallow_untyped_decorators = false
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"