forked from okube-ai/laktory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
139 lines (125 loc) · 2.94 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
# The preference build system would have been flit, but setuptools had to be
# used to support `pip install git+http...` within Databricks. When trying
# to parse the version using flit, it needs to import the full package
# and some dependencies might be missing in the virtual environment.
# Setuptools allow to explicitly set the location of the version without
# having to import the package.
[build-system]
requires = [
# "flit_core >=3.2,<4",
"setuptools",
"setuptools-scm",
]
#build-backend = "flit_core.buildapi"
build-backend = "setuptools.build_meta"
[project]
name = "laktory"
authors = [
{name = "Olivier Soucy", email = "[email protected]"},
]
description = "A DataOps framework for building a lakehouse"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["one", "two"]
license = {text = "MIT"}
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",
]
dynamic = ["version"]
dependencies = [
"inflect",
"networkx",
"planck",
"prompt_toolkit",
"pyyaml",
"pydantic>=2",
"python-dateutil",
"settus",
"typer[all]",
]
[project.optional-dependencies]
# IaC
pulumi = [
"pulumi",
"pulumi_databricks>=1.49", # required to support Databricks Lakeview Dashboard
]
# DataFrame
polars = [
# "great_expectations",
"deltalake",
"polars>=1.0",
"sqlparse",
]
spark = [
"pyarrow",
"pyspark[connect]",
]
# Orchestrators
databricks = [
"databricks-sdk",
]
# Dev
dev = [
"black",
"flit",
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
"mkdocs-video",
# "mkdocs-snippets",
"plotly",
]
# Test
test = [
"pandas",
"pytest",
"pytest-cov",
"pytest-examples",
"ruff",
"yfinance",
]
# Cloud
azure = [
"azure-identity",
"azure-storage-blob",
"pulumi_azure",
"pulumi_azure_native",
"settus[azure]",
]
aws = [
"boto3",
"pulumi_aws",
"settus[aws]",
]
gcp = [
"settus[gcp]",
]
[project.urls]
"Homepage" = "https://github.com/opencubes-ai/laktory"
"Bug Tracker" = "https://github.com/opencubes-ai/laktory/issues"
[tool.setuptools.packages.find]
include = ["laktory*"]
[tool.setuptools.dynamic]
version = {attr = "laktory._version.VERSION"}
# CLI
[project.scripts]
laktory = "laktory.cli.app:app"
[tool.ruff]
#line-length = 120
#extend-select = ['Q', 'RUF100', 'C90', 'UP', 'I', 'D', 'T']
extend-ignore = []
#flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}
#mccabe = { max-complexity = 14 }
#isort = { known-first-party = ['pydantic', 'tests'] }
target-version = "py39"
#extend-exclude = ['pydantic/v1', 'tests/mypy/outputs']
builtins = ["spark", "display"]
[tool.ruff.pydocstyle]
convention = "numpy"