geoai-py 0.25.0__tar.gz → 0.26.0__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.
Files changed (86) hide show
  1. {geoai_py-0.25.0 → geoai_py-0.26.0}/.pre-commit-config.yaml +2 -2
  2. {geoai_py-0.25.0 → geoai_py-0.26.0}/PKG-INFO +1 -1
  3. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/__init__.py +12 -1
  4. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/auto.py +0 -1
  5. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/change_detection.py +1 -1
  6. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/moondream.py +0 -1
  7. geoai_py-0.26.0/geoai/prithvi.py +1253 -0
  8. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/PKG-INFO +1 -1
  9. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/SOURCES.txt +1 -0
  10. {geoai_py-0.25.0 → geoai_py-0.26.0}/mkdocs.yml +2 -0
  11. {geoai_py-0.25.0 → geoai_py-0.26.0}/pyproject.toml +2 -2
  12. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/_geoai_lib.py +0 -1
  13. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/update_checker.py +0 -1
  14. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/package_plugin.py +0 -1
  15. {geoai_py-0.25.0 → geoai_py-0.26.0}/.dockerignore +0 -0
  16. {geoai_py-0.25.0 → geoai_py-0.26.0}/.editorconfig +0 -0
  17. {geoai_py-0.25.0 → geoai_py-0.26.0}/.gitignore +0 -0
  18. {geoai_py-0.25.0 → geoai_py-0.26.0}/CITATION.cff +0 -0
  19. {geoai_py-0.25.0 → geoai_py-0.26.0}/Dockerfile +0 -0
  20. {geoai_py-0.25.0 → geoai_py-0.26.0}/LICENSE +0 -0
  21. {geoai_py-0.25.0 → geoai_py-0.26.0}/MANIFEST.in +0 -0
  22. {geoai_py-0.25.0 → geoai_py-0.26.0}/README.md +0 -0
  23. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/__init__.py +0 -0
  24. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/catalog_models.py +0 -0
  25. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/catalog_tools.py +0 -0
  26. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/geo_agents.py +0 -0
  27. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/map_tools.py +0 -0
  28. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/stac_models.py +0 -0
  29. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/stac_tools.py +0 -0
  30. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/classify.py +0 -0
  31. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/detectron2.py +0 -0
  32. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/dinov3.py +0 -0
  33. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/download.py +0 -0
  34. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/extract.py +0 -0
  35. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/geoai.py +0 -0
  36. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/hf.py +0 -0
  37. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/landcover_train.py +0 -0
  38. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/landcover_utils.py +0 -0
  39. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/map_widgets.py +0 -0
  40. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/sam.py +0 -0
  41. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/segment.py +0 -0
  42. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/segmentation.py +0 -0
  43. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/timm_segment.py +0 -0
  44. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/timm_train.py +0 -0
  45. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/__init__.py +0 -0
  46. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/cloudmask.py +0 -0
  47. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/multiclean.py +0 -0
  48. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/sr.py +0 -0
  49. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/train.py +0 -0
  50. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/utils.py +0 -0
  51. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/dependency_links.txt +0 -0
  52. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/entry_points.txt +0 -0
  53. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/requires.txt +0 -0
  54. {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/top_level.txt +0 -0
  55. {geoai_py-0.25.0 → geoai_py-0.26.0}/pytest.ini +0 -0
  56. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/README.md +0 -0
  57. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/LICENSE +0 -0
  58. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/__init__.py +0 -0
  59. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/__init__.py +0 -0
  60. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/map_tools.py +0 -0
  61. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/moondream.py +0 -0
  62. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/samgeo.py +0 -0
  63. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/segmentation.py +0 -0
  64. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/geoai_plugin.py +0 -0
  65. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/about.svg +0 -0
  66. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/gpu.svg +0 -0
  67. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/icon.png +0 -0
  68. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/moondream.svg +0 -0
  69. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/samgeo.png +0 -0
  70. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/segment.svg +0 -0
  71. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/metadata.txt +0 -0
  72. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/install.py +0 -0
  73. {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/install.sh +0 -0
  74. {geoai_py-0.25.0 → geoai_py-0.26.0}/requirements.txt +0 -0
  75. {geoai_py-0.25.0 → geoai_py-0.26.0}/requirements_docs.txt +0 -0
  76. {geoai_py-0.25.0 → geoai_py-0.26.0}/setup.cfg +0 -0
  77. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/__init__.py +0 -0
  78. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/create_test_data.py +0 -0
  79. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_classify.py +0 -0
  80. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_download.py +0 -0
  81. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_extract.py +0 -0
  82. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_fixtures.py +0 -0
  83. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_geoai.py +0 -0
  84. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_moondream.py +0 -0
  85. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_segment.py +0 -0
  86. {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_utils.py +0 -0
@@ -12,7 +12,7 @@ repos:
12
12
  args: ["--maxkb=500"]
13
13
 
14
14
  - repo: https://github.com/psf/black-pre-commit-mirror
15
- rev: 25.12.0
15
+ rev: 26.1.0
16
16
  hooks:
17
17
  - id: black-jupyter
18
18
 
@@ -27,6 +27,6 @@ repos:
27
27
  ]
28
28
 
29
29
  - repo: https://github.com/kynan/nbstripout
30
- rev: 0.8.2
30
+ rev: 0.9.0
31
31
  hooks:
32
32
  - id: nbstripout
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geoai-py
3
- Version: 0.25.0
3
+ Version: 0.26.0
4
4
  Summary: A Python package for using Artificial Intelligence (AI) with geospatial data
5
5
  Author-email: Qiusheng Wu <giswqs@gmail.com>
6
6
  License: MIT License
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Qiusheng Wu"""
4
4
  __email__ = "giswqs@gmail.com"
5
- __version__ = "0.25.0"
5
+ __version__ = "0.26.0"
6
6
 
7
7
 
8
8
  import os
@@ -162,3 +162,14 @@ try:
162
162
  except ImportError:
163
163
  # Moondream not available (missing dependency)
164
164
  pass
165
+
166
+ # Prithvi EO 2.0 Geospatial Foundation Model
167
+ try:
168
+ from .prithvi import (
169
+ PrithviProcessor,
170
+ load_prithvi_model,
171
+ prithvi_inference,
172
+ )
173
+ except ImportError:
174
+ # Prithvi not available (missing dependency)
175
+ pass
@@ -54,7 +54,6 @@ from transformers.utils import logging as hf_logging
54
54
 
55
55
  from .utils import get_device
56
56
 
57
-
58
57
  hf_logging.set_verbosity_error() # silence HF load reports
59
58
 
60
59
 
@@ -249,7 +249,7 @@ class ChangeDetection:
249
249
  dict: Detailed results if return_detailed_results=True
250
250
  """
251
251
  # Read and align images
252
- (img1, img2, transform, crs, original_shape) = self._read_and_align_images(
252
+ img1, img2, transform, crs, original_shape = self._read_and_align_images(
253
253
  image1_path, image2_path, target_size
254
254
  )
255
255
 
@@ -23,7 +23,6 @@ from transformers.utils import logging as hf_logging
23
23
 
24
24
  from .utils import get_device
25
25
 
26
-
27
26
  hf_logging.set_verbosity_error() # silence HF load reports
28
27
 
29
28