titiler-xarray 2.0.4__tar.gz → 2.1.0__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.4
3
+ Version: 2.1.0
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/
@@ -22,11 +22,12 @@ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Programming Language :: Python :: 3.14
23
23
  Classifier: Topic :: Scientific/Engineering :: GIS
24
24
  Requires-Python: >=3.11
25
+ Requires-Dist: httpx2
25
26
  Requires-Dist: obstore
26
27
  Requires-Dist: pydantic-settings~=2.0
27
28
  Requires-Dist: rioxarray
28
29
  Requires-Dist: starlette-cramjam<1.0,>=0.4
29
- Requires-Dist: titiler-core==2.0.4
30
+ Requires-Dist: titiler-core==2.1.0
30
31
  Requires-Dist: xarray
31
32
  Requires-Dist: zarr<4.0,>=3.1
32
33
  Provides-Extra: fs
@@ -29,13 +29,14 @@ classifiers = [
29
29
  ]
30
30
  dynamic = ["version"]
31
31
  dependencies = [
32
- "titiler-core==2.0.4", # x-release-please-version
32
+ "titiler-core==2.1.0", # x-release-please-version
33
33
  "xarray",
34
34
  "rioxarray",
35
35
  "obstore",
36
36
  "zarr>=3.1,<4.0",
37
37
  "starlette-cramjam>=0.4,<1.0",
38
38
  "pydantic-settings~=2.0",
39
+ "httpx2",
39
40
  ]
40
41
 
41
42
  [project.optional-dependencies]
@@ -61,7 +62,6 @@ test = [
61
62
  "pytest",
62
63
  "pytest-cov",
63
64
  "pytest-asyncio",
64
- "httpx",
65
65
  "h5netcdf",
66
66
  "h5py",
67
67
  "fsspec",
@@ -0,0 +1,3 @@
1
+ """titiler.xarray"""
2
+
3
+ __version__ = "2.1.0" # x-release-please-version
@@ -105,7 +105,7 @@ class TilerFactory(BaseTilerFactory):
105
105
  Query(description="Show info about the time dimension"),
106
106
  ] = None,
107
107
  env=Depends(self.environment_dependency),
108
- ) -> Info:
108
+ ):
109
109
  """Return dataset's basic info."""
110
110
  with rasterio.Env(**env):
111
111
  logger.info(f"opening data with reader: {self.reader}")
@@ -116,7 +116,7 @@ class TilerFactory(BaseTilerFactory):
116
116
  info["count"] = len(times)
117
117
  info["times"] = times
118
118
 
119
- return Info(**info)
119
+ return info
120
120
 
121
121
  @self.router.get(
122
122
  "/info.geojson",
@@ -11,7 +11,7 @@ from typing import Any, Literal, TypedDict
11
11
  from urllib.parse import urlparse
12
12
 
13
13
  import attr
14
- import httpx
14
+ import httpx2 as httpx
15
15
  import obstore
16
16
  import xarray
17
17
  import zarr
@@ -1,3 +0,0 @@
1
- """titiler.xarray"""
2
-
3
- __version__ = "2.0.4" # x-release-please-version
File without changes
File without changes