sentinelhub 3.9.5__py3-none-any.whl → 3.10.1__py3-none-any.whl

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.
sentinelhub/_version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version of the sentinelhub package."""
2
2
 
3
- __version__ = "3.9.5"
3
+ __version__ = "3.10.1"
sentinelhub/config.py CHANGED
@@ -30,7 +30,7 @@ class _SHConfig:
30
30
  sh_client_secret: str = ""
31
31
  sh_base_url: str = "https://services.sentinel-hub.com"
32
32
  sh_auth_base_url: str | None = None
33
- sh_token_url: str = "https://services.sentinel-hub.com/oauth/token"
33
+ sh_token_url: str = "https://services.sentinel-hub.com/auth/realms/main/protocol/openid-connect/token"
34
34
  geopedia_wms_url: str = "https://service.geopedia.world"
35
35
  geopedia_rest_url: str = "https://www.geopedia.world/rest"
36
36
  aws_access_key_id: str = ""
@@ -194,7 +194,7 @@ class SentinelHubDownloadClient(DownloadClient):
194
194
  base_url = config_or_session.config.sh_base_url
195
195
 
196
196
  # If session was generated from token then config_or_session.config.sh_client_id could have wrong client id.
197
- sh_client_id = config_or_session.info().get("aud", "")
197
+ sh_client_id = config_or_session.info().get("azp", "")
198
198
  if not sh_client_id:
199
199
  warnings.warn(
200
200
  "Failed to read client ID from OAuth token. Session caching might not work correctly.",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sentinelhub
3
- Version: 3.9.5
3
+ Version: 3.10.1
4
4
  Summary: Python API for Sentinel Hub
5
5
  Project-URL: Homepage, https://github.com/sentinel-hub/sentinelhub-py
6
6
  Project-URL: Documentation, https://sentinelhub-py.readthedocs.io
@@ -50,7 +50,7 @@ Requires-Python: >=3.8
50
50
  Requires-Dist: aenum>=2.1.4
51
51
  Requires-Dist: click
52
52
  Requires-Dist: dataclasses-json
53
- Requires-Dist: numpy
53
+ Requires-Dist: numpy<2
54
54
  Requires-Dist: oauthlib
55
55
  Requires-Dist: pillow>=9.2.0
56
56
  Requires-Dist: pyproj>=2.2.0
@@ -1,10 +1,10 @@
1
1
  sentinelhub/.utmzones.geojson,sha256=2kBUChuQK-ffIAc-5c8zluUa1JGgkop1HTShmhwp80s,768447
2
2
  sentinelhub/__init__.py,sha256=sXLQjfrL_0hFpZkl4cIavVLpMgXYP6SGixBXLSVqh6c,2185
3
- sentinelhub/_version.py,sha256=rw6vA1mGwz0YDfQxnHFrinFHK3rnAlJP5KvveTO1TG0,65
3
+ sentinelhub/_version.py,sha256=TS1qSVtKnb0j1UJPbWjP3YLKj6HriHiHCPbXlqhXvzc,66
4
4
  sentinelhub/areas.py,sha256=Wuu6WwOlGQkvK9P4C7FGxC42IEyfYqifobdMd0ty4Fw,31885
5
5
  sentinelhub/base.py,sha256=g3E2Nh6I0c3GrkTmJ2rVK_disN2spQUn-yCWc_4NqMk,12857
6
6
  sentinelhub/commands.py,sha256=KHDT0uJATP9vWxjNLpUpaboPfHoXC3nIlmFGqS8DL0E,3306
7
- sentinelhub/config.py,sha256=FXKPGdDYUsPGpjckinrk1fcRH9iMD6-hs3f5aJfs3gw,10166
7
+ sentinelhub/config.py,sha256=fxKgSbiei62ePXvIUg2sBYDPXKR_UA93tkS_pdvnrFg,10201
8
8
  sentinelhub/constants.py,sha256=t8ivRGwBtXdCbqF1A7Zh_q5Zw599g1BdjVvb_n-ubAA,13528
9
9
  sentinelhub/data_collections.py,sha256=MxlNztn487sb-yBwbi1-uiLGis__-lCDvPSew8td6js,24305
10
10
  sentinelhub/data_collections_bands.py,sha256=Q_rFCqkrW11oAQrxPL4IdeximMqiUPkTGv9ZqP15d-g,11310
@@ -49,14 +49,14 @@ sentinelhub/download/client.py,sha256=qwxoGjL8idUSPb55zRNRfJRxuBhhDf-bqZmLRBt0_k
49
49
  sentinelhub/download/handlers.py,sha256=-NBAuPZndafs0sOXK4hCOmGIpdlQrL8Ug1hvJu2P1KA,5499
50
50
  sentinelhub/download/models.py,sha256=sMyVrilTHQMAMRQ4TJK-fr3ltU9sCOWX4JtTdPvEfXg,10054
51
51
  sentinelhub/download/rate_limit.py,sha256=jN9EifCwF0ojL-NvYIyD34fFeK4U-DQTsYkntpxnCv8,5248
52
- sentinelhub/download/sentinelhub_client.py,sha256=GF3R2AWwQBPZyPrhRGf5WyisE5ACXmm0b_OCNPEGs9Y,9131
52
+ sentinelhub/download/sentinelhub_client.py,sha256=1NVq1tOv5t4Jtb6LxHVDiGo2SBh2O0iUl9I0RUoeCh8,9131
53
53
  sentinelhub/download/sentinelhub_statistical_client.py,sha256=mzU3TCY2zqp6UlW_4466833WXSiWkDYNZkjv95cPnwU,4474
54
54
  sentinelhub/download/session.py,sha256=KMRUw6wVEb68g8FZknIMk3BkAQvmghiCpIQ1rhhIJ48,14615
55
55
  sentinelhub/geopedia/__init__.py,sha256=R1wvAx_41U_KkDQif3Dubngyv2nR1zOIedxCdvhP3MM,263
56
56
  sentinelhub/geopedia/core.py,sha256=gU7CWZe8q5ZlZX4j1Zub4kvg5Nd7YZvtLCHGcuQAkfY,16370
57
57
  sentinelhub/geopedia/request.py,sha256=nmrEHJzqG13npSF8co23d8gZGXqxT5pyAu2geZ_fnmY,6618
58
- sentinelhub-3.9.5.dist-info/METADATA,sha256=xX9gPqrrjyI5soC4xyTwRJRYPLUF8jd9JwFBMjE7WeM,10204
59
- sentinelhub-3.9.5.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
60
- sentinelhub-3.9.5.dist-info/entry_points.txt,sha256=nQiaLJk-L-7XCwyDiMozwfnJ7WI2Rc9FqnJDBt6K51g,212
61
- sentinelhub-3.9.5.dist-info/licenses/LICENSE.md,sha256=Gczr65g8pY0N0OO_5g-zI3RTidQTMBVlL0JxM7n8tGM,1071
62
- sentinelhub-3.9.5.dist-info/RECORD,,
58
+ sentinelhub-3.10.1.dist-info/METADATA,sha256=2OJWCkCBTU_p495MV03vQkU7ediCLXytqWM_mhMBU8k,10207
59
+ sentinelhub-3.10.1.dist-info/WHEEL,sha256=mRYSEL3Ih6g5a_CVMIcwiF__0Ae4_gLYh01YFNwiq1k,87
60
+ sentinelhub-3.10.1.dist-info/entry_points.txt,sha256=nQiaLJk-L-7XCwyDiMozwfnJ7WI2Rc9FqnJDBt6K51g,212
61
+ sentinelhub-3.10.1.dist-info/licenses/LICENSE.md,sha256=Gczr65g8pY0N0OO_5g-zI3RTidQTMBVlL0JxM7n8tGM,1071
62
+ sentinelhub-3.10.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.18.0
2
+ Generator: hatchling 1.21.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any