datacosmos 0.0.5__py3-none-any.whl → 0.0.6__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.

Potentially problematic release.


This version of datacosmos might be problematic. Click here for more details.

@@ -47,7 +47,7 @@ class DatacosmosUploader:
47
47
 
48
48
  def upload_file(self, src: str, dst: str) -> None:
49
49
  """Uploads a single file to the specified destination path."""
50
- url = self.base_url.with_suffix(str(dst))
50
+ url = self.base_url.with_suffix(dst)
51
51
 
52
52
  with open(src, "rb") as f:
53
53
  response = self.datacosmos_client.put(url, data=f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datacosmos
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: A library for interacting with DataCosmos from Python code
5
5
  Author-email: Open Cosmos <support@open-cosmos.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -10,11 +10,11 @@ License-File: LICENSE.md
10
10
  Requires-Dist: pydantic_settings>=2.7.0
11
11
  Requires-Dist: requests==2.31.0
12
12
  Requires-Dist: oauthlib==3.2.0
13
- Requires-Dist: requests-oauthlib==1.3.1
14
- Requires-Dist: pydantic==2.10.6
13
+ Requires-Dist: requests-oauthlib==2
14
+ Requires-Dist: pydantic>=2
15
15
  Requires-Dist: pystac==1.12.1
16
16
  Requires-Dist: pyyaml==6.0.2
17
- Requires-Dist: structlog==25.3.0
17
+ Requires-Dist: structlog==24.4.0
18
18
  Provides-Extra: dev
19
19
  Requires-Dist: black==22.3.0; extra == "dev"
20
20
  Requires-Dist: ruff==0.9.5; extra == "dev"
@@ -29,7 +29,7 @@ datacosmos/stac/item/models/eo_band.py,sha256=YC3Scn_wFhIo51pIVcJeuJienF7JGWoEv3
29
29
  datacosmos/stac/item/models/item_update.py,sha256=_CpjQn9SsfedfuxlHSiGeptqY4M-p15t9YX__mBRueI,2088
30
30
  datacosmos/stac/item/models/raster_band.py,sha256=CoEVs-YyPE5Fse0He9DdOs4dGZpzfCsCuVzOcdXa_UM,354
31
31
  datacosmos/uploader/__init__.py,sha256=ZtfCVJ_pWKKh2F1r_NArnbG3_JtpcEiXcA_tmSwSKmQ,128
32
- datacosmos/uploader/datacosmos_uploader.py,sha256=LUtBDvAjZI7AYxKnC9TZQDP4z6lV2aHusz92XqivFGw,4398
32
+ datacosmos/uploader/datacosmos_uploader.py,sha256=QFFzR9Z2KFu_G5EcmvEn251IiwbPAfZSrOYZ_vC3NSg,4393
33
33
  datacosmos/uploader/dataclasses/__init__.py,sha256=IjcyA8Vod-z1_Gi1FMZhK58Owman0foL25Hs0YtkYYs,43
34
34
  datacosmos/uploader/dataclasses/upload_path.py,sha256=X8zkfw3_FO9qTiKHu-nL_uDmQJYfaov6e4Y2-f-opaU,3204
35
35
  datacosmos/utils/__init__.py,sha256=XQbAnoqJrPpnSpEzAbjh84yqYWw8cBM8mNp8ynTG-54,50
@@ -41,8 +41,8 @@ datacosmos/utils/http_response/check_api_response.py,sha256=dKWW01jn2_lWV0xpOBAB
41
41
  datacosmos/utils/http_response/models/__init__.py,sha256=Wj8YT6dqw7rAz_rctllxo5Or_vv8DwopvQvBzwCTvpw,45
42
42
  datacosmos/utils/http_response/models/datacosmos_error.py,sha256=Uqi2uM98nJPeCbM7zngV6vHSk97jEAb_nkdDEeUjiQM,740
43
43
  datacosmos/utils/http_response/models/datacosmos_response.py,sha256=oV4n-sue7K1wwiIQeHpxdNU8vxeqF3okVPE2rydw5W0,336
44
- datacosmos-0.0.5.dist-info/licenses/LICENSE.md,sha256=vpbRI-UUbZVQfr3VG_CXt9HpRnL1b5kt8uTVbirxeyI,1486
45
- datacosmos-0.0.5.dist-info/METADATA,sha256=vng8nMwWZjm4IZgXymw6cjWEJZOm6LZSahL0vUNUmPA,905
46
- datacosmos-0.0.5.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
47
- datacosmos-0.0.5.dist-info/top_level.txt,sha256=Iu5b533Fmdfz0rFKTnuBPjSUOQL2lEkTfHxsokP72s4,18
48
- datacosmos-0.0.5.dist-info/RECORD,,
44
+ datacosmos-0.0.6.dist-info/licenses/LICENSE.md,sha256=vpbRI-UUbZVQfr3VG_CXt9HpRnL1b5kt8uTVbirxeyI,1486
45
+ datacosmos-0.0.6.dist-info/METADATA,sha256=62t4WIjxXxYdgVWDyJTcLnBYS9LHU1yuS872Zu8YqbQ,896
46
+ datacosmos-0.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ datacosmos-0.0.6.dist-info/top_level.txt,sha256=Iu5b533Fmdfz0rFKTnuBPjSUOQL2lEkTfHxsokP72s4,18
48
+ datacosmos-0.0.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5