-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
139 lines (126 loc) · 3.06 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
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
137
138
139
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "laktory"
# version = dynamic
requires-python = ">=3.9"
authors = [
{name = "Olivier Soucy", email = "[email protected]"},
]
description = "An ETL and DataOps framework for building a lakehouse"
readme = "README.md"
keywords = ["data-pipeline", "dataframes", "etl", "sql", "infrastructure-as-code", "apache-spark", "polars", "python"]
license = {file = "LICENSE.md"}
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pydantic :: 2",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version"]
dependencies = [
"inflect",
"networkx",
"planck>=0.0.8",
"prompt_toolkit",
"pyyaml",
"pydantic>=2",
"pydantic-settings",
# "python-dateutil",
"typer",
"tzdata; sys_platform == 'win32'"
]
[project.optional-dependencies]
polars = [
"deltalake",
"polars>=1.0",
"sqlparse",
]
spark = [
"pyarrow",
"pyspark[connect]",
"setuptools; python_version >= '3.12'"
]
dev = [
"databricks-sdk",
"flit",
"mkdocs",
"mkdocs-material",
"mkdocs-video",
"mkdocstrings[python]",
"pandas",
"plotly",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-examples",
"ruff",
"yfinance",
# "mkdocs-snippets",
]
# IaC
pulumi = [
"pulumi",
"pulumi_databricks>=1.49", # required to support Databricks Lakeview Dashboard
]
# Orchestrators
databricks = [
# "databricks-connect", # causing conflicts with local spark installation
"databricks-sdk",
]
# Cloud Storage
azure = [
"azure-identity",
"azure-storage-blob",
]
aws = [
"boto3",
]
[project.urls]
Homepage = "https://github.com/okube-ai/laktory"
Documentation = "https://www.laktory.ai"
Repository = "https://github.com/okube-ai/laktory"
"Bug Tracker" = "https://github.com/opencubes-ai/laktory/issues"
[tool.hatch.build]
include = ["laktory*"]
[tool.hatch.version]
path = "laktory/_version.py"
# CLI
[project.scripts]
laktory = "laktory.cli.app:app"
[tool.ruff]
builtins = ["spark", "display", "dbutils"]
extend-exclude=["scripts/*"]
fix = true
indent-width = 4
line-length = 88 # default length. standard or many python projects
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore=[
"E741", # ambiguous variable name
]
extend-select = [
"I",
]
pydocstyle.convention = "numpy"
isort.force-single-line = true
isort.required-imports = [
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = [
"E402", # module level import not at top of file
"F401", # import not used
"F403", # import * (unable to detect undefined names)
]
"laktory/resources/quickstart-stacks/workflows/notebooks/*" = [
"E402", # module level import not at top of file
]