eodag 3.4.1.post1__py3-none-any.whl → 3.4.2__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.
eodag/utils/__init__.py CHANGED
@@ -1541,3 +1541,24 @@ def dict_md5sum(input_dict: dict[str, Any]) -> str:
1541
1541
  >>> assert(dict_md5sum({"a": 4, "b": {"b": 3, "c": 1, "a": 2}}) == hd)
1542
1542
  """
1543
1543
  return obj_md5sum(sort_dict(input_dict))
1544
+
1545
+
1546
+ def remove_str_array_quotes(input_str: str) -> str:
1547
+ """Remove quotes around arrays to avoid json parsing errors
1548
+
1549
+ :param input_str: string to format
1550
+ :returns: string without quotes surrounding array brackets
1551
+
1552
+ >>> remove_str_array_quotes('"a":"["a", "b"]"')
1553
+ '"a":["a", "b"]'
1554
+ >>> remove_str_array_quotes('{"a":"["a", "b"]", "b": ["c", "d"]}')
1555
+ '{"a":["a", "b"], "b": ["c", "d"]}'
1556
+ """
1557
+ output_str = ""
1558
+ for i in range(0, len(input_str)):
1559
+ if i < len(input_str) - 1 and input_str[i] == '"' and input_str[i + 1] == "[":
1560
+ continue
1561
+ if input_str[i] == '"' and input_str[i - 1] == "]":
1562
+ continue
1563
+ output_str += input_str[i]
1564
+ return output_str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eodag
3
- Version: 3.4.1.post1
3
+ Version: 3.4.2
4
4
  Summary: Earth Observation Data Access Gateway
5
5
  Home-page: https://github.com/CS-SI/eodag
6
6
  Author: CS GROUP - France
@@ -317,7 +317,7 @@ An eodag instance can be exposed through a STAC compliant REST api from the comm
317
317
 
318
318
  .. code-block:: bash
319
319
 
320
- docker run -p 5000:5000 --rm csspace/eodag-server:3.4.1
320
+ docker run -p 5000:5000 --rm csspace/eodag-server:3.4.2
321
321
 
322
322
  You can also browse over your STAC API server using `STAC Browser <https://github.com/radiantearth/stac-browser>`_.
323
323
  Simply run:
@@ -9,7 +9,7 @@ eodag/api/search_result.py,sha256=yv4s0JfYdpRiTGIQRSewFhQahO40vz_2N4dGh-CXA10,81
9
9
  eodag/api/product/__init__.py,sha256=klSKudmnHHeXvcwIX6Y30UTiP39tMfTwLNexSnAZnx0,1154
10
10
  eodag/api/product/_assets.py,sha256=9bWIe_SYvsQO-q_lQFd7SxhUIWv7feze2-wnXOe8hhs,7570
11
11
  eodag/api/product/_product.py,sha256=Ev2LmFbkT-tCOrCX5qT-MK2V_Gz5PRKI0D-EQqDKpkE,25416
12
- eodag/api/product/metadata_mapping.py,sha256=URGvZX2coTTm5TNWoDoV1pDsSV17Xtg1ZZ2xpKUrmlw,72234
12
+ eodag/api/product/metadata_mapping.py,sha256=HXM98JT7MFMnheNU5vzsudvySCf2cEuorLwfTziaP80,72450
13
13
  eodag/api/product/drivers/__init__.py,sha256=Sy9bGmDhWCAxvxRUf3QGijjQoQvzS1LSUMN34Usq6fM,3357
14
14
  eodag/api/product/drivers/base.py,sha256=iPAE5Jx3isxmHHFPP-jysdUylYbsbIq6UejU3qsMROE,4111
15
15
  eodag/api/product/drivers/generic.py,sha256=RER088E5_mqyGw1Pa4Kxea5YMFakAHFNcZEQINRiDwM,2069
@@ -48,16 +48,16 @@ eodag/plugins/download/creodias_s3.py,sha256=RoEhYHtsPDbfrZhBllYoek0r7YzP8Upf5CP
48
48
  eodag/plugins/download/http.py,sha256=Rg6NOcxKHSoDOzqi_nY9rzb_pJ-RrnVuevs4AqsS5uw,58110
49
49
  eodag/plugins/download/s3rest.py,sha256=BYkKglGhTVyR0A-8ls5gLhWOPwc_DgB4aydj79wpqoM,14825
50
50
  eodag/plugins/search/__init__.py,sha256=bBrl3TffoU1wVpaeXmTEIailoh9W6fla4IP-8SWqA9U,2019
51
- eodag/plugins/search/base.py,sha256=nuCcxTH_ZU38x-0jd52dKCJ3HGKiaXmCVCMfZ1iVH6k,18602
52
- eodag/plugins/search/build_search_result.py,sha256=hPM_uzUT8-qG9-HRLKdUXLLVKhyXfsT58fHWAImkAFQ,56914
53
- eodag/plugins/search/cop_marine.py,sha256=uqfJ3e7tyOUipT3iWyhNfvh8jO5XARkTeR2e3wddu9M,20162
51
+ eodag/plugins/search/base.py,sha256=AOGwzO7V80PPQ8zhJeBbevCZWdpiOMQtiwgfW-ygsg8,18821
52
+ eodag/plugins/search/build_search_result.py,sha256=IK-09gcsIwQGunAQz0-SIzxZRk1jb02q_AenouHR5nU,57391
53
+ eodag/plugins/search/cop_marine.py,sha256=GIDMeyuzXApHfxbMxSMUZyqR685NpuPYKHAHf2OeMt4,20373
54
54
  eodag/plugins/search/creodias_s3.py,sha256=rBZf3Uza7z3VuBdoUJQ9kuufGgACKVsEvK3phUo7C7M,3379
55
55
  eodag/plugins/search/csw.py,sha256=de8CNjz4bjEny27V0RXC7V8LRz0Ik3yqQVjTAc_JlyA,12548
56
56
  eodag/plugins/search/data_request_search.py,sha256=yrKu3EXhn6Utyai3qv5NPnH-V4EuGIAIxw6XzJA4IIw,26715
57
57
  eodag/plugins/search/qssearch.py,sha256=-2a8emR6TKDZk8lLvOUM61Oaz-uH8cIifVc926QtMbg,92564
58
58
  eodag/plugins/search/stac_list_assets.py,sha256=OOCMyjD8XD-m39k0SyKMrRi4K8Ii5mOQsA6zSAeQDGI,3435
59
59
  eodag/plugins/search/static_stac_search.py,sha256=CPynjpNw0gXa6g6hA2zSkbwhfgU-9IBCmJtknuhnFKk,10515
60
- eodag/resources/ext_product_types.json,sha256=IiwdTc6S2tnUhdLMx_Fft_SXnnplhX6h0hkyRISxltM,3089810
60
+ eodag/resources/ext_product_types.json,sha256=NLJKDUJ6a3G3aUfOxNHBmbHl_DnMmg1YkzyZF7TLIR8,3097199
61
61
  eodag/resources/locations_conf_template.yml,sha256=_eBv-QKHYMIKhY0b0kp4Ee33RsayxN8LWH3kDXxfFSk,986
62
62
  eodag/resources/product_types.yml,sha256=vN-VNxKmRbMmRfdjMI3Tc3vs66yhU3Oep8_v2AXWH9Y,409966
63
63
  eodag/resources/providers.yml,sha256=zT66ETRi7JkIpAt2YEMgbRqGQVbRGX_VetW29jdH7jI,223345
@@ -95,7 +95,7 @@ eodag/types/download_args.py,sha256=urSl5KbLRN1XetMa2XzxYltny8CCFmHpjxU3j3BEGO8,
95
95
  eodag/types/queryables.py,sha256=0MWmRwoJJ6Mb6ceqF2pMrwh80jc-I9iWvu4n_E6BBf4,10069
96
96
  eodag/types/search_args.py,sha256=EtG8nXnApBnYrFo5FVvsvvEqRlqTxJ0lrmIem9Wtg8c,5649
97
97
  eodag/types/whoosh.py,sha256=VXpWAZaXLR_RRnI9gh5iwkqn1n63krVGj2SX0rB2mQo,7225
98
- eodag/utils/__init__.py,sha256=FFkJK6apDqYi3XOpXuyqS7DGMfUJkVQTBM7YaSK104I,52895
98
+ eodag/utils/__init__.py,sha256=f0SSEXnbVdgduSuTbvm5ky0oESWqIm6ISWkG3i63dtU,53614
99
99
  eodag/utils/exceptions.py,sha256=hYeq5GzMqW50o6mSUUlvOpsfU0eRjwhpqXTSE5MFv9Q,4452
100
100
  eodag/utils/import_system.py,sha256=1vwcSRlsZwuaP8ssrpRBP5jldZ54eLv2ttNCdLf0TtA,3901
101
101
  eodag/utils/logging.py,sha256=KoMsyS1f6O1hr_SMDOIxvt842mOJgmu_yLUk0-0EKFs,3507
@@ -105,9 +105,9 @@ eodag/utils/requests.py,sha256=avNHKrOZ7Kp6lUA7u4kqupIth9MoirLzDsMrrmQDt4s,4560
105
105
  eodag/utils/rest.py,sha256=a9tlG_Y9iQXLeyeLyecxFNbopGHV-8URecMSRs0UXu0,3348
106
106
  eodag/utils/s3.py,sha256=2mspYgEYGA1IDbruMMDdJ2DoxyX3riSlV7PDIu7carg,7989
107
107
  eodag/utils/stac_reader.py,sha256=8r6amio5EtwGF9iu9zHaGDz4oUPKKeXRuyTzPNakrO4,9406
108
- eodag-3.4.1.post1.dist-info/licenses/LICENSE,sha256=4MAecetnRTQw5DlHtiikDSzKWO1xVLwzM5_DsPMYlnE,10172
109
- eodag-3.4.1.post1.dist-info/METADATA,sha256=COziKqf4Rdk41x-49Y0Lu_KFpXWjj854n6ZwLl64e6c,15495
110
- eodag-3.4.1.post1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
111
- eodag-3.4.1.post1.dist-info/entry_points.txt,sha256=krdrBOQso6kAcSekV9ItEYAkE8syTC4Ev75bI781VgE,2561
112
- eodag-3.4.1.post1.dist-info/top_level.txt,sha256=025IMTmVe5eDjIPP4KEFQKespOPMQdne4U4jOy8nftM,6
113
- eodag-3.4.1.post1.dist-info/RECORD,,
108
+ eodag-3.4.2.dist-info/licenses/LICENSE,sha256=4MAecetnRTQw5DlHtiikDSzKWO1xVLwzM5_DsPMYlnE,10172
109
+ eodag-3.4.2.dist-info/METADATA,sha256=9huEcthed_dpNfbyHIztouqJ-CNLOB-7vgiVCq95Aj0,15489
110
+ eodag-3.4.2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
111
+ eodag-3.4.2.dist-info/entry_points.txt,sha256=krdrBOQso6kAcSekV9ItEYAkE8syTC4Ev75bI781VgE,2561
112
+ eodag-3.4.2.dist-info/top_level.txt,sha256=025IMTmVe5eDjIPP4KEFQKespOPMQdne4U4jOy8nftM,6
113
+ eodag-3.4.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5