-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
85 lines (76 loc) · 2.03 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
[tool.poetry]
name = "zdatasets"
version = "1.2.5"
description = "Dataset SDK for consistent read/write [batch, online, streaming] data."
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
]
authors = ["Taleb Zeghmi"]
readme = "README.md"
[[tool.poetry.packages]]
include = "zdatasets"
# https://packaging.python.org/guides/creating-and-discovering-plugins/
[tool.poetry.plugins]
[tool.poetry.plugins."zdatasets.plugins"]
batch_dataset = "zdatasets.plugins:BatchDataset"
flow_dataset = "zdatasets.plugins:FlowDataset"
hive_dataset = "zdatasets.plugins:HiveDataset"
[tool.poetry.plugins."zdatasets.executors"]
metaflow_executor = "zdatasets.plugins:MetaflowExecutor"
[tool.poetry.dependencies]
python = ">=3.8.0,<4"
pandas = ">=1.1.0"
pyarrow = ">=6.0.0"
dask = { version = ">=2021.9.1", optional = true }
pyspark = { version = "^3.2.0", optional = true }
importlib-metadata = ">=4.6.1"
click = ">=7.0,<8.1"
s3fs = ">=2022.1.0"
tenacity = ">=5.0"
kubernetes = { version = ">=12.0.0", optional = true }
[tool.poetry.dev-dependencies]
mypy = ">=0.910"
black = ">=21.7b0"
flake8 = ">=3.9.2"
isort = ">=5.9.3"
pytest = ">=6.2.4"
pytest-cov = ">=2.12.1"
seed-isort-config = ">=2.2"
pre-commit = ">=2.15"
pytest-depends = ">=1.0.1"
moto = {extras = ["s3"], version = ">=2.3.1"}
[tool.poetry.extras]
doc = ["sphinx", "sphinx_rtd_theme"]
metaflow = ["zillow-metaflow"]
dask = ["dask"]
spark = ["pyspark"]
kubernetes = ["kubernetes"]
[tool.isort]
known_first_party = 'zdatasets'
known_third_party = ["zdatasets", "numpy", "orbital_core", "pandas"]
multi_line_output = 3
lines_after_imports = 2
force_grid_wrap = 0
combine_as_imports = true
include_trailing_comma = true
[tool.black]
line-length = 110
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["poetry>=1.1.10"]
build-backend = "poetry.masonry.api"