-
Notifications
You must be signed in to change notification settings - Fork 163
/
pyproject.toml
98 lines (87 loc) · 2.58 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
[build-system]
build-backend = "maturin"
requires = ["maturin>=1.5.0,<2.0.0"]
[project]
authors = [{name = "Eventual Inc", email = "[email protected]"}]
dependencies = [
"pyarrow >= 7.0.0",
"fsspec",
"tqdm",
"typing-extensions >= 4.0.0; python_version < '3.10'"
]
description = "Distributed Dataframes for Multimodal Data"
dynamic = ["version"]
license = {file = "LICENSE"}
maintainers = [
{name = "Sammy Sidhu", email = "[email protected]"},
{name = "Jay Chia", email = "[email protected]"}
]
name = "getdaft"
readme = "README.rst"
requires-python = ">=3.8"
[project.optional-dependencies]
all = ["getdaft[aws, azure, gcp, ray, pandas, numpy, iceberg, deltalake, sql, unity]"]
aws = ["boto3"]
azure = []
deltalake = ["deltalake"]
gcp = []
hudi = ["pyarrow >= 8.0.0"]
iceberg = ["pyiceberg >= 0.4.0", "packaging"]
lance = ["lancedb"]
numpy = ["numpy"]
pandas = ["pandas"]
ray = [
# Inherit existing Ray version. Get the "default" extra for the Ray dashboard.
'ray[data, client]>=2.0.0 ; platform_system != "Windows"',
'ray[data, client]>=2.10.0 ; platform_system == "Windows"', # ray 2.10 has the pyarrow upper pin removed
# Explicitly install packaging. See issue: https://github.com/ray-project/ray/issues/34806
"packaging"
]
sql = ["connectorx", "sqlalchemy", "sqlglot"]
unity = ["unitycatalog"]
viz = []
[project.urls]
homepage = "https://www.getdaft.io"
repository = "https://github.com/Eventual-Inc/Daft"
[tool]
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words-list = "crate,arithmetics,ser"
# Feel free to un-skip examples, and experimental, you will just need to
# work through many typos (--write-changes and --interactive will help)
skip = "tests/series/*,target,.git,.venv,venv,data,*.csv,*.csv.*,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb,*.tiktoken,*.sql"
[tool.maturin]
# "python" tells pyo3 we want to build an extension module (skips linking against libpython.so)
features = ["python"]
[tool.mypy]
exclude = ['daft/pickle/*.py$']
files = ["daft/**/*.py", "daft/**/*.pyx", "tests/**/*.py"]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"pyarrow.*",
"fsspec.*",
"icebridge.*",
"cloudpickle.*",
"docker.*",
"uvicorn.*",
"numba.*"
]
[[tool.mypy.overrides]]
enable_error_code = ["attr-defined"]
module = 'daft.*'
warn_return_any = false
[tool.pyright]
typeCheckingMode = "off"
venv = ".venv"
venvPath = "."
[tool.pytest.ini_options]
addopts = "-m 'not (integration or benchmark or hypothesis)'"
minversion = "6.0"
testpaths = [
"tests"
]