eodash_catalog 0.1.10__tar.gz → 0.1.11__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 (39) hide show
  1. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.bumpversion.cfg +5 -1
  2. eodash_catalog-0.1.11/.dockerignore +89 -0
  3. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.github/workflows/python-publish.yml +12 -1
  4. eodash_catalog-0.1.11/Dockerfile +34 -0
  5. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/PKG-INFO +1 -8
  6. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/pyproject.toml +1 -6
  7. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/requirements.txt +2 -10
  8. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/__about__.py +1 -1
  9. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.github/workflows/ci.yml +0 -0
  10. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.gitignore +0 -0
  11. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.vscode/extensions.json +0 -0
  12. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/.vscode/settings.json +0 -0
  13. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/LICENSE.txt +0 -0
  14. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/README.md +0 -0
  15. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/ruff.toml +0 -0
  16. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/__init__.py +0 -0
  17. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/duration.py +0 -0
  18. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/endpoints.py +0 -0
  19. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/generate_indicators.py +0 -0
  20. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/sh_endpoint.py +0 -0
  21. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/stac_handling.py +0 -0
  22. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/thumbnails.py +0 -0
  23. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/src/eodash_catalog/utils.py +0 -0
  24. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/__init__.py +0 -0
  25. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/test-data/regional_forecast.json +0 -0
  26. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/test_generate.py +0 -0
  27. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/test_geoparquet.py +0 -0
  28. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-catalogs/testing-json.json +0 -0
  29. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-catalogs/testing.yaml +0 -0
  30. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
  31. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_locations_processing.json +0 -0
  32. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
  33. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
  34. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_tif_demo_1_json.json +0 -0
  35. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
  36. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-collections/test_wms_no_time.yaml +0 -0
  37. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-indicators/test_indicator.yaml +0 -0
  38. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-layers/baselayers.yaml +0 -0
  39. {eodash_catalog-0.1.10 → eodash_catalog-0.1.11}/tests/testing-layers/overlays.yaml +0 -0
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.1.10
2
+ current_version = 0.1.11
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+))?
@@ -19,3 +19,7 @@ values =
19
19
  [bumpversion:file:src/eodash_catalog/__about__.py]
20
20
  search = "{current_version}"
21
21
  replace = "{new_version}"
