eodash_catalog 0.0.12__tar.gz → 0.0.13__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.

Potentially problematic release.


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

Files changed (23) hide show
  1. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.bumpversion.cfg +1 -1
  2. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/PKG-INFO +1 -1
  3. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/__about__.py +1 -1
  4. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/stac_handling.py +5 -5
  5. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.github/workflows/ci.yml +0 -0
  6. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.github/workflows/python-publish.yml +0 -0
  7. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.gitignore +0 -0
  8. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.vscode/extensions.json +0 -0
  9. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/.vscode/settings.json +0 -0
  10. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/LICENSE.txt +0 -0
  11. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/README.md +0 -0
  12. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/pyproject.toml +0 -0
  13. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/requirements.txt +0 -0
  14. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/ruff.toml +0 -0
  15. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/__init__.py +0 -0
  16. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/duration.py +0 -0
  17. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/endpoints.py +0 -0
  18. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/generate_indicators.py +0 -0
  19. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/sh_endpoint.py +0 -0
  20. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/thumbnails.py +0 -0
  21. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/src/eodash_catalog/utils.py +0 -0
  22. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/tests/__init__.py +0 -0
  23. {eodash_catalog-0.0.12 → eodash_catalog-0.0.13}/tests/test_generate.py +0 -0
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.0.12
2
+ current_version = 0.0.13
3
3
  commit = True
4
4
  tag = True
5
5
  parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)\.(?P<build>\d+))?
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: eodash_catalog
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: This package is intended to help create a compatible STAC catalog for the eodash dashboard client. It supports configuration of multiple endpoint types for information extraction.
5
5
  Project-URL: Documentation, https://github.com/eodash/eodash_catalog#readme
6
6
  Project-URL: Issues, https://github.com/eodash/eodash_catalog/issues
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2024-present Daniel Santillan <daniel.santillan@eox.at>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.0.12"
4
+ __version__ = "0.0.13"
@@ -68,7 +68,7 @@ def get_or_create_collection(
68
68
  description = collection_config["Subtitle"]
69
69
  else:
70
70
  # relative path to assets was given
71
- response = requests.get(f"{catalog_config["assets_endpoint"]}/{description}")
71
+ response = requests.get(f'{catalog_config["assets_endpoint"]}/{description}')
72
72
  if response.status_code == 200:
73
73
  description = response.text
74
74
  elif "Subtitle" in collection_config:
@@ -273,7 +273,7 @@ def add_collection_information(
273
273
  collection.add_asset(
274
274
  "legend",
275
275
  Asset(
276
- href=f"{catalog_config["assets_endpoint"]}/{collection_config["Legend"]}",
276
+ href=f'{catalog_config["assets_endpoint"]}/{collection_config["Legend"]}',
277
277
  media_type="image/png",
278
278
  roles=["metadata"],
279
279
  ),
@@ -282,7 +282,7 @@ def add_collection_information(
282
282
  collection.add_asset(
283
283
  "story",
284
284
  Asset(
285
- href=f"{catalog_config["assets_endpoint"]}/{collection_config["Story"]}",
285
+ href=f'{catalog_config["assets_endpoint"]}/{collection_config["Story"]}',
286
286
  media_type="text/markdown",
287
287
  roles=["metadata"],
288
288
  ),
@@ -291,7 +291,7 @@ def add_collection_information(
291
291
  collection.add_asset(
292
292
  "thumbnail",
293
293
  Asset(
294
- href=f"{catalog_config["assets_endpoint"]}/{collection_config["Image"]}",
294
+ href=f'{catalog_config["assets_endpoint"]}/{collection_config["Image"]}',
295
295
  media_type="image/png",
296
296
  roles=["thumbnail"],
297
297
  ),
@@ -323,7 +323,7 @@ def add_base_overlay_info(
323
323
  ) -> None:
324
324
  # check if default base layers defined
325
325
  if "default_base_layers" in catalog_config:
326
- with open(f"{catalog_config["default_base_layers"]}.yaml") as f:
326
+ with open(f'{catalog_config["default_base_layers"]}.yaml') as f:
327
327
  base_layers = yaml.load(f, Loader=SafeLoader)
328
328
  for layer in base_layers:
329
329
  collection.add_link(create_web_map_link(layer, role="baselayer"))