Spaces:
Running
Running
reqs
Browse files- .gitignore +1 -0
- app.py +2 -3
- requirements.txt +17 -379
.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
*.db
|
2 |
.ipynb_checkpoints
|
|
|
3 |
|
|
|
1 |
*.db
|
2 |
.ipynb_checkpoints
|
3 |
+
.venv
|
4 |
|
app.py
CHANGED
@@ -39,9 +39,8 @@ Given an input question, first create a syntactically correct {dialect} query to
|
|
39 |
and return the answer. Only limit for {top_k} when asked for "some" or "examples".
|
40 |
|
41 |
This duckdb database includes full support for spatial queries, so it will understand most PostGIS-type
|
42 |
-
queries as well. Remember that you must cast blob column to a geom type using ST_GeomFromWKB(geometry)
|
43 |
-
before any spatial operations.
|
44 |
-
ST_* functions.
|
45 |
|
46 |
|
47 |
If you are asked to "map" or "show on a map", then be select the "geometry" column in your query.
|
|
|
39 |
and return the answer. Only limit for {top_k} when asked for "some" or "examples".
|
40 |
|
41 |
This duckdb database includes full support for spatial queries, so it will understand most PostGIS-type
|
42 |
+
queries as well. Remember that you must cast blob column to a geom type using ST_GeomFromWKB(geometry) AS geometry
|
43 |
+
before any spatial operations. Do not use ST_GeomFromWKB for non-spatial queries.
|
|
|
44 |
|
45 |
|
46 |
If you are asked to "map" or "show on a map", then be select the "geometry" column in your query.
|
requirements.txt
CHANGED
@@ -1,382 +1,20 @@
|
|
1 |
-
adagio==0.2.6
|
2 |
-
affine==2.4.0
|
3 |
-
aiodns==3.2.0
|
4 |
-
aiohappyeyeballs==2.3.5
|
5 |
-
aiohttp==3.10.1
|
6 |
-
aiohttp-client-cache==0.11.1
|
7 |
-
aiosignal==1.3.1
|
8 |
-
aiosqlite==0.20.0
|
9 |
-
altair==5.3.0
|
10 |
-
aniso8601==9.0.1
|
11 |
-
annotated-types==0.7.0
|
12 |
-
anyio==4.4.0
|
13 |
-
anywidget==0.9.13
|
14 |
-
appdirs==1.4.4
|
15 |
-
argcomplete==3.5.0
|
16 |
-
argon2-cffi==23.1.0
|
17 |
-
argon2-cffi-bindings==21.2.0
|
18 |
-
arrow==1.3.0
|
19 |
-
asciitree==0.3.3
|
20 |
-
asgiref==3.8.1
|
21 |
-
asttokens==2.4.1
|
22 |
-
async-lru==2.0.4
|
23 |
-
async-retriever==0.17.0
|
24 |
-
async-timeout==4.0.3
|
25 |
-
atpublic==5.0
|
26 |
-
attrs==24.2.0
|
27 |
-
Babel==2.15.0
|
28 |
-
beautifulsoup4==4.12.3
|
29 |
-
bleach==6.1.0
|
30 |
-
blinker==1.8.2
|
31 |
-
botocore==1.34.131
|
32 |
-
bounded-pool-executor==0.0.3
|
33 |
-
bqplot==0.12.43
|
34 |
-
branca==0.7.2
|
35 |
-
Brotli==1.1.0
|
36 |
-
cachelib==0.9.0
|
37 |
-
cachetools==5.4.0
|
38 |
-
cattrs==23.2.3
|
39 |
-
certifi==2024.7.4
|
40 |
-
certipy==0.1.3
|
41 |
-
cffi==1.17.0
|
42 |
-
cftime==1.6.4
|
43 |
-
charset-normalizer==3.3.2
|
44 |
-
click==8.1.7
|
45 |
-
click-plugins==1.1.1
|
46 |
-
cligj==0.7.2
|
47 |
-
cloudpickle==3.0.0
|
48 |
-
color-operations==0.1.5
|
49 |
-
colorama==0.4.6
|
50 |
-
colorlog==6.8.2
|
51 |
-
colour==0.1.5
|
52 |
-
comm==0.2.2
|
53 |
-
contourpy==1.2.1
|
54 |
-
coreforecast==0.0.12
|
55 |
-
cryptography==43.0.0
|
56 |
-
cycler==0.12.1
|
57 |
-
Cython==3.0.11
|
58 |
-
cytoolz==0.12.3
|
59 |
-
darts==0.30.0
|
60 |
-
dask==2024.8.0
|
61 |
-
dataclasses-json==0.6.7
|
62 |
-
debugpy==1.8.5
|
63 |
-
decorator==5.1.1
|
64 |
-
deepmerge==1.1.1
|
65 |
-
defusedxml==0.7.1
|
66 |
-
distlib==0.3.8
|
67 |
-
distro==1.9.0
|
68 |
-
dm-tree==0.1.8
|
69 |
-
docutils==0.20.1
|
70 |
duckdb==1.0.0
|
71 |
-
duckdb_engine==0.13.1
|
72 |
-
exceptiongroup==1.2.2
|
73 |
-
executing==2.0.1
|
74 |
-
faiss-cpu==1.8.0
|
75 |
-
Farama-Notifications==0.0.4
|
76 |
-
fasteners==0.19
|
77 |
-
fastjsonschema==2.20.0
|
78 |
-
filelock==3.15.4
|
79 |
-
fiona==1.9.6
|
80 |
-
Flask==3.0.3
|
81 |
-
Flask-Caching==2.3.0
|
82 |
-
Flask-Cors==4.0.1
|
83 |
-
flask-restx==1.3.0
|
84 |
-
folium==0.17.0
|
85 |
-
fonttools==4.53.1
|
86 |
-
fqdn==1.5.1
|
87 |
-
frozenlist==1.4.1
|
88 |
-
fs==2.4.16
|
89 |
-
fsspec==2024.6.1
|
90 |
-
fugue==0.9.1
|
91 |
-
gdown==5.2.0
|
92 |
-
geocube==0.6.0
|
93 |
-
geojson==3.1.0
|
94 |
-
geopandas==1.0.1
|
95 |
-
gh-scoped-creds==4.1
|
96 |
-
gitdb==4.0.11
|
97 |
-
GitPython==3.1.43
|
98 |
-
greenlet==3.0.3
|
99 |
-
grpcio==1.65.4
|
100 |
-
gymnasium==0.28.1
|
101 |
-
h11==0.14.0
|
102 |
-
h3==3.7.7
|
103 |
-
holidays==0.54
|
104 |
-
htmltools==0.5.3
|
105 |
-
httpcore==1.0.5
|
106 |
-
httpx==0.27.0
|
107 |
-
huggingface-hub==0.24.5
|
108 |
-
ibis-framework==9.3.0
|
109 |
-
idna==3.7
|
110 |
-
imageio==2.34.2
|
111 |
-
imagesize==1.4.1
|
112 |
-
importlib_metadata==8.2.0
|
113 |
-
importlib_resources==6.4.0
|
114 |
-
iniconfig==2.0.0
|
115 |
-
ipyevents==2.0.2
|
116 |
-
ipyfilechooser==0.6.0
|
117 |
-
ipykernel==6.29.5
|
118 |
-
ipyleaflet==0.19.2
|
119 |
-
ipython==8.18.0
|
120 |
-
ipytree==0.2.2
|
121 |
-
ipyvue==1.11.1
|
122 |
-
ipyvuetify==1.10.0
|
123 |
-
ipywidgets==8.1.3
|
124 |
-
isoduration==20.11.0
|
125 |
-
itsdangerous==2.2.0
|
126 |
-
jax-jumpy==1.0.0
|
127 |
-
jedi==0.19.1
|
128 |
-
Jinja2==3.1.4
|
129 |
-
jiter==0.5.0
|
130 |
-
jmespath==1.0.1
|
131 |
-
joblib==1.4.2
|
132 |
-
json5==0.9.25
|
133 |
-
jsonpatch==1.33
|
134 |
-
jsonpath-ng==1.6.1
|
135 |
-
jsonpointer==3.0.0
|
136 |
-
jsonschema==4.23.0
|
137 |
-
jsonschema-specifications==2023.12.1
|
138 |
-
jupyter-events==0.10.0
|
139 |
-
jupyter-leaflet==0.19.2
|
140 |
-
jupyter-lsp==2.2.5
|
141 |
-
jupyter_client==8.6.2
|
142 |
-
jupyter_core==5.7.2
|
143 |
-
jupyter_server==2.14.2
|
144 |
-
jupyter_server_terminals==0.5.3
|
145 |
-
jupyterlab==4.2.4
|
146 |
-
jupyterlab_pygments==0.3.0
|
147 |
-
jupyterlab_server==2.27.3
|
148 |
-
jupyterlab_widgets==3.0.13
|
149 |
-
kiwisolver==1.4.5
|
150 |
-
langchain==0.2.14
|
151 |
-
langchain-community==0.2.12
|
152 |
-
langchain-core==0.2.33
|
153 |
-
langchain-openai==0.1.22
|
154 |
-
langchain-text-splitters==0.2.2
|
155 |
-
langsmith==0.1.98
|
156 |
-
latexcodec==3.0.0
|
157 |
-
lazy_loader==0.4
|
158 |
-
leafmap==0.36.5
|
159 |
-
lightning-utilities==0.11.6
|
160 |
-
linkify-it-py==2.0.3
|
161 |
-
llvmlite==0.43.0
|
162 |
-
localtileserver==0.10.3
|
163 |
-
locket==1.0.0
|
164 |
-
lonboard==0.9.3
|
165 |
-
lxml==5.2.2
|
166 |
-
lz4==4.3.3
|
167 |
-
Mako==1.3.5
|
168 |
-
mapclassify==2.8.0
|
169 |
-
maplibre==0.2.6
|
170 |
-
Markdown==3.6
|
171 |
-
markdown-it-py==3.0.0
|
172 |
-
MarkupSafe==2.1.5
|
173 |
-
marshmallow==3.21.3
|
174 |
-
matplotlib==3.9.1.post1
|
175 |
-
matplotlib-inline==0.1.7
|
176 |
-
mdit-py-plugins==0.4.1
|
177 |
-
mdurl==0.1.2
|
178 |
-
minio==7.2.7
|
179 |
-
mistune==3.0.2
|
180 |
-
mizani==0.11.4
|
181 |
-
morecantile==5.3.1
|
182 |
-
mpmath==1.3.0
|
183 |
-
msgpack==1.0.8
|
184 |
-
multidict==6.0.5
|
185 |
-
multimethod==1.12
|
186 |
-
mypy-extensions==1.0.0
|
187 |
-
nbclient==0.10.0
|
188 |
-
nbconvert==7.16.4
|
189 |
-
nbformat==5.10.4
|
190 |
-
nest-asyncio==1.6.0
|
191 |
-
netCDF4==1.7.1.post2
|
192 |
-
networkx==3.3
|
193 |
-
nfoursid==1.0.1
|
194 |
-
notebook==7.2.1
|
195 |
-
notebook_shim==0.2.4
|
196 |
-
nox==2024.4.15
|
197 |
-
numba==0.60.0
|
198 |
-
numcodecs==0.13.0
|
199 |
-
numexpr==2.10.1
|
200 |
-
numpy==1.26.4
|
201 |
-
nvidia-cublas-cu12==12.1.3.1
|
202 |
-
nvidia-cuda-cupti-cu12==12.1.105
|
203 |
-
nvidia-cuda-nvrtc-cu12==12.1.105
|
204 |
-
nvidia-cuda-runtime-cu12==12.1.105
|
205 |
-
nvidia-cudnn-cu12==9.1.0.70
|
206 |
-
nvidia-cufft-cu12==11.0.2.54
|
207 |
-
nvidia-curand-cu12==10.3.2.106
|
208 |
-
nvidia-cusolver-cu12==11.4.5.107
|
209 |
-
nvidia-cusparse-cu12==12.1.0.106
|
210 |
-
nvidia-nccl-cu12==2.20.5
|
211 |
-
nvidia-nvjitlink-cu12==12.6.20
|
212 |
-
nvidia-nvtx-cu12==12.1.105
|
213 |
-
oauthlib==3.2.2
|
214 |
-
odc-geo==0.4.8
|
215 |
-
odc-stac==0.3.10
|
216 |
-
openai==1.41.1
|
217 |
-
orjson==3.10.6
|
218 |
-
overrides==7.7.0
|
219 |
-
OWSLib==0.31.0
|
220 |
-
packaging==24.1
|
221 |
-
palettable==3.3.3
|
222 |
-
pamela==1.1.0
|
223 |
pandas==2.2.2
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
planetary-computer==1.0.0
|
232 |
-
platformdirs==4.2.2
|
233 |
-
plotly==5.23.0
|
234 |
-
plotnine==0.13.6
|
235 |
-
pluggy==1.5.0
|
236 |
-
ply==3.11
|
237 |
-
pmdarima==2.0.4
|
238 |
-
pmtiles==3.3.0
|
239 |
-
polars==1.4.1
|
240 |
-
pqdm==0.2.0
|
241 |
-
prometheus_client==0.20.0
|
242 |
-
prompt-toolkit==3.0.36
|
243 |
-
protobuf==4.25.4
|
244 |
-
psutil==5.9.8
|
245 |
-
psygnal==0.11.1
|
246 |
-
ptyprocess==0.7.0
|
247 |
-
pure_eval==0.2.3
|
248 |
-
py3dep==0.17.0
|
249 |
-
pyaml==24.7.0
|
250 |
-
pyarrow==17.0.0
|
251 |
-
pyarrow-hotfix==0.6
|
252 |
-
pybtex==0.24.0
|
253 |
-
pybtex-docutils==1.0.3
|
254 |
-
pycares==4.4.0
|
255 |
-
pycparser==2.22
|
256 |
-
pycryptodome==3.20.0
|
257 |
-
pydantic==2.8.2
|
258 |
-
pydantic_core==2.20.1
|
259 |
-
pydeck==0.9.1
|
260 |
-
pygeoogc==0.17.0
|
261 |
-
pygeoutils==0.17.0
|
262 |
-
Pygments==2.18.0
|
263 |
-
pynhd==0.17.0
|
264 |
-
pyod==2.0.1
|
265 |
-
pyogrio==0.9.0
|
266 |
-
pyOpenSSL==24.2.1
|
267 |
-
pyparsing==3.1.2
|
268 |
-
pyproj==3.6.1
|
269 |
-
pyshp==2.3.1
|
270 |
-
PySocks==1.7.1
|
271 |
-
pystac==1.10.1
|
272 |
-
pystac-client==0.8.3
|
273 |
-
pytest==8.3.2
|
274 |
-
python-box==7.2.0
|
275 |
-
python-cmr==0.12.0
|
276 |
-
python-dateutil==2.9.0.post0
|
277 |
-
python-dotenv==1.0.1
|
278 |
-
python-json-logger==2.0.7
|
279 |
-
python-multipart==0.0.9
|
280 |
-
pytorch-lightning==2.4.0
|
281 |
-
pytz==2024.1
|
282 |
-
PyYAML==6.0.2
|
283 |
-
pyzmq==26.1.0
|
284 |
-
questionary==2.0.1
|
285 |
-
rasterio==1.3.10
|
286 |
-
rasterstats==0.19.0
|
287 |
referencing==0.35.1
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
ruff==0.5.6
|
299 |
-
scikit-learn==1.5.1
|
300 |
-
scipy==1.14.0
|
301 |
-
scooby==0.10.0
|
302 |
-
Send2Trash==1.8.3
|
303 |
-
server-thread==0.2.0
|
304 |
-
shap==0.46.0
|
305 |
-
shapely==2.0.5
|
306 |
-
shellingham==1.5.4
|
307 |
-
shiny==1.0.0
|
308 |
-
simpervisor==1.0.0
|
309 |
-
simplejson==3.19.2
|
310 |
-
six==1.16.0
|
311 |
-
slicer==0.0.8
|
312 |
-
smmap==5.0.1
|
313 |
-
sniffio==1.3.1
|
314 |
-
snowballstemmer==2.2.0
|
315 |
-
snuggs==1.4.7
|
316 |
-
sortedcontainers==2.4.0
|
317 |
-
soupsieve==2.5
|
318 |
-
SQLAlchemy==2.0.32
|
319 |
-
sqlglot==25.9.0
|
320 |
-
stack-data==0.6.3
|
321 |
-
stackstac==0.5.0
|
322 |
-
starlette==0.38.2
|
323 |
-
statsforecast==1.7.6
|
324 |
-
statsmodels==0.14.2
|
325 |
-
streamlit==1.37.1
|
326 |
-
streamlit_folium==0.22.0
|
327 |
-
sympy==1.13.1
|
328 |
-
tabulate==0.9.0
|
329 |
-
tbats==1.1.3
|
330 |
-
tblib==3.0.0
|
331 |
-
tenacity==8.5.0
|
332 |
-
tensorboardX==2.6.2.2
|
333 |
-
terminado==0.18.1
|
334 |
-
threadpoolctl==3.5.0
|
335 |
-
tifffile==2024.7.24
|
336 |
-
tiktoken==0.7.0
|
337 |
-
tinycss2==1.3.0
|
338 |
-
tinynetrc==1.3.1
|
339 |
-
toml==0.10.2
|
340 |
-
tomli==2.0.1
|
341 |
-
toolz==0.12.1
|
342 |
-
torch==2.4.0
|
343 |
-
torchmetrics==1.4.1
|
344 |
-
tornado==6.4.1
|
345 |
-
tqdm==4.66.5
|
346 |
-
traitlets==5.14.3
|
347 |
-
traittypes==0.2.1
|
348 |
-
triad==0.9.8
|
349 |
-
triton==3.0.0
|
350 |
-
typer==0.12.3
|
351 |
-
types-python-dateutil==2.9.0.20240316
|
352 |
-
typing-inspect==0.9.0
|
353 |
-
typing_extensions==4.12.2
|
354 |
-
tzdata==2024.1
|
355 |
-
uc-micro-py==1.0.3
|
356 |
-
ujson==5.10.0
|
357 |
-
uri-template==1.3.0
|
358 |
-
url-normalize==1.4.3
|
359 |
-
urllib3==2.2.2
|
360 |
-
utilsforecast==0.2.3
|
361 |
-
uvicorn==0.30.5
|
362 |
-
virtualenv==20.26.3
|
363 |
-
wasabi==1.1.3
|
364 |
-
watchdog==4.0.1
|
365 |
-
watchfiles==0.23.0
|
366 |
-
wcwidth==0.2.13
|
367 |
-
webcolors==24.6.0
|
368 |
-
webencodings==0.5.1
|
369 |
-
websocket-client==1.8.0
|
370 |
-
websockets==12.0
|
371 |
-
Werkzeug==3.0.3
|
372 |
-
whitebox==2.3.5
|
373 |
-
whiteboxgui==2.3.0
|
374 |
-
widgetsnbextension==4.0.11
|
375 |
-
wrapt==1.16.0
|
376 |
-
xarray==2024.7.0
|
377 |
-
xgboost==2.1.1
|
378 |
-
xyzservices==2024.6.0
|
379 |
-
yarl==1.9.4
|
380 |
-
zarr==2.18.2
|
381 |
-
zict==3.0.0
|
382 |
-
zipp==3.19.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
duckdb==1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
pandas==2.2.2
|
3 |
+
#git+https://github.com/eodaGmbH/py-maplibregl@feature/color-utils
|
4 |
+
git+https://github.com/eodaGmbH/py-maplibregl
|
5 |
+
leafmap[maplibre]
|
6 |
+
ibis-framework[duckdb]==9.1.0
|
7 |
+
streamlit==1.35.0
|
8 |
+
streamlit_folium==0.20.0
|
9 |
+
altair==5.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
referencing==0.35.1
|
11 |
+
rasterio==1.3.10
|
12 |
+
shapely==2.0.4
|
13 |
+
shiny==0.10.2
|
14 |
+
huggingface_hub
|
15 |
+
duckdb-engine
|
16 |
+
langchain
|
17 |
+
langchain-community
|
18 |
+
langchain-openai
|
19 |
+
streamlit
|
20 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|