geomind-ai 1.0.7__py3-none-any.whl → 1.0.9__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.
geomind/__init__.py CHANGED
@@ -3,8 +3,8 @@ GeoMind - Geospatial AI Agent
3
3
 
4
4
  """
5
5
 
6
- __version__ = "1.0.7"
7
- __author__ = "Harsh Shinde"
6
+ __version__ = "1.0.9"
7
+ __author__ = "Harsh Shinde, Rajat Shinde"
8
8
 
9
9
  from .agent import GeoMindAgent
10
10
 
geomind/cli.py CHANGED
@@ -107,8 +107,10 @@ Environment Variables:
107
107
  # Start interactive or single-query mode
108
108
  try:
109
109
  if args.query:
110
- # Single query mode - also use saved key
111
- api_key = args.api_key or get_saved_api_key()
110
+ # Single query mode - check API key in order: argument > env > saved file
111
+ from .config import OPENROUTER_API_KEY
112
+
113
+ api_key = args.api_key or OPENROUTER_API_KEY or get_saved_api_key()
112
114
  if not api_key:
113
115
  print("❌ No API key found. Run 'geomind' first to set up.")
114
116
  sys.exit(1)
@@ -135,18 +137,21 @@ def run_interactive(model: Optional[str] = None, api_key: Optional[str] = None):
135
137
  print("=" * 60)
136
138
  print("🌍 GeoMind - Geospatial AI Agent")
137
139
  print("=" * 60)
138
- print(f"Version: {__version__} | Author: Harsh Shinde")
140
+ print(f"Version: {__version__} | Authors: Harsh Shinde, Rajat Shinde")
139
141
  print("Type 'quit' or 'exit' to end the session")
140
142
  print("Type 'reset' to start a new conversation")
141
- print("=" * 60)
143
+ print("Type 'geomind --help' for more options")
142
144
 
143
145
  # Check for API key in order: argument > env > saved file
144
146
  from .config import OPENROUTER_API_KEY
145
147
 
146
- if not api_key:
148
+ # Priority: command line arg > env variable > saved file
149
+ if api_key:
150
+ # Use provided argument
151
+ pass
152
+ elif OPENROUTER_API_KEY:
147
153
  api_key = OPENROUTER_API_KEY
148
-
149
- if not api_key:
154
+ else:
150
155
  api_key = get_saved_api_key()
151
156
 
152
157
  if not api_key:
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geomind-ai
3
- Version: 1.0.7
3
+ Version: 1.0.9
4
4
  Summary: AI agent for geospatial analysis with Sentinel-2 satellite imagery
5
- Author: Harsh Shinde
5
+ Author: Harsh Shinde, Rajat Shinde
6
6
  License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/HarshShinde0/GeoMind
7
+ Project-URL: Homepage, https://harshshinde0.github.io/GeoMind
8
8
  Project-URL: Repository, https://github.com/HarshShinde0/GeoMind
9
9
  Project-URL: Documentation, https://github.com/HarshShinde0/GeoMind#readme
10
10
  Project-URL: Issues, https://github.com/HarshShinde0/GeoMind/issues
@@ -50,12 +50,15 @@ geomind
50
50
 
51
51
  # Single query
52
52
  geomind --query "Find recent imagery of Paris"
53
+
54
+ geomind --query "Create an RGB true-color composite visualization from the December 25th image"
55
+
56
+ geomind --query "Create an NDVI from the December 25th image"
53
57
  ```
54
58
 
55
59
  ## Example Queries
56
60
 
57
61
  ```
58
-
59
62
  💬 "Create an RGB composite for the most recent image of London"
60
63
 
61
64
  💬 "Calculate NDVI for Central Park, New York"
@@ -1,14 +1,14 @@
1
- geomind/__init__.py,sha256=d2O1CSs2HLyIA1r1p7SpXN0TOvkABsUQGznauLCb7Wo,151
1
+ geomind/__init__.py,sha256=Ts7erVUqshA1chdhAW-PSX82JK4klooPOe8PcJtkH-0,165
2
2
  geomind/agent.py,sha256=mc9Qnn247qXYKkPLTUPJWLF7cV-GedWuJq4jqNklCdU,15651
3
- geomind/cli.py,sha256=EKjTzWyXa-9rTh8b66GnLbe_BxdkBf5BPWboxc2B8Ko,5318
3
+ geomind/cli.py,sha256=MJvXohvc4QJokdchZBy0BHVlOiimoXSdT74_caX5EVU,5604
4
4
  geomind/config.py,sha256=Zv2IlY8fJcxkv9KviLkyak3IvCSoCqEfi6BfftHcqFA,2020
5
5
  geomind/tools/__init__.py,sha256=8iumGwIFHh8Bj1VJNgZtmKnEBqCy6_cRkzYENDUH7x4,720
6
6
  geomind/tools/geocoding.py,sha256=hiLpzHpkJP6IgWAUtZMnHL6qpkWcYWVLpGe0yfYxXv8,3007
7
7
  geomind/tools/processing.py,sha256=mGu20uvpAVil2w2BEqj-0zYhKhCFuZHr1-3-vq0VzqM,10152
8
8
  geomind/tools/stac_search.py,sha256=V6230l4aHjedPWXu-3Cjmfc6diSFh5zsycewUko0W8k,6452
9
- geomind_ai-1.0.7.dist-info/licenses/LICENSE,sha256=aveu0ERm7I3NnIu8rtpKdvd0eyRpmktXKU0PBABtSN0,1069
10
- geomind_ai-1.0.7.dist-info/METADATA,sha256=bXO5xHXIYqJZ6NwPkBZRNlYDoEC1nXSgqaHkjJ_3EK8,2233
11
- geomind_ai-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- geomind_ai-1.0.7.dist-info/entry_points.txt,sha256=2nPR3faYKl0-1epccvzMJ2xdi-Q1Vt7aOSvA84oIWnw,45
13
- geomind_ai-1.0.7.dist-info/top_level.txt,sha256=rjKWNSNRhq4R9xJoZGsG-eAaH7BmTVNvfrrbcaJMIIs,8
14
- geomind_ai-1.0.7.dist-info/RECORD,,
9
+ geomind_ai-1.0.9.dist-info/licenses/LICENSE,sha256=aveu0ERm7I3NnIu8rtpKdvd0eyRpmktXKU0PBABtSN0,1069
10
+ geomind_ai-1.0.9.dist-info/METADATA,sha256=K2Sh5I1SloXn0noO8zdj5h_m9CHg3uqzGtQ9qpfsC9Y,2405
11
+ geomind_ai-1.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ geomind_ai-1.0.9.dist-info/entry_points.txt,sha256=2nPR3faYKl0-1epccvzMJ2xdi-Q1Vt7aOSvA84oIWnw,45
13
+ geomind_ai-1.0.9.dist-info/top_level.txt,sha256=rjKWNSNRhq4R9xJoZGsG-eAaH7BmTVNvfrrbcaJMIIs,8
14
+ geomind_ai-1.0.9.dist-info/RECORD,,