-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (117 loc) · 4.03 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (117 loc) · 4.03 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
[project]
name = "turu"
version = "0.1.0"
description = "Simple Typed Python Database Client based PEP 249"
readme = "README.md"
requires-python = ">=3.9,<4"
authors = [{ name = "yassun7010", email = "yassun7010@outlook.com" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: SQL",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"turu-core>=0.1.0",
]
[project.urls]
Documentation = "https://ya7010.github.io/turu-py/"
Repository = "https://github.com/ya7010/turu-py"
[project.optional-dependencies]
bigquery = ["turu-bigquery>=0.1.0"]
mysql = ["turu-mysql>=0.1.0"]
postgres = ["turu-postgres>=0.1.0"]
snowflake = ["turu-snowflake>=0.1.0"]
sqlite3 = ["turu-sqlite3>=0.1.0"]
[dependency-groups]
dev = [
"pandera>=0.26.1; python_version < '3.10'",
"pandera>=0.32.1; python_version >= '3.10'",
"pydantic>=2.13.4,<3",
"pyright==1.1.411",
"pytest>=8.4.2,<9; python_version < '3.10'",
"pytest>=9.1.1,<10; python_version >= '3.10'",
"pytest-asyncio>=1.2.0,<2; python_version < '3.10'",
"pytest-asyncio>=1.4.0,<2; python_version >= '3.10'",
"pytest-cov>=7.1.0,<8",
"pytest-xdist>=3.8.0,<4",
"ruff>=0.15.21,<0.16",
"taskipy>=1.14.1,<2",
"typing-extensions>=4.16.0,<5",
]
docs = [
"griffe>=1.14.0,<2; python_version < '3.10'",
"griffe>=2.1.0,<3; python_version >= '3.10'",
"griffe-inherited-docstrings>=1.1.2,<2; python_version < '3.10'",
"griffe-inherited-docstrings>=1.1.3,<2; python_version >= '3.10'",
"mkdocs>=1.6.1,<2",
"mkdocs-awesome-pages-plugin>=2.10.1,<3",
"mkdocs-exclude>=1.0.2,<2",
"mkdocs-material[imaging]>=9.7.6,<10",
"mkdocs-plugin-inline-svg>=0.1.0,<0.2",
"mkdocstrings[python]>=0.30.1,<0.31; python_version < '3.10'",
"mkdocstrings[python]>=1.0.6,<2; python_version >= '3.10'",
]
[build-system]
requires = ["hatchling>=1.27,<2"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/turu"]
[tool.taskipy.tasks]
ci = "task format && task lint && task typecheck && task test"
docs-deploy = "mkdocs gh-deploy"
docs-serve = "mkdocs serve"
format = "ruff format ."
lint = "ruff check ."
test = "pytest ./tests -n auto --cov=src --cov-report=term --cov-report=xml"
typecheck = "pyright src/** tests/**"
[tool.uv]
# Centralized third-party version constraints for the whole workspace.
# These constrain resolution/the shared lockfile without becoming runtime
# dependencies of the published `turu` package.
constraint-dependencies = [
"aiomysql>=0.2.0",
"aiosqlite>=0.19.0",
"cryptography>=41.0.7",
"google-cloud-bigquery>=3.14.1",
"google-cloud-bigquery-storage>=2.24.0",
"numpy>=2.0.2; python_version < '3.10'",
"numpy>=2.2.6; python_version >= '3.10'",
"pandas>=2.2.3",
"pandas-stubs>=2.2.2.240807; python_version < '3.10'",
"pandas-stubs>=2.3.3.260113; python_version >= '3.10' and python_version < '3.11'",
"pandas-stubs>=3.0.3.260530; python_version >= '3.11'",
"pandera>=0.26.1; python_version < '3.10'",
"pandera>=0.32.1; python_version >= '3.10'",
"psycopg>=3.1.16",
"pyarrow>=18.0.0",
"pyarrow-stubs>=20.0.0.20260625,<21",
"pydantic>=2.13.4,<3",
"pyright==1.1.411",
"pytest>=8.4.2,<9; python_version < '3.10'",
"pytest>=9.1.1,<10; python_version >= '3.10'",
"pytest-asyncio>=1.2.0,<2; python_version < '3.10'",
"pytest-asyncio>=1.4.0,<2; python_version >= '3.10'",
"pytest-cov>=7.1.0,<8",
"pytest-xdist>=3.8.0,<4",
"ruff>=0.15.21,<0.16",
"snowflake-connector-python>=3.6.0",
"taskipy>=1.14.1,<2",
"typing-extensions>=4.16.0,<5",
]
[tool.uv.sources]
turu-core.workspace = true
turu-sqlite3.workspace = true
turu-mysql.workspace = true
turu-postgres.workspace = true
turu-snowflake.workspace = true
turu-bigquery.workspace = true
[tool.uv.workspace]
members = ["turu-*"]