forked from bluesky/tiled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
339 lines (326 loc) · 7.37 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "tiled"
description = "Structured Scientific Data Access Service"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Bluesky Project Contributors", email = "dallan@bnl.gov" },
]
maintainers = [
{ name = "Brookhaven National Laboratory", email = "dallan@bnl.gov" },
]
requires-python = ">=3.8"
# All dependencies are optional; it depends on whether you are running
# a client or server (or both) and what data structures you care about.
# Use pip install tiled[all] to get everything.
dependencies = []
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = ["version"]
[project.scripts]
tiled = "tiled.commandline.main:main"
[project.optional-dependencies]
# When updating the dependencies, make sure to coordinate changes with the list
# 'all', 'server' and 'client', which aggregate dependencies from other more
# finely-targeted lists.
# This is the union of all optional dependencies.
all = [
"aiofiles",
"aiosqlite",
"alembic",
"anyio",
"asgi-correlation-id",
"asyncpg",
"appdirs",
"awkward >=2.4.3",
"blosc2",
"cachetools",
"cachey",
"click !=8.1.0",
"dask",
"dask[array]",
"dask[dataframe]",
"entrypoints",
"fastapi",
"h5netcdf",
"h5py",
"httpx >=0.20.0,!=0.23.1",
"canonicaljson",
"jinja2",
"jmespath",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"openpyxl",
"orjson",
"packaging",
"pandas",
"parquet",
"pillow",
"prometheus_client",
"psutil",
"pyarrow",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"rich",
"sparse",
"sqlalchemy[asyncio] >=2",
"starlette",
"tifffile",
"toolz",
"typer",
"uvicorn[standard]",
"watchgod",
"xarray",
"zarr",
"zstandard",
]
# These are needed by the client and server to transmit/receive arrays.
array = [
"dask[array]",
"numpy",
]
# This is the "kichen sink" fully-featured client dependency set.
client = [
"appdirs",
"awkward >=2.4.3",
"blosc2",
"click !=8.1.0",
"dask[array]",
"dask[dataframe]",
"entrypoints",
"httpx >=0.20.0,!=0.23.1",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"orjson",
"pandas",
"pyarrow",
"pyyaml",
"rich",
"sparse",
"typer",
"xarray",
"zstandard"
]
# These are used by the client/server to more efficiently compress.
# They fall back to gzip (which is slower) if these are not installed.
compression = [
"blosc2",
"lz4",
"zstandard",
]
# These are needed by the client and server to transmit/receive dataframes.
dataframe = [
"dask[dataframe]",
"pandas",
"pyarrow",
]
# These are required for developing the package (running the tests, building
# the documentation) but not necessarily required for _using_ it.
dev = [
"coverage",
"flake8",
"ldap3",
"pre-commit",
"pytest <8", # TMP pin while plugins catch up
"pytest-asyncio",
"pytest-rerunfailures",
"pytest-mock",
"sphinx !=4.1.0, !=4.1.1, !=4.1.2, !=4.2.0",
# These are dependencies of various sphinx extensions for documentation.
"ipython",
"matplotlib",
"mistune <2.0.0", # temporary while sphinx sorts this out,
"myst-parser",
"numpydoc",
"sphinx-click",
"sphinxcontrib-mermaid",
"sphinx-copybutton",
"sphinx_rtd_theme",
]
# These are used by the server to read files in the respective formats.
formats = [
"h5py",
"h5netcdf",
"openpyxl",
"pillow",
"tifffile",
]
# These are the requirements needed for basic client functionality.
minimal-client = [
"appdirs",
"click !=8.1.0",
"entrypoints",
"httpx >=0.20.0,!=0.23.1",
"jsonschema",
"msgpack >=1.0.0",
"orjson",
"pyyaml",
"rich",
"typer"
]
# These are the requirements needed for basic server functionality.
minimal-server = [
"aiofiles",
"aiosqlite",
"alembic",
"anyio",
"appdirs",
"asgi-correlation-id",
"cachey",
"cachetools",
"click !=8.1.0",
"dask",
"fastapi",
"httpx >=0.20.0,!=0.23.1",
"canonicaljson",
"jinja2",
"jmespath",
"jsonschema",
"msgpack >=1.0.0",
"orjson",
"packaging",
"parquet",
"psutil",
"prometheus_client",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"sqlalchemy[asyncio] >=2",
"starlette",
"toolz",
"typer",
"uvicorn[standard]",
"watchgod",
"zarr",
]
# This is the "kichen sink" fully-featured server dependency set.
server = [
"aiofiles",
"aiosqlite",
"alembic",
"anyio",
"appdirs",
"asgi-correlation-id",
"asyncpg",
"awkward >=2.4.3",
"blosc2",
"cachetools",
"cachey",
"click !=8.1.0",
"dask",
"dask[array]",
"dask[dataframe]",
"fastapi",
"h5netcdf",
"h5py",
"httpx >=0.20.0,!=0.23.1",
"canonicaljson",
"jinja2",
"jmespath",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"openpyxl",
"orjson",
"packaging",
"pandas",
"parquet",
"pillow",
"prometheus_client",
"psutil",
"pyarrow",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"sparse",
"sqlalchemy[asyncio] >=2",
"starlette",
"tifffile",
"toolz",
"typer",
"uvicorn[standard]",
"watchgod",
"xarray",
"zarr",
"zstandard",
]
# These are needed by the client and server to transmit/receive sparse arrays.
sparse = [
"ndindex",
"pyarrow",
"sparse",
]
# These are needed by the client and server to transmit/receive xarrays.
xarray = [
"dask[array]",
"pandas",
"pyarrow",
"xarray",
]
[project.urls]
Homepage = "https://github.com/bluesky/tiled"
Documentation = "https://blueskyproject.io/tiled"
"Bug Tracker" = "https://github.com/bluesky/tiled/issues"
[tool.hatch]
version.source = "vcs"
version.fallback-version = "0.0.0"
build.hooks.vcs.version-file = "tiled/_version.py"
# Defining this (empty) section invokes hatch_build.py
[tool.hatch.build.hooks.custom]
[tool.hatch.build.targets.wheel.shared-data]
"share/tiled/.identifying_file_72628d5f953b4229b58c9f1f8f6a9a09" = "share/tiled/.identifying_file_72628d5f953b4229b58c9f1f8f6a9a09"
"share/tiled/static" = "share/tiled/static"
"share/tiled/templates" = "share/tiled/templates"
"share/tiled/ui" = "share/tiled/ui"
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
| \.git
| \.mypy_cache
| \.venv
| _build
| build
| dist
)/
| versioneer.py
| tiled/_version.py
| tiled/serialization/_zipfile_py39.py
| docs/source/conf.py
| share
| web-frontend
)
'''