-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
95 lines (85 loc) · 2.2 KB
/
pyproject.toml
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
[project]
name = "bmsdna-lakeapi"
version = "0.22.1"
description = ""
authors = [{ name = "DWH Team", email = "you@example.com" }]
dependencies = [
"pyyaml ~=6.0",
"duckdb >=1.1.0,<2",
"polars >=1.12.0,<2",
"sqlglot >=24.0.0",
"fastexcel >=0.10.4",
"argon2-cffi >=23.1.0,<24",
"xlsxwriter >=3.1.0,<4",
"pyjwt >=2.6.0,<3",
"ruamel.yaml >=0.18.5",
"deltalake >=0.16.1",
"fastapi >=0.110.0",
"arrow-odbc >=5.0.0",
"expandvars >=0.12.0",
"pandas >=2.1.0,<3",
"fsspec >=2024.2.0,<2025",
"adlfs >=2024.2.0,<2025",
"deltalake2db >=0.7.0",
"numpy >=1.26.0,<2",
]
requires-python = "~=3.10"
[project.scripts]
validate_lakeapi_schema = "bmsdna.lakeapi.tools.validateschema:validate_schema_cli"
add_lakeapi_user = "bmsdna.lakeapi.tools.useradd:useradd_cli"
[project.optional-dependencies]
polars = ["fastexcel"]
auth = ["argon2-cffi", "pyjwt"]
useradd = ["ruamel.yaml"]
odbc = ["arrow-odbc"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pyright]
venv = ".venv"
venvPath = "."
pythonVersion = "3.10"
typeCheckingMode = "basic"
[tool.black]
line-length = 119
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"@(abc.)?abstractmethod",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.uv]
native-tls = true
keyring-provider = "subprocess"
[[tool.uv.index]]
name = "BMSAzureDevOps"
url = "https://VssSessionToken@pkgs.dev.azure.com/bmeurope/_packaging/BMS/pypi/simple/"
explicit = true
publish-url = "https://pkgs.dev.azure.com/bmeurope/_packaging/BMS/pypi/upload/"
[tool.hatch.build.targets.wheel]
packages = ["bmsdna"]
[dependency-groups]
dev = [
"pyright >=1.1.308,<2",
"uvicorn >=0.29.0",
"psutil >=5.9.5,<6",
"ruff >=0.4.7",
]
test = [
"faker >=22.2.0,<23",
"pytest >=7.3.1,<8",
"httpx >=0.26.0",
"pytest-env >=1.1.3,<2",
"pytest-cov >=4.0.0,<5",
"pytest-benchmark >=4.0.0,<5",
"pytest-monitor >=1.6.5,<2",
"coverage [toml]>=7.2.7,<8",
"docker >=7.0.0,<8",
"pyodbc >=5.0.1,<6",
"azure-storage-blob >=12.12.0,<13",
"adbc-driver-sqlite >=0.10.0",
"python-dotenv >=1.0.1,<2",
]