22
+
23
+ [bumpversion:file:Dockerfile]
24
+ search = version="{current_version}"
25
+ replace = version="{new_version}"
@@ -0,0 +1,89 @@
1
+ # Git
2
+ .git
3
+ .gitignore
4
+ .gitattributes
5
+
6
+
7
+ # CI
8
+ .codeclimate.yml
9
+ .travis.yml
10
+ .taskcluster.yml
11
+
12
+ # Docker
13
+ docker-compose.yml
14
+ Dockerfile
15
+ .docker
16
+ .dockerignore
17
+
18
+ # Byte-compiled / optimized / DLL files
19
+ **/__pycache__/
20
+ **/*.py[cod]
21
+
22
+ # C extensions
23
+ *.so
24
+
25
+ # Distribution / packaging
26
+ .Python
27
+ env/
28
+ build/
29
+ develop-eggs/
30
+ dist/
31
+ downloads/
32
+ eggs/
33
+ lib/
34
+ lib64/
35
+ parts/
36
+ sdist/
37
+ var/
38
+ *.egg-info/
39
+ .installed.cfg
40
+ *.egg
41
+
42
+ # PyInstaller
43
+ # Usually these files are written by a python script from a template
44
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
45
+ *.manifest
46
+ *.spec
47
+
48
+ # Installer logs
49
+ pip-log.txt
50
+ pip-delete-this-directory.txt
51
+
52
+ # Unit test / coverage reports
53
+ htmlcov/
54
+ .tox/
55
+ .coverage
56
+ .cache
57
+ nosetests.xml
58
+ coverage.xml
59
+
60
+ # Translations
61
+ *.mo
62
+ *.pot
63
+
64
+ # Django stuff:
65
+ *.log
66
+
67
+ # Sphinx documentation
68
+ docs/_build/
69
+
70
+ # PyBuilder
71
+ target/
72
+
73
+ # Virtual environment
74
+ .env
75
+ .venv/
76
+ venv/
77
+
78
+ # PyCharm
79
+ .idea
80
+
81
+ # Python mode for VIM
82
+ .ropeproject
83
+ **/.ropeproject
84
+
85
+ # Vim swap files
86
+ **/*.swp
87
+
88
+ # VS Code
89
+ .vscode/
@@ -1,7 +1,7 @@
1
1
  # This workflows will upload a Python Package using Twine when a release is created
2
2
  # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
3
 
4
- name: Upload Python Package
4
+ name: Upload Python Package and Docker image
5
5
 
6
6
  on:
7
7
  push:
@@ -11,6 +11,9 @@ jobs:
11
11
  deploy:
12
12
 
13
13
  runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+ packages: write
14
17
 
15
18
  steps:
16
19
  - uses: actions/checkout@v4
@@ -29,3 +32,11 @@ jobs:
29
32
  run: |
30
33
  hatch build
31
34
  hatch publish
35
+ - name: Build and push docker image
36
+ run: |
37
+ IMAGE_ID=ghcr.io/${{ github.repository }}
38
+ VERSION=${{ github.ref_name }}
39
+ echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
40
+ docker build -t $IMAGE_ID:latest -t $IMAGE_ID:$VERSION .
41
+ docker push $IMAGE_ID:latest
42
+ docker push $IMAGE_ID:$VERSION
@@ -0,0 +1,34 @@
1
+ FROM ghcr.io/osgeo/gdal:ubuntu-small-3.11.0
2
+ LABEL name="eodash catalog generator" \
3
+ vendor="EOX IT Services GmbH <https://eox.at>" \
4
+ license="MIT Copyright (C) 2025 EOX IT Services GmbH <https://eox.at>" \
5
+ type="eodash catalog"
6
+
7
+ USER root
8
+ WORKDIR /opt/eodash_catalog
9
+
10
+ RUN apt-get update && \
11
+ apt-get install --no-install-recommends -y \
12
+ python3-pip
13
+
14
+
15
+ # install python requirements
16
+ COPY requirements.txt .
17
+ RUN pip install --no-cache-dir --break-system-packages -r requirements.txt
18
+
19
+ RUN apt-get autoremove -y && \
20
+ apt-get clean && \
21
+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
22
+
23
+ # install the package itself
24
+ COPY . .
25
+ RUN pip install --break-system-packages .
26
+
27
+ USER www-data
28
+
29
+ # test if was installed
30
+ RUN eodash_catalog --help
31
+
32
+ CMD ["eodash_catalog"]
33
+
34
+ LABEL version="0.1.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eodash_catalog
3
- Version: 0.1.10
3
+ Version: 0.1.11
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
@@ -18,26 +18,19 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
18
18
  Requires-Python: >=3.10
19
19
  Requires-Dist: click
20
20
  Requires-Dist: click<9
21
- Requires-Dist: lxml<5
22
- Requires-Dist: mergedeep
23
21
  Requires-Dist: oauthlib<3.3
24
22
  Requires-Dist: owslib
25
- Requires-Dist: pygeofilter[backend-native]==0.2.0
26
23
  Requires-Dist: pystac-client<1
27
24
  Requires-Dist: pystac[validation]<2
28
25
  Requires-Dist: python-dateutil<3
29
26
  Requires-Dist: python-dotenv<1.1.0
30
27
  Requires-Dist: pyyaml<7
31
- Requires-Dist: redis<4
32
28
  Requires-Dist: requests-oauthlib<1.3.2
33
29
  Requires-Dist: requests<3
34
30
  Requires-Dist: setuptools<71
35
31
  Requires-Dist: spdx-lookup<=0.3.3
36
32
  Requires-Dist: stac-geoparquet<=0.6.0
37
33
  Requires-Dist: structlog<22.0
38
- Requires-Dist: swiftspec==0.0.2
39
- Provides-Extra: dev
40
- Requires-Dist: pre-commit; extra == 'dev'
41
34
  Description-Content-Type: text/markdown
42
35
 
43
36
  # eodash_catalog
@@ -28,14 +28,9 @@ dependencies = [
28
28
  "python-dotenv<1.1.0",
29
29
  "pystac-client<1",
30
30
  "pyyaml<7",
31
- "redis<4",
32
- "pygeofilter[backend-native]==0.2.0",
33
31
  "click<9",
34
32
  "requests<3",
35
- "lxml<5",
36
33
  "python-dateutil<3",
37
- "swiftspec==0.0.2",
38
- "mergedeep",
39
34
  "structlog<22.0",
40
35
  "OWSLib",
41
36
  "spdx-lookup<=0.3.3",
@@ -49,7 +44,7 @@ Documentation = "https://github.com/eodash/eodash_catalog#readme"
49
44
  Issues = "https://github.com/eodash/eodash_catalog/issues"
50
45
  Source = "https://github.com/eodash/eodash_catalog"
51
46
  [project.optional-dependencies]
52
- dev = ["pre-commit"]
47
+
53
48
 
54
49
  [tool.hatch.version]
55
50
  path = "src/eodash_catalog/__about__.py"
@@ -1,23 +1,15 @@
1
- click
2
- setuptools<71
3
1
  oauthlib<3.3
4
2
  requests-oauthlib<1.3.2
5
3
  python-dotenv<1.1.0
6
4
  pystac-client==0.8.6
7
5
  pyyaml<7
8
- redis<4
9
- pygeofilter[backend-native]==0.2.0
10
6
  click<9
11
7
  requests<3
12
- lxml<5
13
8
  python-dateutil<3
14
- swiftspec==0.0.2
15
- mergedeep
16
9
  structlog<22.0
17
10
  OWSLib==0.31
18
- spdx-lookup<=0.3.3
19
- pystac[validation]==1.10.1
20
- stac_geoparquet==0.6.0
11
+ pystac[validation]==1.13.0
12
+ stac_geoparquet==0.7.0
21
13
  # dev tooling
22
14
  pytest==8.1.1
23
15
  pytest-watch==4.2.0
@@ -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.1.10"
4
+ __version__ = "0.1.11"