titiler-xarray 2.0.1__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: titiler-xarray
3
- Version: 2.0.1
3
+ Version: 2.0.3
4
4
  Summary: Xarray plugin for TiTiler.
5
5
  Project-URL: Homepage, https://developmentseed.org/titiler/
6
6
  Project-URL: Documentation, https://developmentseed.org/titiler/
@@ -23,8 +23,10 @@ Classifier: Programming Language :: Python :: 3.14
23
23
  Classifier: Topic :: Scientific/Engineering :: GIS
24
24
  Requires-Python: >=3.11
25
25
  Requires-Dist: obstore
26
+ Requires-Dist: pydantic-settings~=2.0
26
27
  Requires-Dist: rioxarray
27
- Requires-Dist: titiler-core==2.0.1
28
+ Requires-Dist: starlette-cramjam<1.0,>=0.4
29
+ Requires-Dist: titiler-core==2.0.3
28
30
  Requires-Dist: xarray
29
31
  Requires-Dist: zarr<4.0,>=3.1
30
32
  Provides-Extra: fs
@@ -29,11 +29,13 @@ classifiers = [
29
29
  ]
30
30
  dynamic = ["version"]
31
31
  dependencies = [
32
- "titiler-core==2.0.1", # x-release-please-version
32
+ "titiler-core==2.0.3", # x-release-please-version
33
33
  "xarray",
34
34
  "rioxarray",
35
35
  "obstore",
36
36
  "zarr>=3.1,<4.0",
37
+ "starlette-cramjam>=0.4,<1.0",
38
+ "pydantic-settings~=2.0",
37
39
  ]
38
40
 
39
41
  [project.optional-dependencies]
@@ -0,0 +1,3 @@
1
+ """titiler.xarray"""
2
+
3
+ __version__ = "2.0.3" # x-release-please-version
@@ -348,9 +348,9 @@ def fs_open_dataset( # noqa: C901
348
348
 
349
349
  # NetCDF arguments
350
350
  if any(src_path.lower().endswith(ext) for ext in [".nc", ".nc4"]):
351
- assert (
352
- h5netcdf is not None
353
- ), "'h5netcdf' must be installed to read NetCDF dataset"
351
+ assert h5netcdf is not None, (
352
+ "'h5netcdf' must be installed to read NetCDF dataset"
353
+ )
354
354
 
355
355
  xr_open_args.update(
356
356
  {
@@ -194,7 +194,7 @@ if api_settings.cors_origins:
194
194
 
195
195
  app.add_middleware(
196
196
  CompressionMiddleware,
197
- minimum_size=0,
197
+ minimum_size=1,
198
198
  exclude_mediatype={
199
199
  "image/jpeg",
200
200
  "image/jpg",
@@ -1,3 +0,0 @@
1
- """titiler.xarray"""
2
-
3
- __version__ = "2.0.1" # x-release-please-version
File without changes
File without changes