Spaces:
Sleeping

dn commited on
Commit
4b5a608
·
1 Parent(s): c35852f

display parcels

Browse files
.clinerules CHANGED
@@ -9,4 +9,12 @@
9
 
10
  # Windows Environment Rules
11
  - Most dev is done in Windows environment
12
- - WSL is available for any linux commands that need to be run
 
 
 
 
 
 
 
 
 
9
 
10
  # Windows Environment Rules
11
  - Most dev is done in Windows environment
12
+ - WSL is available for any linux commands that need to be run
13
+
14
+ # Pandas Lib Rules
15
+ - Prefer vectorization over loops or .apply()
16
+ - If you just want to see the schema and some of the data then use `read_file(filename, rows=25)` to reduce the time to open a file
17
+
18
+ # Marimo Framework Rules
19
+ - Remember that the variables are tied to the cells, so you will need to change variable names if it is in a different cell.
20
+ - Use the notebook to read the dataframes so that they stay in memory to speed up troublshooting. Give me the option to run commands in the notebooks if you don't have access to the output.
.github/scripts/build.py CHANGED
@@ -177,9 +177,7 @@ def _export(folder: Path, output_dir: Path, as_app: bool = False) -> list[dict]:
177
  if _export_html_wasm(nb, output_dir, as_app=as_app)
178
  ]
179
 
180
- logger.info(
181
- f"Successfully exported {len(notebook_data)} out of {len(notebooks)} files from {folder}"
182
- )
183
  return notebook_data
184
 
185
 
 
177
  if _export_html_wasm(nb, output_dir, as_app=as_app)
178
  ]
179
 
180
+ logger.info(f"Successfully exported {len(notebook_data)} out of {len(notebooks)} files from {folder}")
 
 
181
  return notebook_data
182
 
183
 
.gitignore CHANGED
@@ -3,6 +3,7 @@ __marimo__
3
  test_output
4
 
5
  .vscode/
 
6
 
7
  # Byte-compiled / optimized / DLL files
8
  __pycache__/
 
3
  test_output
4
 
5
  .vscode/
6
+ data/
7
 
8
  # Byte-compiled / optimized / DLL files
9
  __pycache__/
apps/reactive_plots.py CHANGED
@@ -36,14 +36,10 @@ def __(chart, mo):
36
  def __(alt, filtered_data, mo):
37
  mo.stop(not len(filtered_data.value))
38
  mpg_hist = mo.ui.altair_chart(
39
- alt.Chart(filtered_data.value)
40
- .mark_bar()
41
- .encode(alt.X("Miles_per_Gallon:Q", bin=True), y="count()")
42
  )
43
  horsepower_hist = mo.ui.altair_chart(
44
- alt.Chart(filtered_data.value)
45
- .mark_bar()
46
- .encode(alt.X("Horsepower:Q", bin=True), y="count()")
47
  )
48
  mo.hstack([mpg_hist, horsepower_hist], justify="space-around", widths="equal")
49
  return horsepower_hist, mpg_hist
@@ -63,12 +59,7 @@ def __(alt, data):
63
  )
64
  .add_params(brush)
65
  )
66
- bars = (
67
- alt.Chart(cars)
68
- .mark_bar()
69
- .encode(y="Origin:N", color="Origin:N", x="count(Origin):Q")
70
- .transform_filter(brush)
71
- )
72
  return bars, brush, cars, scatter
73
 
74
 
 
36
  def __(alt, filtered_data, mo):
37
  mo.stop(not len(filtered_data.value))
38
  mpg_hist = mo.ui.altair_chart(
39
+ alt.Chart(filtered_data.value).mark_bar().encode(alt.X("Miles_per_Gallon:Q", bin=True), y="count()")
 
 
40
  )
41
  horsepower_hist = mo.ui.altair_chart(
42
+ alt.Chart(filtered_data.value).mark_bar().encode(alt.X("Horsepower:Q", bin=True), y="count()")
 
 
43
  )
44
  mo.hstack([mpg_hist, horsepower_hist], justify="space-around", widths="equal")
45
  return horsepower_hist, mpg_hist
 
59
  )
60
  .add_params(brush)
61
  )
62
+ bars = alt.Chart(cars).mark_bar().encode(y="Origin:N", color="Origin:N", x="count(Origin):Q").transform_filter(brush)
 
 
 
 
 
63
  return bars, brush, cars, scatter
64
 
65
 
notebooks/penguins.py DELETED
@@ -1,115 +0,0 @@
1
- # /// script
2
- # requires-python = ">=3.12"
3
- # dependencies = [
4
- # "marimo==0.13.15",
5
- # "polars==1.30.0",
6
- # "altair==4.2.0",
7
- # "pandas==2.3.0",
8
- # ]
9
- # ///
10
- import marimo
11
-
12
- __generated_with = "0.13.5"
13
- app = marimo.App(width="medium")
14
-
15
- with app.setup:
16
- import altair as alt
17
- import marimo as mo
18
- import pandas as pd
19
- import polars as pl
20
-
21
- file = mo.notebook_location() / "public" / "penguins.csv"
22
-
23
-
24
- @app.cell(hide_code=True)
25
- def _():
26
- mo.md(
27
- """
28
- # Palmer Penguins Analysis
29
-
30
- Analyzing the Palmer Penguins dataset using Polars and marimo.
31
- """
32
- )
33
- return
34
-
35
-
36
- @app.cell
37
- def _():
38
- # Read the penguins dataset
39
- df = pl.read_csv(str(file))
40
- df.head()
41
- return (df,)
42
-
43
-
44
- @app.cell
45
- def _():
46
- # Try to avoid reading the file with pandas
47
- _df = pd.read_csv(str(file))
48
- return
49
-
50
-
51
- @app.cell
52
- def _(df):
53
- # Basic statistics
54
- mo.md(f"""
55
- ### Dataset Overview
56
-
57
- - Total records: {df.height}
58
- - Columns: {", ".join(df.columns)}
59
-
60
- ### Summary Statistics
61
-
62
- {mo.as_html(df.describe())}
63
- """)
64
- return
65
-
66
-
67
- @app.cell(hide_code=True)
68
- def _():
69
- mo.md(r"""### Species Distribution""")
70
- return
71
-
72
-
73
- @app.cell
74
- def _(df):
75
- # Create species distribution chart
76
- species_chart = mo.ui.altair_chart(
77
- alt.Chart(df)
78
- .mark_bar()
79
- .encode(x="species", y="count()", color="species")
80
- .properties(title="Distribution of Penguin Species"),
81
- chart_selection=None,
82
- )
83
-
84
- species_chart
85
- return (species_chart,)
86
-
87
-
88
- @app.cell(hide_code=True)
89
- def _():
90
- mo.md(r"""### Bill Dimensions Analysis""")
91
- return
92
-
93
-
94
- @app.cell
95
- def _(df):
96
- # Scatter plot of bill dimensions
97
- scatter = mo.ui.altair_chart(
98
- alt.Chart(df)
99
- .mark_point()
100
- .encode(
101
- x="bill_length_mm",
102
- y="bill_depth_mm",
103
- color="species",
104
- tooltip=["species", "bill_length_mm", "bill_depth_mm"],
105
- )
106
- .properties(title="Bill Length vs Depth by Species"),
107
- chart_selection=None,
108
- )
109
-
110
- scatter
111
- return (scatter,)
112
-
113
-
114
- if __name__ == "__main__":
115
- app.run()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
notebooks/public/penguins.csv DELETED
@@ -1,345 +0,0 @@
1
- species,island,bill_length_mm,bill_depth_mm,flipper_length_mm,body_mass_g,sex
2
- Adelie,Torgersen,39.1,18.7,181,3750,MALE
3
- Adelie,Torgersen,39.5,17.4,186,3800,FEMALE
4
- Adelie,Torgersen,40.3,18,195,3250,FEMALE
5
- Adelie,Torgersen,,,,,
6
- Adelie,Torgersen,36.7,19.3,193,3450,FEMALE
7
- Adelie,Torgersen,39.3,20.6,190,3650,MALE
8
- Adelie,Torgersen,38.9,17.8,181,3625,FEMALE
9
- Adelie,Torgersen,39.2,19.6,195,4675,MALE
10
- Adelie,Torgersen,34.1,18.1,193,3475,
11
- Adelie,Torgersen,42,20.2,190,4250,
12
- Adelie,Torgersen,37.8,17.1,186,3300,
13
- Adelie,Torgersen,37.8,17.3,180,3700,
14
- Adelie,Torgersen,41.1,17.6,182,3200,FEMALE
15
- Adelie,Torgersen,38.6,21.2,191,3800,MALE
16
- Adelie,Torgersen,34.6,21.1,198,4400,MALE
17
- Adelie,Torgersen,36.6,17.8,185,3700,FEMALE
18
- Adelie,Torgersen,38.7,19,195,3450,FEMALE
19
- Adelie,Torgersen,42.5,20.7,197,4500,MALE
20
- Adelie,Torgersen,34.4,18.4,184,3325,FEMALE
21
- Adelie,Torgersen,46,21.5,194,4200,MALE
22
- Adelie,Biscoe,37.8,18.3,174,3400,FEMALE
23
- Adelie,Biscoe,37.7,18.7,180,3600,MALE
24
- Adelie,Biscoe,35.9,19.2,189,3800,FEMALE
25
- Adelie,Biscoe,38.2,18.1,185,3950,MALE
26
- Adelie,Biscoe,38.8,17.2,180,3800,MALE
27
- Adelie,Biscoe,35.3,18.9,187,3800,FEMALE
28
- Adelie,Biscoe,40.6,18.6,183,3550,MALE
29
- Adelie,Biscoe,40.5,17.9,187,3200,FEMALE
30
- Adelie,Biscoe,37.9,18.6,172,3150,FEMALE
31
- Adelie,Biscoe,40.5,18.9,180,3950,MALE
32
- Adelie,Dream,39.5,16.7,178,3250,FEMALE
33
- Adelie,Dream,37.2,18.1,178,3900,MALE
34
- Adelie,Dream,39.5,17.8,188,3300,FEMALE
35
- Adelie,Dream,40.9,18.9,184,3900,MALE
36
- Adelie,Dream,36.4,17,195,3325,FEMALE
37
- Adelie,Dream,39.2,21.1,196,4150,MALE
38
- Adelie,Dream,38.8,20,190,3950,MALE
39
- Adelie,Dream,42.2,18.5,180,3550,FEMALE
40
- Adelie,Dream,37.6,19.3,181,3300,FEMALE
41
- Adelie,Dream,39.8,19.1,184,4650,MALE
42
- Adelie,Dream,36.5,18,182,3150,FEMALE
43
- Adelie,Dream,40.8,18.4,195,3900,MALE
44
- Adelie,Dream,36,18.5,186,3100,FEMALE
45
- Adelie,Dream,44.1,19.7,196,4400,MALE
46
- Adelie,Dream,37,16.9,185,3000,FEMALE
47
- Adelie,Dream,39.6,18.8,190,4600,MALE
48
- Adelie,Dream,41.1,19,182,3425,MALE
49
- Adelie,Dream,37.5,18.9,179,2975,
50
- Adelie,Dream,36,17.9,190,3450,FEMALE
51
- Adelie,Dream,42.3,21.2,191,4150,MALE
52
- Adelie,Biscoe,39.6,17.7,186,3500,FEMALE
53
- Adelie,Biscoe,40.1,18.9,188,4300,MALE
54
- Adelie,Biscoe,35,17.9,190,3450,FEMALE
55
- Adelie,Biscoe,42,19.5,200,4050,MALE
56
- Adelie,Biscoe,34.5,18.1,187,2900,FEMALE
57
- Adelie,Biscoe,41.4,18.6,191,3700,MALE
58
- Adelie,Biscoe,39,17.5,186,3550,FEMALE
59
- Adelie,Biscoe,40.6,18.8,193,3800,MALE
60
- Adelie,Biscoe,36.5,16.6,181,2850,FEMALE
61
- Adelie,Biscoe,37.6,19.1,194,3750,MALE
62
- Adelie,Biscoe,35.7,16.9,185,3150,FEMALE
63
- Adelie,Biscoe,41.3,21.1,195,4400,MALE
64
- Adelie,Biscoe,37.6,17,185,3600,FEMALE
65
- Adelie,Biscoe,41.1,18.2,192,4050,MALE
66
- Adelie,Biscoe,36.4,17.1,184,2850,FEMALE
67
- Adelie,Biscoe,41.6,18,192,3950,MALE
68
- Adelie,Biscoe,35.5,16.2,195,3350,FEMALE
69
- Adelie,Biscoe,41.1,19.1,188,4100,MALE
70
- Adelie,Torgersen,35.9,16.6,190,3050,FEMALE
71
- Adelie,Torgersen,41.8,19.4,198,4450,MALE
72
- Adelie,Torgersen,33.5,19,190,3600,FEMALE
73
- Adelie,Torgersen,39.7,18.4,190,3900,MALE
74
- Adelie,Torgersen,39.6,17.2,196,3550,FEMALE
75
- Adelie,Torgersen,45.8,18.9,197,4150,MALE
76
- Adelie,Torgersen,35.5,17.5,190,3700,FEMALE
77
- Adelie,Torgersen,42.8,18.5,195,4250,MALE
78
- Adelie,Torgersen,40.9,16.8,191,3700,FEMALE
79
- Adelie,Torgersen,37.2,19.4,184,3900,MALE
80
- Adelie,Torgersen,36.2,16.1,187,3550,FEMALE
81
- Adelie,Torgersen,42.1,19.1,195,4000,MALE
82
- Adelie,Torgersen,34.6,17.2,189,3200,FEMALE
83
- Adelie,Torgersen,42.9,17.6,196,4700,MALE
84
- Adelie,Torgersen,36.7,18.8,187,3800,FEMALE
85
- Adelie,Torgersen,35.1,19.4,193,4200,MALE
86
- Adelie,Dream,37.3,17.8,191,3350,FEMALE
87
- Adelie,Dream,41.3,20.3,194,3550,MALE
88
- Adelie,Dream,36.3,19.5,190,3800,MALE
89
- Adelie,Dream,36.9,18.6,189,3500,FEMALE
90
- Adelie,Dream,38.3,19.2,189,3950,MALE
91
- Adelie,Dream,38.9,18.8,190,3600,FEMALE
92
- Adelie,Dream,35.7,18,202,3550,FEMALE
93
- Adelie,Dream,41.1,18.1,205,4300,MALE
94
- Adelie,Dream,34,17.1,185,3400,FEMALE
95
- Adelie,Dream,39.6,18.1,186,4450,MALE
96
- Adelie,Dream,36.2,17.3,187,3300,FEMALE
97
- Adelie,Dream,40.8,18.9,208,4300,MALE
98
- Adelie,Dream,38.1,18.6,190,3700,FEMALE
99
- Adelie,Dream,40.3,18.5,196,4350,MALE
100
- Adelie,Dream,33.1,16.1,178,2900,FEMALE
101
- Adelie,Dream,43.2,18.5,192,4100,MALE
102
- Adelie,Biscoe,35,17.9,192,3725,FEMALE
103
- Adelie,Biscoe,41,20,203,4725,MALE
104
- Adelie,Biscoe,37.7,16,183,3075,FEMALE
105
- Adelie,Biscoe,37.8,20,190,4250,MALE
106
- Adelie,Biscoe,37.9,18.6,193,2925,FEMALE
107
- Adelie,Biscoe,39.7,18.9,184,3550,MALE
108
- Adelie,Biscoe,38.6,17.2,199,3750,FEMALE
109
- Adelie,Biscoe,38.2,20,190,3900,MALE
110
- Adelie,Biscoe,38.1,17,181,3175,FEMALE
111
- Adelie,Biscoe,43.2,19,197,4775,MALE
112
- Adelie,Biscoe,38.1,16.5,198,3825,FEMALE
113
- Adelie,Biscoe,45.6,20.3,191,4600,MALE
114
- Adelie,Biscoe,39.7,17.7,193,3200,FEMALE
115
- Adelie,Biscoe,42.2,19.5,197,4275,MALE
116
- Adelie,Biscoe,39.6,20.7,191,3900,FEMALE
117
- Adelie,Biscoe,42.7,18.3,196,4075,MALE
118
- Adelie,Torgersen,38.6,17,188,2900,FEMALE
119
- Adelie,Torgersen,37.3,20.5,199,3775,MALE
120
- Adelie,Torgersen,35.7,17,189,3350,FEMALE
121
- Adelie,Torgersen,41.1,18.6,189,3325,MALE
122
- Adelie,Torgersen,36.2,17.2,187,3150,FEMALE
123
- Adelie,Torgersen,37.7,19.8,198,3500,MALE
124
- Adelie,Torgersen,40.2,17,176,3450,FEMALE
125
- Adelie,Torgersen,41.4,18.5,202,3875,MALE
126
- Adelie,Torgersen,35.2,15.9,186,3050,FEMALE
127
- Adelie,Torgersen,40.6,19,199,4000,MALE
128
- Adelie,Torgersen,38.8,17.6,191,3275,FEMALE
129
- Adelie,Torgersen,41.5,18.3,195,4300,MALE
130
- Adelie,Torgersen,39,17.1,191,3050,FEMALE
131
- Adelie,Torgersen,44.1,18,210,4000,MALE
132
- Adelie,Torgersen,38.5,17.9,190,3325,FEMALE
133
- Adelie,Torgersen,43.1,19.2,197,3500,MALE
134
- Adelie,Dream,36.8,18.5,193,3500,FEMALE
135
- Adelie,Dream,37.5,18.5,199,4475,MALE
136
- Adelie,Dream,38.1,17.6,187,3425,FEMALE
137
- Adelie,Dream,41.1,17.5,190,3900,MALE
138
- Adelie,Dream,35.6,17.5,191,3175,FEMALE
139
- Adelie,Dream,40.2,20.1,200,3975,MALE
140
- Adelie,Dream,37,16.5,185,3400,FEMALE
141
- Adelie,Dream,39.7,17.9,193,4250,MALE
142
- Adelie,Dream,40.2,17.1,193,3400,FEMALE
143
- Adelie,Dream,40.6,17.2,187,3475,MALE
144
- Adelie,Dream,32.1,15.5,188,3050,FEMALE
145
- Adelie,Dream,40.7,17,190,3725,MALE
146
- Adelie,Dream,37.3,16.8,192,3000,FEMALE
147
- Adelie,Dream,39,18.7,185,3650,MALE
148
- Adelie,Dream,39.2,18.6,190,4250,MALE
149
- Adelie,Dream,36.6,18.4,184,3475,FEMALE
150
- Adelie,Dream,36,17.8,195,3450,FEMALE
151
- Adelie,Dream,37.8,18.1,193,3750,MALE
152
- Adelie,Dream,36,17.1,187,3700,FEMALE
153
- Adelie,Dream,41.5,18.5,201,4000,MALE
154
- Chinstrap,Dream,46.5,17.9,192,3500,FEMALE
155
- Chinstrap,Dream,50,19.5,196,3900,MALE
156
- Chinstrap,Dream,51.3,19.2,193,3650,MALE
157
- Chinstrap,Dream,45.4,18.7,188,3525,FEMALE
158
- Chinstrap,Dream,52.7,19.8,197,3725,MALE
159
- Chinstrap,Dream,45.2,17.8,198,3950,FEMALE
160
- Chinstrap,Dream,46.1,18.2,178,3250,FEMALE
161
- Chinstrap,Dream,51.3,18.2,197,3750,MALE
162
- Chinstrap,Dream,46,18.9,195,4150,FEMALE
163
- Chinstrap,Dream,51.3,19.9,198,3700,MALE
164
- Chinstrap,Dream,46.6,17.8,193,3800,FEMALE
165
- Chinstrap,Dream,51.7,20.3,194,3775,MALE
166
- Chinstrap,Dream,47,17.3,185,3700,FEMALE
167
- Chinstrap,Dream,52,18.1,201,4050,MALE
168
- Chinstrap,Dream,45.9,17.1,190,3575,FEMALE
169
- Chinstrap,Dream,50.5,19.6,201,4050,MALE
170
- Chinstrap,Dream,50.3,20,197,3300,MALE
171
- Chinstrap,Dream,58,17.8,181,3700,FEMALE
172
- Chinstrap,Dream,46.4,18.6,190,3450,FEMALE
173
- Chinstrap,Dream,49.2,18.2,195,4400,MALE
174
- Chinstrap,Dream,42.4,17.3,181,3600,FEMALE
175
- Chinstrap,Dream,48.5,17.5,191,3400,MALE
176
- Chinstrap,Dream,43.2,16.6,187,2900,FEMALE
177
- Chinstrap,Dream,50.6,19.4,193,3800,MALE
178
- Chinstrap,Dream,46.7,17.9,195,3300,FEMALE
179
- Chinstrap,Dream,52,19,197,4150,MALE
180
- Chinstrap,Dream,50.5,18.4,200,3400,FEMALE
181
- Chinstrap,Dream,49.5,19,200,3800,MALE
182
- Chinstrap,Dream,46.4,17.8,191,3700,FEMALE
183
- Chinstrap,Dream,52.8,20,205,4550,MALE
184
- Chinstrap,Dream,40.9,16.6,187,3200,FEMALE
185
- Chinstrap,Dream,54.2,20.8,201,4300,MALE
186
- Chinstrap,Dream,42.5,16.7,187,3350,FEMALE
187
- Chinstrap,Dream,51,18.8,203,4100,MALE
188
- Chinstrap,Dream,49.7,18.6,195,3600,MALE
189
- Chinstrap,Dream,47.5,16.8,199,3900,FEMALE
190
- Chinstrap,Dream,47.6,18.3,195,3850,FEMALE
191
- Chinstrap,Dream,52,20.7,210,4800,MALE
192
- Chinstrap,Dream,46.9,16.6,192,2700,FEMALE
193
- Chinstrap,Dream,53.5,19.9,205,4500,MALE
194
- Chinstrap,Dream,49,19.5,210,3950,MALE
195
- Chinstrap,Dream,46.2,17.5,187,3650,FEMALE
196
- Chinstrap,Dream,50.9,19.1,196,3550,MALE
197
- Chinstrap,Dream,45.5,17,196,3500,FEMALE
198
- Chinstrap,Dream,50.9,17.9,196,3675,FEMALE
199
- Chinstrap,Dream,50.8,18.5,201,4450,MALE
200
- Chinstrap,Dream,50.1,17.9,190,3400,FEMALE
201
- Chinstrap,Dream,49,19.6,212,4300,MALE
202
- Chinstrap,Dream,51.5,18.7,187,3250,MALE
203
- Chinstrap,Dream,49.8,17.3,198,3675,FEMALE
204
- Chinstrap,Dream,48.1,16.4,199,3325,FEMALE
205
- Chinstrap,Dream,51.4,19,201,3950,MALE
206
- Chinstrap,Dream,45.7,17.3,193,3600,FEMALE
207
- Chinstrap,Dream,50.7,19.7,203,4050,MALE
208
- Chinstrap,Dream,42.5,17.3,187,3350,FEMALE
209
- Chinstrap,Dream,52.2,18.8,197,3450,MALE
210
- Chinstrap,Dream,45.2,16.6,191,3250,FEMALE
211
- Chinstrap,Dream,49.3,19.9,203,4050,MALE
212
- Chinstrap,Dream,50.2,18.8,202,3800,MALE
213
- Chinstrap,Dream,45.6,19.4,194,3525,FEMALE
214
- Chinstrap,Dream,51.9,19.5,206,3950,MALE
215
- Chinstrap,Dream,46.8,16.5,189,3650,FEMALE
216
- Chinstrap,Dream,45.7,17,195,3650,FEMALE
217
- Chinstrap,Dream,55.8,19.8,207,4000,MALE
218
- Chinstrap,Dream,43.5,18.1,202,3400,FEMALE
219
- Chinstrap,Dream,49.6,18.2,193,3775,MALE
220
- Chinstrap,Dream,50.8,19,210,4100,MALE
221
- Chinstrap,Dream,50.2,18.7,198,3775,FEMALE
222
- Gentoo,Biscoe,46.1,13.2,211,4500,FEMALE
223
- Gentoo,Biscoe,50,16.3,230,5700,MALE
224
- Gentoo,Biscoe,48.7,14.1,210,4450,FEMALE
225
- Gentoo,Biscoe,50,15.2,218,5700,MALE
226
- Gentoo,Biscoe,47.6,14.5,215,5400,MALE
227
- Gentoo,Biscoe,46.5,13.5,210,4550,FEMALE
228
- Gentoo,Biscoe,45.4,14.6,211,4800,FEMALE
229
- Gentoo,Biscoe,46.7,15.3,219,5200,MALE
230
- Gentoo,Biscoe,43.3,13.4,209,4400,FEMALE
231
- Gentoo,Biscoe,46.8,15.4,215,5150,MALE
232
- Gentoo,Biscoe,40.9,13.7,214,4650,FEMALE
233
- Gentoo,Biscoe,49,16.1,216,5550,MALE
234
- Gentoo,Biscoe,45.5,13.7,214,4650,FEMALE
235
- Gentoo,Biscoe,48.4,14.6,213,5850,MALE
236
- Gentoo,Biscoe,45.8,14.6,210,4200,FEMALE
237
- Gentoo,Biscoe,49.3,15.7,217,5850,MALE
238
- Gentoo,Biscoe,42,13.5,210,4150,FEMALE
239
- Gentoo,Biscoe,49.2,15.2,221,6300,MALE
240
- Gentoo,Biscoe,46.2,14.5,209,4800,FEMALE
241
- Gentoo,Biscoe,48.7,15.1,222,5350,MALE
242
- Gentoo,Biscoe,50.2,14.3,218,5700,MALE
243
- Gentoo,Biscoe,45.1,14.5,215,5000,FEMALE
244
- Gentoo,Biscoe,46.5,14.5,213,4400,FEMALE
245
- Gentoo,Biscoe,46.3,15.8,215,5050,MALE
246
- Gentoo,Biscoe,42.9,13.1,215,5000,FEMALE
247
- Gentoo,Biscoe,46.1,15.1,215,5100,MALE
248
- Gentoo,Biscoe,44.5,14.3,216,4100,
249
- Gentoo,Biscoe,47.8,15,215,5650,MALE
250
- Gentoo,Biscoe,48.2,14.3,210,4600,FEMALE
251
- Gentoo,Biscoe,50,15.3,220,5550,MALE
252
- Gentoo,Biscoe,47.3,15.3,222,5250,MALE
253
- Gentoo,Biscoe,42.8,14.2,209,4700,FEMALE
254
- Gentoo,Biscoe,45.1,14.5,207,5050,FEMALE
255
- Gentoo,Biscoe,59.6,17,230,6050,MALE
256
- Gentoo,Biscoe,49.1,14.8,220,5150,FEMALE
257
- Gentoo,Biscoe,48.4,16.3,220,5400,MALE
258
- Gentoo,Biscoe,42.6,13.7,213,4950,FEMALE
259
- Gentoo,Biscoe,44.4,17.3,219,5250,MALE
260
- Gentoo,Biscoe,44,13.6,208,4350,FEMALE
261
- Gentoo,Biscoe,48.7,15.7,208,5350,MALE
262
- Gentoo,Biscoe,42.7,13.7,208,3950,FEMALE
263
- Gentoo,Biscoe,49.6,16,225,5700,MALE
264
- Gentoo,Biscoe,45.3,13.7,210,4300,FEMALE
265
- Gentoo,Biscoe,49.6,15,216,4750,MALE
266
- Gentoo,Biscoe,50.5,15.9,222,5550,MALE
267
- Gentoo,Biscoe,43.6,13.9,217,4900,FEMALE
268
- Gentoo,Biscoe,45.5,13.9,210,4200,FEMALE
269
- Gentoo,Biscoe,50.5,15.9,225,5400,MALE
270
- Gentoo,Biscoe,44.9,13.3,213,5100,FEMALE
271
- Gentoo,Biscoe,45.2,15.8,215,5300,MALE
272
- Gentoo,Biscoe,46.6,14.2,210,4850,FEMALE
273
- Gentoo,Biscoe,48.5,14.1,220,5300,MALE
274
- Gentoo,Biscoe,45.1,14.4,210,4400,FEMALE
275
- Gentoo,Biscoe,50.1,15,225,5000,MALE
276
- Gentoo,Biscoe,46.5,14.4,217,4900,FEMALE
277
- Gentoo,Biscoe,45,15.4,220,5050,MALE
278
- Gentoo,Biscoe,43.8,13.9,208,4300,FEMALE
279
- Gentoo,Biscoe,45.5,15,220,5000,MALE
280
- Gentoo,Biscoe,43.2,14.5,208,4450,FEMALE
281
- Gentoo,Biscoe,50.4,15.3,224,5550,MALE
282
- Gentoo,Biscoe,45.3,13.8,208,4200,FEMALE
283
- Gentoo,Biscoe,46.2,14.9,221,5300,MALE
284
- Gentoo,Biscoe,45.7,13.9,214,4400,FEMALE
285
- Gentoo,Biscoe,54.3,15.7,231,5650,MALE
286
- Gentoo,Biscoe,45.8,14.2,219,4700,FEMALE
287
- Gentoo,Biscoe,49.8,16.8,230,5700,MALE
288
- Gentoo,Biscoe,46.2,14.4,214,4650,
289
- Gentoo,Biscoe,49.5,16.2,229,5800,MALE
290
- Gentoo,Biscoe,43.5,14.2,220,4700,FEMALE
291
- Gentoo,Biscoe,50.7,15,223,5550,MALE
292
- Gentoo,Biscoe,47.7,15,216,4750,FEMALE
293
- Gentoo,Biscoe,46.4,15.6,221,5000,MALE
294
- Gentoo,Biscoe,48.2,15.6,221,5100,MALE
295
- Gentoo,Biscoe,46.5,14.8,217,5200,FEMALE
296
- Gentoo,Biscoe,46.4,15,216,4700,FEMALE
297
- Gentoo,Biscoe,48.6,16,230,5800,MALE
298
- Gentoo,Biscoe,47.5,14.2,209,4600,FEMALE
299
- Gentoo,Biscoe,51.1,16.3,220,6000,MALE
300
- Gentoo,Biscoe,45.2,13.8,215,4750,FEMALE
301
- Gentoo,Biscoe,45.2,16.4,223,5950,MALE
302
- Gentoo,Biscoe,49.1,14.5,212,4625,FEMALE
303
- Gentoo,Biscoe,52.5,15.6,221,5450,MALE
304
- Gentoo,Biscoe,47.4,14.6,212,4725,FEMALE
305
- Gentoo,Biscoe,50,15.9,224,5350,MALE
306
- Gentoo,Biscoe,44.9,13.8,212,4750,FEMALE
307
- Gentoo,Biscoe,50.8,17.3,228,5600,MALE
308
- Gentoo,Biscoe,43.4,14.4,218,4600,FEMALE
309
- Gentoo,Biscoe,51.3,14.2,218,5300,MALE
310
- Gentoo,Biscoe,47.5,14,212,4875,FEMALE
311
- Gentoo,Biscoe,52.1,17,230,5550,MALE
312
- Gentoo,Biscoe,47.5,15,218,4950,FEMALE
313
- Gentoo,Biscoe,52.2,17.1,228,5400,MALE
314
- Gentoo,Biscoe,45.5,14.5,212,4750,FEMALE
315
- Gentoo,Biscoe,49.5,16.1,224,5650,MALE
316
- Gentoo,Biscoe,44.5,14.7,214,4850,FEMALE
317
- Gentoo,Biscoe,50.8,15.7,226,5200,MALE
318
- Gentoo,Biscoe,49.4,15.8,216,4925,MALE
319
- Gentoo,Biscoe,46.9,14.6,222,4875,FEMALE
320
- Gentoo,Biscoe,48.4,14.4,203,4625,FEMALE
321
- Gentoo,Biscoe,51.1,16.5,225,5250,MALE
322
- Gentoo,Biscoe,48.5,15,219,4850,FEMALE
323
- Gentoo,Biscoe,55.9,17,228,5600,MALE
324
- Gentoo,Biscoe,47.2,15.5,215,4975,FEMALE
325
- Gentoo,Biscoe,49.1,15,228,5500,MALE
326
- Gentoo,Biscoe,47.3,13.8,216,4725,
327
- Gentoo,Biscoe,46.8,16.1,215,5500,MALE
328
- Gentoo,Biscoe,41.7,14.7,210,4700,FEMALE
329
- Gentoo,Biscoe,53.4,15.8,219,5500,MALE
330
- Gentoo,Biscoe,43.3,14,208,4575,FEMALE
331
- Gentoo,Biscoe,48.1,15.1,209,5500,MALE
332
- Gentoo,Biscoe,50.5,15.2,216,5000,FEMALE
333
- Gentoo,Biscoe,49.8,15.9,229,5950,MALE
334
- Gentoo,Biscoe,43.5,15.2,213,4650,FEMALE
335
- Gentoo,Biscoe,51.5,16.3,230,5500,MALE
336
- Gentoo,Biscoe,46.2,14.1,217,4375,FEMALE
337
- Gentoo,Biscoe,55.1,16,230,5850,MALE
338
- Gentoo,Biscoe,44.5,15.7,217,4875,
339
- Gentoo,Biscoe,48.8,16.2,222,6000,MALE
340
- Gentoo,Biscoe,47.2,13.7,214,4925,FEMALE
341
- Gentoo,Biscoe,,,,,
342
- Gentoo,Biscoe,46.8,14.3,215,4850,FEMALE
343
- Gentoo,Biscoe,50.4,15.7,222,5750,MALE
344
- Gentoo,Biscoe,45.2,14.8,212,5200,FEMALE
345
- Gentoo,Biscoe,49.9,16.1,213,5400,MALE
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
notebooks/sb79_map.py CHANGED
@@ -1,11 +1,10 @@
1
  # /// script
2
- # requires-python = ">=3.12"
3
  # dependencies = [
4
- # "arcgis>=2.4.3",
5
  # "folium>=0.20.0",
6
  # "geopandas>=1.1.3",
7
  # "marimo>=0.23.3",
8
- # "pandas>=3.0.2",
9
  # ]
10
  # ///
11
 
@@ -14,30 +13,49 @@ import marimo
14
  __generated_with = "0.23.4"
15
  app = marimo.App()
16
 
17
- with app.setup:
 
 
18
  import folium
19
- import geopandas as gpd
20
- from folium.plugins import MarkerCluster
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- STOPS_LAYER_ID = "d6fc47eca97e48b7890c8fb7c9b69688"
23
- STOPS_URL = r"https://services3.arcgis.com/NaFf4UaPo3IgQXqn/ArcGIS/rest/services/sb79_transit_stops/FeatureServer/0/query?where=0%3D0&objectIds=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&outDistance=&relationParam=&returnGeodetic=false&outFields=*&returnHiddenFields=false&returnGeometry=true&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=&defaultSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&collation=&orderByFields=&groupByFieldsForStatistics=&returnAggIds=false&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnTrueCurves=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=pgeojson"
 
 
 
 
 
 
 
 
24
 
25
 
26
  @app.cell
27
- def _():
28
- stops_df = gpd.read_file(STOPS_URL, driver="GeoJSON")
29
- stops_df.crs
30
- return (stops_df,)
31
 
32
 
33
  @app.cell
34
- def _(stops_df):
35
- m = folium.Map(
36
- location=[34.0617140033952, -118.314146442073], tiles="CartoDB Positron", zoom_start=10
37
- )
38
 
39
  cluster = MarkerCluster(disable_clustering_at_zoom=10).add_to(m)
40
- for _, _row in stops_df.iterrows():
41
  color = "blue" if _row["Tier"] == 2 else "red"
42
  cluster.add_child(
43
  folium.CircleMarker(
@@ -57,8 +75,52 @@ def _(stops_df):
57
  ).add_to(m)
58
  )
59
  m
 
 
 
 
 
 
 
60
  return
61
 
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  if __name__ == "__main__":
64
  app.run()
 
1
  # /// script
2
+ # requires-python = ">=3.13"
3
  # dependencies = [
4
+ # "auto-mix-prep>=0.2.0",
5
  # "folium>=0.20.0",
6
  # "geopandas>=1.1.3",
7
  # "marimo>=0.23.3",
 
8
  # ]
9
  # ///
10
 
 
13
  __generated_with = "0.23.4"
14
  app = marimo.App()
15
 
16
+
17
+ @app.cell
18
+ def _():
19
  import folium
20
+ import marimo as mo
21
+ from folium.plugins import MarkerCluster, VectorGridProtobuf
22
+
23
+ from arcgis_paginate import (
24
+ fetch_from_arcgis,
25
+ )
26
+
27
+ PARCELS_URL = "https://vectortileservices3.arcgis.com/NaFf4UaPo3IgQXqn/arcgis/rest/services/sb79_transit_parcels/VectorTileServer/tile/{z}/{y}/{x}.pbf"
28
+ STOPS_URL = (
29
+ "https://services3.arcgis.com/NaFf4UaPo3IgQXqn/ArcGIS/rest/services/sb79_transit_stations/FeatureServer/0/query"
30
+ )
31
+
32
+ # https://vectortileservices3.arcgis.com/NaFf4UaPo3IgQXqn/arcgis/rest/services/sb79_transit_parcels/VectorTileServer/tile/12/704/1634.pbf
33
 
34
+ # https://vectortileservices3.arcgis.com/NaFf4UaPo3IgQXqn/arcgis/rest/services/sb79_transit_parcels/VectorTileServer/tile/7/49/21.pbf
35
+ return (
36
+ MarkerCluster,
37
+ PARCELS_URL,
38
+ STOPS_URL,
39
+ VectorGridProtobuf,
40
+ fetch_from_arcgis,
41
+ folium,
42
+ mo,
43
+ )
44
 
45
 
46
  @app.cell
47
+ def _(STOPS_URL, fetch_from_arcgis):
48
+ stops = fetch_from_arcgis(url=STOPS_URL)
49
+ stops
50
+ return (stops,)
51
 
52
 
53
  @app.cell
54
+ def _(MarkerCluster, folium, stops):
55
+ m = folium.Map(location=[34.0617140033952, -118.314146442073], tiles="CartoDB Positron", zoom_start=10)
 
 
56
 
57
  cluster = MarkerCluster(disable_clustering_at_zoom=10).add_to(m)
58
+ for _, _row in stops.iterrows():
59
  color = "blue" if _row["Tier"] == 2 else "red"
60
  cluster.add_child(
61
  folium.CircleMarker(
 
75
  ).add_to(m)
76
  )
77
  m
78
+ return (m,)
79
+
80
+
81
+ @app.cell
82
+ def _(PARCELS_URL, VectorGridProtobuf, m):
83
+ VectorGridProtobuf(PARCELS_URL, "folium_layer_name").add_to(m)
84
+ m
85
  return
86
 
87
 
88
+ @app.cell
89
+ def _(m, mo):
90
+ map_widget = mo.ui.map(m)
91
+ map_widget
92
+ return (map_widget,)
93
+
94
+
95
+ @app.cell
96
+ def _(map_widget):
97
+ import requests
98
+ from marimo import mo
99
+
100
+ # This will run every time the map is clicked
101
+ if map_widget.value:
102
+ lat, lon = map_widget.value["lat"], map_widget.value["lon"]
103
+
104
+ # Use the FeatureServer's /query endpoint (assuming geometryType=esriGeometryPoint)
105
+ query_url = (
106
+ "https://services3.arcgis.com/NaFf4UaPo3IgQXqn/arcgis/rest/services/sb79_transit_parcels/FeatureServer/0/query"
107
+ )
108
+ params = {
109
+ "geometry": f"{lon},{lat}",
110
+ "geometryType": "esriGeometryPoint",
111
+ "spatialRel": "esriSpatialRelIntersects",
112
+ "outFields": "*", # get all attributes
113
+ "returnGeometry": "false", # we only need attributes
114
+ "f": "geojson",
115
+ }
116
+ resp = requests.get(query_url, params=params)
117
+ if resp.ok and resp.json()["features"]:
118
+ parcel = resp.json()["features"][0]["properties"]
119
+ mo.md(f"**Parcel info:**\n```json\n{parcel}\n```")
120
+ else:
121
+ mo.md("No parcel found at that point.")
122
+ return (mo,)
123
+
124
+
125
  if __name__ == "__main__":
126
  app.run()
pyproject.toml CHANGED
@@ -9,7 +9,9 @@ dependencies = [
9
  "arcgis>=2.4.3",
10
  "folium>=0.20.0",
11
  "geopandas>=1.1.3",
12
- "marimo[lsp,recommended]>=0.23.4",
 
 
13
  "numpy>=2.4.4",
14
  "pandas>=3.0.2",
15
  "requests>=2.33.1",
@@ -19,11 +21,12 @@ dependencies = [
19
  dev = [
20
  "pre-commit>=4.6.0",
21
  "pytest>=9.0.3",
 
22
  "ruff>=0.15.12",
23
  ]
24
 
25
  [tool.ruff]
26
- line-length = 100
27
  target-version = "py312"
28
 
29
  [tool.ruff.lint]
@@ -38,4 +41,10 @@ select = [
38
 
39
  ignore = [
40
  "B018", # Found useless expression (sometimes used for output in notebooks)
41
- ]
 
 
 
 
 
 
 
9
  "arcgis>=2.4.3",
10
  "folium>=0.20.0",
11
  "geopandas>=1.1.3",
12
+ "geopolars>=0.1.0a4",
13
+ "ipyleaflet>=0.20.0",
14
+ "marimo[lsp,recommended]>=0.23.5",
15
  "numpy>=2.4.4",
16
  "pandas>=3.0.2",
17
  "requests>=2.33.1",
 
21
  dev = [
22
  "pre-commit>=4.6.0",
23
  "pytest>=9.0.3",
24
+ "responses>=0.26.0",
25
  "ruff>=0.15.12",
26
  ]
27
 
28
  [tool.ruff]
29
+ line-length = 125
30
  target-version = "py312"
31
 
32
  [tool.ruff.lint]
 
41
 
42
  ignore = [
43
  "B018", # Found useless expression (sometimes used for output in notebooks)
44
+ ]
45
+
46
+ [tool.marimo.runtime]
47
+ pythonpath = ["src"]
48
+
49
+ [tool.pytest.ini_options]
50
+ pythonpath = ["src"]
src/__init__.py ADDED
File without changes
src/arcgis_paginate.py ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reusable utilities for paginating ArcGIS REST API queries."""
2
+
3
+ import json
4
+ import time
5
+ from collections.abc import Generator
6
+
7
+ import geopandas as gpd
8
+ import pandas as pd
9
+ import requests
10
+ from shapely.geometry import Polygon
11
+
12
+
13
+ def shapely_to_esri_json(polygon: Polygon, wkid: int = 3857) -> dict | None:
14
+ """Convert a Shapely polygon to an ESRI JSON geometry object.
15
+
16
+ Args:
17
+ polygon: A Shapely Polygon (or MultiPolygon).
18
+ wkid: The spatial reference WKID for the output geometry.
19
+
20
+ Returns:
21
+ An ESRI JSON geometry dict with ``rings`` and ``spatialReference``,
22
+ or ``None`` if the polygon is empty.
23
+ """
24
+ if not polygon or polygon.is_empty:
25
+ return None
26
+ coords = list(polygon.exterior.coords)
27
+ rings = [[[x, y] for x, y in coords]]
28
+ return {"rings": rings, "spatialReference": {"wkid": wkid}}
29
+
30
+
31
+ def paginate_arcgis(
32
+ url: str,
33
+ geometry: str = None,
34
+ geometry_type: str = "esriGeometryPolygon",
35
+ spatial_rel: str = "esriSpatialRelIntersects",
36
+ in_sr: int = 3310,
37
+ out_fields: str = "*",
38
+ return_geometry: str = "true",
39
+ f: str = "geojson",
40
+ where: str = "1=1",
41
+ max_record_count: int = 2000,
42
+ delay: float = 0,
43
+ ) -> Generator[gpd.GeoDataFrame, None, None]:
44
+ """Paginate through an ArcGIS REST API query and yield GeoDataFrames.
45
+
46
+ Handles ``resultOffset`` / ``resultRecordCount`` pagination and respects
47
+ the server's ``exceededTransferLimit`` flag.
48
+
49
+ Args:
50
+ url: The ArcGIS REST endpoint URL.
51
+ geometry: JSON-encoded ESRI geometry string (e.g. from
52
+ :func:`shapely_to_esri_json`).
53
+ geometry_type: The geometry type parameter (e.g.
54
+ ``"esriGeometryPolygon"``).
55
+ spatial_rel: The spatial relationship parameter.
56
+ in_sr: The input spatial reference WKID.
57
+ out_fields: Comma-separated list of fields to return.
58
+ return_geometry: Whether to return geometry (``"true"`` or ``"false"``).
59
+ f: The output format (e.g. ``"geojson"``).
60
+ where: The SQL where clause.
61
+ max_record_count: Number of records to request per page.
62
+ delay: Seconds to wait between requests (for rate limiting).
63
+
64
+ Yields:
65
+ A GeoDataFrame for each page of results.
66
+
67
+ Raises:
68
+ requests.HTTPError: If the server returns a non-2xx status.
69
+ """
70
+ offset = 0
71
+
72
+ while True:
73
+ params = {
74
+ "geometry": geometry,
75
+ "geometryType": geometry_type,
76
+ "spatialRel": spatial_rel,
77
+ "inSR": str(in_sr),
78
+ "outFields": out_fields,
79
+ "returnGeometry": return_geometry,
80
+ "f": f,
81
+ "where": where,
82
+ "resultOffset": str(offset),
83
+ "resultRecordCount": str(max_record_count),
84
+ }
85
+
86
+ resp = requests.get(url, params=params)
87
+ resp.raise_for_status()
88
+ data = resp.json()
89
+
90
+ features = data.get("features", [])
91
+ if not features:
92
+ break
93
+
94
+ page = gpd.GeoDataFrame.from_features(features)
95
+ yield page
96
+
97
+ offset += max_record_count
98
+ time.sleep(delay)
99
+
100
+ if not data.get("properties", {}).get("exceededTransferLimit", False):
101
+ break
102
+
103
+
104
+ def fetch_from_arcgis(
105
+ url: str,
106
+ geometries: list[Polygon] = None,
107
+ out_fields: str = "*",
108
+ wkid: int = 3310,
109
+ max_record_count: int = 2000,
110
+ delay: float = 0,
111
+ ) -> gpd.GeoDataFrame:
112
+ """Query an ArcGIS parcel endpoint for multiple geometries and concatenate results.
113
+
114
+ For each geometry in ``geometries``, this calls :func:`paginate_arcgis`
115
+ and concatenates all returned pages into a single GeoDataFrame.
116
+
117
+ Args:
118
+ url: The ArcGIS REST endpoint URL.
119
+ geometries: A list of Shapely Polygon geometries to query.
120
+ out_fields: Comma-separated list of fields to return.
121
+ wkid: The spatial reference WKID for the input geometry.
122
+ max_record_count: Number of records to request per page.
123
+ delay: Seconds to wait between requests (for rate limiting).
124
+
125
+ Returns:
126
+ A single GeoDataFrame containing all results from all geometries.
127
+ """
128
+ if geometries is None:
129
+ geometries = [None]
130
+ all_geometries: list[gpd.GeoDataFrame] = []
131
+
132
+ for geom in geometries:
133
+ esri_geom = shapely_to_esri_json(geom, wkid=wkid)
134
+ geometry_json = json.dumps(esri_geom) if esri_geom else None
135
+
136
+ for page in paginate_arcgis(
137
+ url=url,
138
+ geometry=geometry_json,
139
+ geometry_type="esriGeometryPolygon",
140
+ spatial_rel="esriSpatialRelIntersects",
141
+ in_sr=wkid,
142
+ out_fields=out_fields,
143
+ return_geometry="true",
144
+ f="geojson",
145
+ where="1=1",
146
+ max_record_count=max_record_count,
147
+ delay=delay,
148
+ ):
149
+ all_geometries.append(page)
150
+
151
+ if not all_geometries:
152
+ return gpd.GeoDataFrame()
153
+
154
+ return gpd.GeoDataFrame(pd.concat(all_geometries, ignore_index=True))
tests/test_arcgis_paginate.py ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Tests for the ArcGIS pagination utilities."""
2
+
3
+ import json
4
+
5
+ import geopandas as gpd
6
+ import pytest
7
+ import responses
8
+ from shapely.geometry import Polygon, box
9
+
10
+ from src.arcgis_paginate import (
11
+ fetch_from_arcgis,
12
+ paginate_arcgis,
13
+ shapely_to_esri_json,
14
+ )
15
+
16
+
17
+ class TestShapelyToEsriJson:
18
+ def test_basic_polygon(self):
19
+ """A simple square polygon produces the expected ESRI JSON."""
20
+ poly = box(0, 0, 10, 10)
21
+ # Act
22
+ result = shapely_to_esri_json(poly, wkid=3310)
23
+ # Assert
24
+ assert result is not None
25
+ assert "rings" in result
26
+ assert "spatialReference" in result
27
+ assert result["spatialReference"]["wkid"] == 3310
28
+ # The exterior ring should have 5 coordinates (closed ring)
29
+ assert len(result["rings"][0]) == 5
30
+
31
+ def test_empty_polygon(self):
32
+ """An empty polygon returns None."""
33
+ poly = Polygon()
34
+ # Act
35
+ result = shapely_to_esri_json(poly)
36
+ # Assert
37
+ assert result is None
38
+
39
+ def test_custom_wkid(self):
40
+ """A custom spatial reference WKID is reflected in the output."""
41
+ poly = box(0, 0, 10, 10)
42
+ # Act
43
+ result = shapely_to_esri_json(poly, wkid=4326)
44
+ # Assert
45
+ assert result["spatialReference"]["wkid"] == 4326
46
+
47
+ def test_ring_coordinates_are_closed(self):
48
+ """The exterior ring's first and last coordinates should match."""
49
+ poly = box(1, 2, 5, 6)
50
+ # Act
51
+ result = shapely_to_esri_json(poly, wkid=3310)
52
+ # Assert
53
+ ring = result["rings"][0]
54
+ assert ring[0] == ring[-1]
55
+
56
+
57
+ EXPECTED_APN_1 = "123-456-789"
58
+ SAMPLE_FEATURE = {
59
+ "type": "Feature",
60
+ "geometry": {"type": "Polygon", "coordinates": [[[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]]]},
61
+ "properties": {"APN20": EXPECTED_APN_1, "CITY": "Los Angeles"},
62
+ }
63
+
64
+ EXPECTED_APN_2 = "987-654-321"
65
+ SAMPLE_FEATURE_2 = {
66
+ "type": "Feature",
67
+ "geometry": {"type": "Polygon", "coordinates": [[[2, 2], [3, 2], [3, 3], [2, 3], [2, 2]]]},
68
+ "properties": {"APN20": EXPECTED_APN_2, "CITY": "San Francisco"},
69
+ }
70
+
71
+ BASE_PARAMS = {
72
+ "geometry": '{"rings":[[[0,0],[10,0],[10,10],[0,10],[0,0]]],"spatialReference":{"wkid":3310}}',
73
+ "geometryType": "esriGeometryPolygon",
74
+ "spatialRel": "esriSpatialRelIntersects",
75
+ "inSR": "3310",
76
+ "outFields": "*",
77
+ "returnGeometry": "true",
78
+ "f": "geojson",
79
+ "where": "1=1",
80
+ }
81
+ BASE_URL = "https://example.com/arcgis/query"
82
+
83
+
84
+ def _build_geojson_response(features, exceeded_transfer_limit=False):
85
+ """Build a mock GeoJSON response body."""
86
+ return {
87
+ "type": "FeatureCollection",
88
+ "features": features,
89
+ "exceededTransferLimit": exceeded_transfer_limit,
90
+ }
91
+
92
+
93
+ class TestPaginateArcgis:
94
+ @responses.activate
95
+ def test_single_page(self):
96
+ """A single page of results is yielded once."""
97
+ body = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=False)
98
+ responses.get(BASE_URL, json=body)
99
+
100
+ # Act
101
+ pages = list(
102
+ paginate_arcgis(
103
+ url=BASE_URL,
104
+ geometry=BASE_PARAMS["geometry"],
105
+ max_record_count=2000,
106
+ delay=0,
107
+ )
108
+ )
109
+
110
+ # Assert
111
+ assert len(pages) == 1
112
+ assert isinstance(pages[0], gpd.GeoDataFrame)
113
+ assert len(pages[0]) == 1
114
+ assert pages[0]["APN20"].iloc[0] == EXPECTED_APN_1
115
+
116
+ @responses.activate
117
+ def test_multi_page(self):
118
+ """Multiple pages are yielded when exceededTransferLimit is true."""
119
+ body_1 = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=True)
120
+ body_2 = _build_geojson_response([SAMPLE_FEATURE_2], exceeded_transfer_limit=False)
121
+
122
+ responses.get(BASE_URL, json=body_1)
123
+ responses.get(BASE_URL, json=body_2)
124
+ # Act
125
+ pages = list(
126
+ paginate_arcgis(
127
+ url=BASE_URL,
128
+ geometry=BASE_PARAMS["geometry"],
129
+ max_record_count=1,
130
+ delay=0,
131
+ )
132
+ )
133
+ # Assert
134
+ assert len(pages) == 2
135
+ assert len(pages[0]) == 1
136
+ assert len(pages[1]) == 1
137
+ assert pages[0]["APN20"].iloc[0] == EXPECTED_APN_1
138
+ assert pages[1]["APN20"].iloc[0] == EXPECTED_APN_2
139
+
140
+ @responses.activate
141
+ def test_empty_response(self):
142
+ """A response with no features yields nothing."""
143
+ body = _build_geojson_response([], exceeded_transfer_limit=False)
144
+ responses.get(BASE_URL, json=body)
145
+
146
+ pages = list(
147
+ paginate_arcgis(
148
+ url=BASE_URL,
149
+ geometry=BASE_PARAMS["geometry"],
150
+ max_record_count=2000,
151
+ delay=0,
152
+ )
153
+ )
154
+
155
+ assert len(pages) == 0
156
+
157
+ @responses.activate
158
+ def test_http_error(self):
159
+ """A non-2xx response raises an HTTPError."""
160
+ responses.get(BASE_URL, status=500)
161
+
162
+ with pytest.raises(Exception) as exc_info:
163
+ list(
164
+ paginate_arcgis(
165
+ url=BASE_URL,
166
+ geometry=BASE_PARAMS["geometry"],
167
+ max_record_count=2000,
168
+ delay=0,
169
+ )
170
+ )
171
+
172
+ assert exc_info.type.__name__ in ("HTTPError", "ConnectionError")
173
+
174
+ @responses.activate
175
+ def test_offset_increments_correctly(self):
176
+ """The resultOffset parameter increases by max_record_count each page."""
177
+ body_1 = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=True)
178
+ body_2 = _build_geojson_response([SAMPLE_FEATURE_2], exceeded_transfer_limit=False)
179
+ record_count = 100
180
+
181
+ def request_callback(request):
182
+ offset = int(request.params.get("resultOffset", "0"))
183
+ if offset == 0:
184
+ return (200, {}, json.dumps(body_1))
185
+ elif offset == record_count:
186
+ return (200, {}, json.dumps(body_2))
187
+ return (200, {}, json.dumps(_build_geojson_response([], False)))
188
+
189
+ responses.add_callback(
190
+ responses.GET,
191
+ BASE_URL,
192
+ callback=request_callback,
193
+ )
194
+
195
+ pages = list(
196
+ paginate_arcgis(
197
+ url=BASE_URL,
198
+ geometry=BASE_PARAMS["geometry"],
199
+ max_record_count=record_count,
200
+ delay=0,
201
+ )
202
+ )
203
+
204
+ assert len(pages) == 2
205
+
206
+
207
+ class TestFetchAllParcels:
208
+ @responses.activate
209
+ def test_single_geometry(self):
210
+ """A single geometry returns all pages concatenated."""
211
+ body = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=False)
212
+ responses.get(BASE_URL, json=body)
213
+
214
+ geom = box(0, 0, 10, 10)
215
+ result = fetch_from_arcgis(
216
+ url=BASE_URL,
217
+ geometries=[geom],
218
+ wkid=3310,
219
+ max_record_count=2000,
220
+ delay=0,
221
+ )
222
+
223
+ assert isinstance(result, gpd.GeoDataFrame)
224
+ assert len(result) == 1
225
+ assert result["APN20"].iloc[0] == "123-456-789"
226
+
227
+ @responses.activate
228
+ def test_multiple_geometries(self):
229
+ """Multiple geometries have their results concatenated."""
230
+ body = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=False)
231
+ responses.get(BASE_URL, json=body)
232
+
233
+ geoms = [box(0, 0, 10, 10), box(20, 20, 30, 30)]
234
+ result = fetch_from_arcgis(
235
+ url=BASE_URL,
236
+ geometries=geoms,
237
+ wkid=3310,
238
+ max_record_count=2000,
239
+ delay=0,
240
+ )
241
+
242
+ # Two geometries, each returning one feature = 2 rows
243
+ assert len(result) == 2
244
+
245
+ @responses.activate
246
+ def test_empty_geometries_list(self):
247
+ """An empty list of geometries returns an empty GeoDataFrame."""
248
+ result = fetch_from_arcgis(
249
+ url=BASE_URL,
250
+ geometries=[],
251
+ wkid=3310,
252
+ max_record_count=2000,
253
+ delay=0,
254
+ )
255
+
256
+ assert isinstance(result, gpd.GeoDataFrame)
257
+ assert len(result) == 0
258
+
259
+ @responses.activate
260
+ def test_empty_polygon_skipped(self):
261
+ """An empty polygon geometry is skipped without making a request."""
262
+ body = _build_geojson_response([SAMPLE_FEATURE], exceeded_transfer_limit=False)
263
+ responses.get(BASE_URL, json=body)
264
+
265
+ geoms = [Polygon(), box(0, 0, 10, 10)]
266
+ result = fetch_from_arcgis(
267
+ url=BASE_URL,
268
+ geometries=geoms,
269
+ wkid=3310,
270
+ max_record_count=2000,
271
+ delay=0,
272
+ )
273
+
274
+ # Only the non-empty polygon should produce results
275
+ assert len(result) == 1
uv.lock CHANGED
@@ -82,6 +82,15 @@ wheels = [
82
  { url = "https://files.pythonhosted.org/packages/9d/09/961e7b4391bcd8b53d07d3a65404fa7aa733b91be7ffac72aa331251765f/arcgis-2.4.3-py3-none-any.whl", hash = "sha256:0f42ae7928617dadf66d409a48ffcc1d3b101267711017558125742cf63bb263", size = 13269989, upload-time = "2026-04-21T16:43:59.19Z" },
83
  ]
84
 
 
 
 
 
 
 
 
 
 
85
  [[package]]
86
  name = "attrs"
87
  version = "26.1.0"
@@ -302,6 +311,15 @@ wheels = [
302
  { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
303
  ]
304
 
 
 
 
 
 
 
 
 
 
305
  [[package]]
306
  name = "contourpy"
307
  version = "1.3.3"
@@ -444,6 +462,15 @@ dataframe = [
444
  { name = "pyarrow" },
445
  ]
446
 
 
 
 
 
 
 
 
 
 
447
  [[package]]
448
  name = "distlib"
449
  version = "0.4.0"
@@ -506,6 +533,15 @@ wheels = [
506
  { url = "https://files.pythonhosted.org/packages/7a/e3/9d34173ec068631faea3ea6e73050700729363e7e33306a9a3218e5cdc61/duckdb-1.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:c9f3e0b71b8a50fccfb42794899285d9d318ce2503782b9dd54868e5ecd0ad31", size = 14402513, upload-time = "2026-04-13T11:30:06.609Z" },
507
  ]
508
 
 
 
 
 
 
 
 
 
 
509
  [[package]]
510
  name = "fastjsonschema"
511
  version = "2.21.2"
@@ -624,6 +660,23 @@ wheels = [
624
  { url = "https://files.pythonhosted.org/packages/3c/78/6a04792ace63a93e162f1305392d500ae8ddcb620e7eb88a22fd622b35bb/geopandas-1.1.3-py3-none-any.whl", hash = "sha256:90d62a64f95eaa3be2ccc115c5f3d6e24208bb11983b390fdc0621a3eccd0230", size = 342514, upload-time = "2026-03-09T21:49:07.973Z" },
625
  ]
626
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
  [[package]]
628
  name = "griffelib"
629
  version = "2.0.2"
@@ -709,6 +762,72 @@ wheels = [
709
  { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
710
  ]
711
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
712
  [[package]]
713
  name = "itsdangerous"
714
  version = "2.2.0"
@@ -878,6 +997,24 @@ wheels = [
878
  { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" },
879
  ]
880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
881
  [[package]]
882
  name = "keyring"
883
  version = "25.7.0"
@@ -1109,7 +1246,7 @@ wheels = [
1109
 
1110
  [[package]]
1111
  name = "marimo"
1112
- version = "0.23.4"
1113
  source = { registry = "https://pypi.org/simple" }
1114
  dependencies = [
1115
  { name = "click" },
@@ -1131,9 +1268,9 @@ dependencies = [
1131
  { name = "uvicorn" },
1132
  { name = "websockets" },
1133
  ]
1134
- sdist = { url = "https://files.pythonhosted.org/packages/99/1a/79f8fc2af1be74283ba3b701cba77472ec4f30949ffa88a3166d4bb7e751/marimo-0.23.4.tar.gz", hash = "sha256:8e5f1bd78a73cb04d775e650473cfab745303be746f141a3654dcd246de2a4e6", size = 38403567, upload-time = "2026-04-28T18:01:51.14Z" }
1135
  wheels = [
1136
- { url = "https://files.pythonhosted.org/packages/8f/13/c1c3d0f889115ad33e2122efd16c842f8588aab7e0d243f29125a0ee8ad5/marimo-0.23.4-py3-none-any.whl", hash = "sha256:67806cf1dc4f438624e4640debf80e0689173399b8ee17de7f879cb07f6fb476", size = 38824790, upload-time = "2026-04-28T18:01:47.909Z" },
1137
  ]
1138
 
1139
  [package.optional-dependencies]
@@ -1282,6 +1419,8 @@ dependencies = [
1282
  { name = "arcgis" },
1283
  { name = "folium" },
1284
  { name = "geopandas" },
 
 
1285
  { name = "marimo", extra = ["lsp", "recommended"] },
1286
  { name = "numpy" },
1287
  { name = "pandas" },
@@ -1292,6 +1431,7 @@ dependencies = [
1292
  dev = [
1293
  { name = "pre-commit" },
1294
  { name = "pytest" },
 
1295
  { name = "ruff" },
1296
  ]
1297
 
@@ -1301,7 +1441,9 @@ requires-dist = [
1301
  { name = "arcgis", specifier = ">=2.4.3" },
1302
  { name = "folium", specifier = ">=0.20.0" },
1303
  { name = "geopandas", specifier = ">=1.1.3" },
1304
- { name = "marimo", extras = ["lsp", "recommended"], specifier = ">=0.23.4" },
 
 
1305
  { name = "numpy", specifier = ">=2.4.4" },
1306
  { name = "pandas", specifier = ">=3.0.2" },
1307
  { name = "requests", specifier = ">=2.33.1" },
@@ -1311,6 +1453,7 @@ requires-dist = [
1311
  dev = [
1312
  { name = "pre-commit", specifier = ">=4.6.0" },
1313
  { name = "pytest", specifier = ">=9.0.3" },
 
1314
  { name = "ruff", specifier = ">=0.15.12" },
1315
  ]
1316
 
@@ -1467,7 +1610,7 @@ wheels = [
1467
 
1468
  [[package]]
1469
  name = "openai"
1470
- version = "2.33.0"
1471
  source = { registry = "https://pypi.org/simple" }
1472
  dependencies = [
1473
  { name = "anyio" },
@@ -1479,9 +1622,9 @@ dependencies = [
1479
  { name = "tqdm" },
1480
  { name = "typing-extensions" },
1481
  ]
1482
- sdist = { url = "https://files.pythonhosted.org/packages/f0/ee/d056c82f63c05f06baac0cffb4a90952d8274f90c49dfe244f20497b9bbd/openai-2.33.0.tar.gz", hash = "sha256:f850c435e2a4685bba3295bd54912dd26315d9c1b7733068186134d6e0599f9a", size = 693254, upload-time = "2026-04-28T14:04:42.428Z" }
1483
  wheels = [
1484
- { url = "https://files.pythonhosted.org/packages/7d/32/37734d769bc8b42e4938785313cc05aade6cb0fa72479d3220a0d61a4e78/openai-2.33.0-py3-none-any.whl", hash = "sha256:03ac37d70e8c9e3a8124214e3afa785e2cbc12e627fbd98177a086ef2fd87ad5", size = 1162695, upload-time = "2026-04-28T14:04:40.482Z" },
1485
  ]
1486
 
1487
  [[package]]
@@ -1581,6 +1724,18 @@ wheels = [
1581
  { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" },
1582
  ]
1583
 
 
 
 
 
 
 
 
 
 
 
 
 
1584
  [[package]]
1585
  name = "pillow"
1586
  version = "12.2.0"
@@ -1706,6 +1861,18 @@ wheels = [
1706
  { url = "https://files.pythonhosted.org/packages/80/6e/4b28b62ecb6aae56769c34a8ff1d661473ec1e9519e2d5f8b2c150086b26/pre_commit-4.6.0-py2.py3-none-any.whl", hash = "sha256:e2cf246f7299edcabcf15f9b0571fdce06058527f0a06535068a86d38089f29b", size = 226472, upload-time = "2026-04-21T20:31:40.092Z" },
1707
  ]
1708
 
 
 
 
 
 
 
 
 
 
 
 
 
1709
  [[package]]
1710
  name = "psutil"
1711
  version = "7.2.2"
@@ -1734,6 +1901,24 @@ wheels = [
1734
  { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
1735
  ]
1736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1737
  [[package]]
1738
  name = "puremagic"
1739
  version = "1.30"
@@ -1805,7 +1990,7 @@ wheels = [
1805
 
1806
  [[package]]
1807
  name = "pydantic-ai-slim"
1808
- version = "1.89.1"
1809
  source = { registry = "https://pypi.org/simple" }
1810
  dependencies = [
1811
  { name = "genai-prices" },
@@ -1816,9 +2001,9 @@ dependencies = [
1816
  { name = "pydantic-graph" },
1817
  { name = "typing-inspection" },
1818
  ]
1819
- sdist = { url = "https://files.pythonhosted.org/packages/23/91/b2134056eb5debb7cb28e4efe7ca19fc5c7b2935e55b299a30ddad0d7746/pydantic_ai_slim-1.89.1.tar.gz", hash = "sha256:3ed967bff8dec992a907c1d1dabab2034a5f4aee75289de22e88b2ef9def8da6", size = 614728, upload-time = "2026-05-01T19:09:38.551Z" }
1820
  wheels = [
1821
- { url = "https://files.pythonhosted.org/packages/95/14/d0f7c8f828c460a517531e0df7cfe9e20f4315da8357a9068caaf0193bbb/pydantic_ai_slim-1.89.1-py3-none-any.whl", hash = "sha256:9e7d615a0a3e48993d067901e596e85708e9c8d1f6bef96c20c340385028d465", size = 780314, upload-time = "2026-05-01T19:09:28.843Z" },
1822
  ]
1823
 
1824
  [package.optional-dependencies]
@@ -1885,7 +2070,7 @@ wheels = [
1885
 
1886
  [[package]]
1887
  name = "pydantic-graph"
1888
- version = "1.89.1"
1889
  source = { registry = "https://pypi.org/simple" }
1890
  dependencies = [
1891
  { name = "httpx" },
@@ -1893,9 +2078,9 @@ dependencies = [
1893
  { name = "pydantic" },
1894
  { name = "typing-inspection" },
1895
  ]
1896
- sdist = { url = "https://files.pythonhosted.org/packages/ea/64/f26c4d17568ab06ae576af0771ad83753cc2661bf9ca5a5698d01404ee20/pydantic_graph-1.89.1.tar.gz", hash = "sha256:99b8ae10fd10400208ee469355969e2dc253a600c3f667a5e790874064846e85", size = 59257, upload-time = "2026-05-01T19:09:40.998Z" }
1897
  wheels = [
1898
- { url = "https://files.pythonhosted.org/packages/7e/52/9070e11f52424fe34e2ca96ae122902cab7c4325e2a90b33d44a410843b1/pydantic_graph-1.89.1-py3-none-any.whl", hash = "sha256:2ebce28573e81de9924c2ff68f90f949ccd96bbc2e8dc6cf4bb96208b34fbec0", size = 73065, upload-time = "2026-05-01T19:09:32.912Z" },
1899
  ]
1900
 
1901
  [[package]]
@@ -2374,6 +2559,20 @@ wheels = [
2374
  { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" },
2375
  ]
2376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2377
  [[package]]
2378
  name = "rpds-py"
2379
  version = "0.30.0"
@@ -2541,11 +2740,11 @@ wheels = [
2541
 
2542
  [[package]]
2543
  name = "sqlglot"
2544
- version = "30.6.0"
2545
  source = { registry = "https://pypi.org/simple" }
2546
- sdist = { url = "https://files.pythonhosted.org/packages/3c/66/6ece15f197874e56c76e1d0269cebf284ba992a80dfadca9d1972fdf7edf/sqlglot-30.6.0.tar.gz", hash = "sha256:246d34d39927422a50a3fa155f37b2f6346fba85f1a755b13c941eb32ef93361", size = 5835307, upload-time = "2026-04-20T20:11:08.164Z" }
2547
  wheels = [
2548
- { url = "https://files.pythonhosted.org/packages/dc/e7/64fe971cbca33a0446b06f4a5ff8e3fa4a1dbd0a039ceabcc3e6cf4087a9/sqlglot-30.6.0-py3-none-any.whl", hash = "sha256:e005fc2f47994f90d7d8df341f1cbe937518497b0b7b1507d4c03c4c9dfd2778", size = 673920, upload-time = "2026-04-20T20:11:05.758Z" },
2549
  ]
2550
 
2551
  [package.optional-dependencies]
@@ -2555,18 +2754,18 @@ c = [
2555
 
2556
  [[package]]
2557
  name = "sqlglotc"
2558
- version = "30.6.0"
2559
  source = { registry = "https://pypi.org/simple" }
2560
- sdist = { url = "https://files.pythonhosted.org/packages/7c/1d/2db751332b9fad038d2dfa72709bc0400214b934a889ede79103132cfac0/sqlglotc-30.6.0.tar.gz", hash = "sha256:61a1e4f533955db0bfd4219883bfab1f2030753ffaebc9cbb4e950dfbcae3db7", size = 461563, upload-time = "2026-04-20T20:10:13.301Z" }
2561
  wheels = [
2562
- { url = "https://files.pythonhosted.org/packages/7d/c2/a8efd35b030156dd097cd60c67bdc7648327e7aa5da5740c79ad7cfc9593/sqlglotc-30.6.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:4a5beba24625bc14070992fdddc7aed22df912007882f31f27b0e88d7b7d9445", size = 19029694, upload-time = "2026-04-20T20:09:39.594Z" },
2563
- { url = "https://files.pythonhosted.org/packages/4c/4a/2327c057ce665aa60fe23495350bb823406bce309d40bd664bd5de596636/sqlglotc-30.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:63b02231cc2f10d63df373fa02f3e03b4216e94c6f32ccdfd11adc770dc95fb7", size = 13097398, upload-time = "2026-04-20T20:09:42.437Z" },
2564
- { url = "https://files.pythonhosted.org/packages/12/6d/8b4d494f5143aae9caff1d299b04b7c3be892abe9557a4f4e6c9ee86b5b6/sqlglotc-30.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7acdb7b15f060bacea01e1c68d1dd70471f03bda89478ca0ee96bac3df03d0a7", size = 13764464, upload-time = "2026-04-20T20:09:45.367Z" },
2565
- { url = "https://files.pythonhosted.org/packages/37/c7/6e7b7bd632f9297b30016e1d8a492746d2d84b83d5d44570392fc021bb3e/sqlglotc-30.6.0-cp313-cp313-win_amd64.whl", hash = "sha256:4eb6f349c21d5a3e39733db5416e57ec171ca3b1c17b02badfdbe55d9a3666a5", size = 8340567, upload-time = "2026-04-20T20:09:48.956Z" },
2566
- { url = "https://files.pythonhosted.org/packages/f3/32/bc45dcc369c50d64cdcdba5fded95f635d1d0d9f26e113374e43a7427bc5/sqlglotc-30.6.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:27d6c22375395f1fdfe8a5d80b5fb781ca7849e29c7db7dfb11edb466a5b7a4d", size = 18937165, upload-time = "2026-04-20T20:09:51.556Z" },
2567
- { url = "https://files.pythonhosted.org/packages/06/7a/9455362e67d9d8706f329989ed5b1334e9e5b2406c23fdeee4c490e18b19/sqlglotc-30.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f0a37ad865b106005cb5d36efd537a412912477c83cbca1579ee45f17d73fe54", size = 13090460, upload-time = "2026-04-20T20:09:54.166Z" },
2568
- { url = "https://files.pythonhosted.org/packages/0d/d5/0d8881ea5c17fcd873eebc4ca18f8e58c773960d65ad8012f1dca047fa92/sqlglotc-30.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e397befde3d08d870a8f1c7bd80d7abc68ee119c472143ab196709319e205af4", size = 13708198, upload-time = "2026-04-20T20:09:56.885Z" },
2569
- { url = "https://files.pythonhosted.org/packages/c2/d8/9e991602bc2303b871c79ffffd8ef162d61f10f540a3dd25a31ed9cc8897/sqlglotc-30.6.0-cp314-cp314-win_amd64.whl", hash = "sha256:949f5d457c8c98998ed06d060873370d7553077ab3c2db9569acda5887cd6ce7", size = 8540325, upload-time = "2026-04-20T20:09:59.632Z" },
2570
  ]
2571
 
2572
  [[package]]
@@ -2583,6 +2782,20 @@ wheels = [
2583
  { url = "https://files.pythonhosted.org/packages/74/c3/07af17b6fcc2b02af294a8817e30441a502880a04c8d60be2d71e0a1eacc/sspilib-0.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:8ce23ec740dee025136370ed4ae64b7d1535368321049ef960012a57c93ebe15", size = 534304, upload-time = "2025-12-03T00:30:51.348Z" },
2584
  ]
2585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2586
  [[package]]
2587
  name = "starlette"
2588
  version = "1.0.0"
@@ -2674,6 +2887,18 @@ wheels = [
2674
  { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359, upload-time = "2024-04-19T11:11:46.763Z" },
2675
  ]
2676
 
 
 
 
 
 
 
 
 
 
 
 
 
2677
  [[package]]
2678
  name = "truststore"
2679
  version = "0.10.4"
@@ -2765,28 +2990,28 @@ wheels = [
2765
 
2766
  [[package]]
2767
  name = "uv"
2768
- version = "0.11.8"
2769
- source = { registry = "https://pypi.org/simple" }
2770
- sdist = { url = "https://files.pythonhosted.org/packages/c1/cd/4393fecb083897e956f016d4e66d0b8a496a08fe2e03cbda32a1e91da7ee/uv-0.11.8.tar.gz", hash = "sha256:bb2cf302b8503629aab6f0090a05551e6f8cfc2d687ca059cad7ec9e11214335", size = 4098020, upload-time = "2026-04-27T13:15:31.625Z" }
2771
- wheels = [
2772
- { url = "https://files.pythonhosted.org/packages/99/84/dcb676a3e36a3a2b44dc2e4dfea471b8cd709025e27cce3e588b176fd899/uv-0.11.8-py3-none-linux_armv6l.whl", hash = "sha256:a53e704a780a9e78a50f5a880e99a690f84e6fb9e82610903ce26f47c271d74c", size = 23664296, upload-time = "2026-04-27T13:15:15.644Z" },
2773
- { url = "https://files.pythonhosted.org/packages/86/05/557aa070fda7b8460bbbe1e867e8e5b80602c5b30ed77d1d94fc5acae518/uv-0.11.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d414fc3795b6f56fb6b1fa359537930924fdfe857750a144d2aedf3077be3f1d", size = 23087321, upload-time = "2026-04-27T13:15:36.193Z" },
2774
- { url = "https://files.pythonhosted.org/packages/d5/62/82953018801a250e16b091ef4b5e95e939b2f01224363d6fc80f600b7eff/uv-0.11.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f0d402e182ab581e934c159cc9edf25ec6e08d32f29aa797980e949afefc87cd", size = 21747142, upload-time = "2026-04-27T13:15:20.4Z" },
2775
- { url = "https://files.pythonhosted.org/packages/af/4c/477f2abe16f9a3d3c73077f15615878a303eef3760115ec946be58ecb9b2/uv-0.11.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:877c9af3b3955a35ef739e5b2ba79c56dae5c4d50420a7ed908c0901e1c8c807", size = 23425861, upload-time = "2026-04-27T13:15:10.374Z" },
2776
- { url = "https://files.pythonhosted.org/packages/2a/63/19f46193e49f0c9bf33346a4d726313871864db16e7cdd1c0a63bc112000/uv-0.11.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:8278144df8d80a83f770c264a5e79ea50791316d2a0dda869e53b3c1174142a8", size = 23215551, upload-time = "2026-04-27T13:15:38.706Z" },
2777
- { url = "https://files.pythonhosted.org/packages/72/3e/5595b265df848a33cd060b10e8f763a46d67521ac9f6c314e8a4ad5329d7/uv-0.11.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b3494ad32465f4e02259cfb104d24efe5bb8f7a782351f0354de9385415fb310", size = 23224170, upload-time = "2026-04-27T13:15:18.083Z" },
2778
- { url = "https://files.pythonhosted.org/packages/a6/b3/6ca95e690b52542caa1dae10ede57732f90c629946ab5f027ff746f87deb/uv-0.11.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a4421e27e81f85bce3bdb75986c38b5f9bfab9cdccaf3d977cf124b3f0f0b989", size = 24730048, upload-time = "2026-04-27T13:15:13.254Z" },
2779
- { url = "https://files.pythonhosted.org/packages/ea/49/71b7322067c85a3736a22a300072b0566991fe3f95b81bed793508ff5315/uv-0.11.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91943e77fc962752d4f64ad5739219858395981078051c740b28b52963b366aa", size = 25585906, upload-time = "2026-04-27T13:15:41.455Z" },
2780
- { url = "https://files.pythonhosted.org/packages/37/16/4e84cd5131327fe86d4784ebfc8a983149f4e6b811476ef271fc548b29e6/uv-0.11.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:41fbba287efcc9bc9505a60549b3a223220da720eacd03be8c23d9daaafa44f4", size = 24795740, upload-time = "2026-04-27T13:15:49.842Z" },
2781
- { url = "https://files.pythonhosted.org/packages/5b/01/df175979018743cc5ba6e2fb9dcec916868271e8d88cf0b9df8fd805a0df/uv-0.11.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d97bb2920d6cddc07faa475013461294cc09b77ec8139278416c6e54b938d037", size = 24824980, upload-time = "2026-04-27T13:15:53.506Z" },
2782
- { url = "https://files.pythonhosted.org/packages/1c/95/93c7f595f7136fb32807442860c55d0faed2cd3d7da4b7105ed3c2535d5f/uv-0.11.8-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:fb6a755305eb1e081dfe6a8bc007dbae2d26fe75e551656ca7c9cd08fba21d26", size = 23526790, upload-time = "2026-04-27T13:15:04.955Z" },
2783
- { url = "https://files.pythonhosted.org/packages/04/02/77430b89e172c20cc549b07a5b1dfda0c882c161b6d82781d3150a7063ac/uv-0.11.8-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:841ecbb38532698f73b14b49dc5f0c5e756194c7fcf6e5c6b7ed3859200fe91b", size = 24280498, upload-time = "2026-04-27T13:15:43.978Z" },
2784
- { url = "https://files.pythonhosted.org/packages/8a/e3/23e4a2bb91e3880e017e6116886e2d0bde14ba6aa95ddc458160ee630e7c/uv-0.11.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:b3ff2b20c1897105ebe7ed7f9b1b331c7171da029bc1e35970ce31dc086141c1", size = 24375233, upload-time = "2026-04-27T13:15:25.753Z" },
2785
- { url = "https://files.pythonhosted.org/packages/d9/67/fb7dc17cea816a667d1be2632525aa1687566bfafd17bdac561a7a6c9484/uv-0.11.8-py3-none-musllinux_1_1_i686.whl", hash = "sha256:ad381228b0170ef9646902c7e908d4a10a7ecc3da8139450506cf70c7e7f3e80", size = 23904818, upload-time = "2026-04-27T13:15:23.21Z" },
2786
- { url = "https://files.pythonhosted.org/packages/4b/91/b920e35f54f8c6b51f2c639e8170bb80a47a739a1442fea33a479bc93a3d/uv-0.11.8-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:0172b5215544844cd3db0fa3c73a2eb74999b3f00cd2527dde578725076d7b65", size = 25015448, upload-time = "2026-04-27T13:15:46.666Z" },
2787
- { url = "https://files.pythonhosted.org/packages/05/e8/3771956dc1c94b8484789bb8070d91872080d0af99332b8bdec7218c2bfd/uv-0.11.8-py3-none-win32.whl", hash = "sha256:e71c1dd23cbb480f3952c3a95b4fd00f96bd618e2a94583fc9388c500af3070d", size = 22823583, upload-time = "2026-04-27T13:15:33.674Z" },
2788
- { url = "https://files.pythonhosted.org/packages/f9/9b/a91a9c60dcae0e1e3da06377d38f32118a523697d461fe41bc9f117ecf59/uv-0.11.8-py3-none-win_amd64.whl", hash = "sha256:306c624c68d95dd7ea3647675323d72c1abc25f91c3e92ae4cd6f0f11b508726", size = 25407438, upload-time = "2026-04-27T13:15:28.957Z" },
2789
- { url = "https://files.pythonhosted.org/packages/61/5d/defa29fe617e6f07d4e514089e9d36fd9f44ede869e597e39ff7d69f6917/uv-0.11.8-py3-none-win_arm64.whl", hash = "sha256:a9853456696d579f206135c9dda7227a6ed8311b8a9a0b9b2008c4ae81950efe", size = 23914243, upload-time = "2026-04-27T13:15:07.717Z" },
2790
  ]
2791
 
2792
  [[package]]
@@ -2817,6 +3042,15 @@ wheels = [
2817
  { url = "https://files.pythonhosted.org/packages/4b/eb/03bfb1299d4c4510329e470f13f9a4ce793df7fcb5a2fd3510f911066f61/virtualenv-21.3.0-py3-none-any.whl", hash = "sha256:4d28ee41f6d9ec8f1f00cd472b9ffbcedda1b3d3b9a575b5c94a2d004fd51bd7", size = 7594690, upload-time = "2026-04-27T17:05:55.468Z" },
2818
  ]
2819
 
 
 
 
 
 
 
 
 
 
2820
  [[package]]
2821
  name = "websocket-client"
2822
  version = "1.9.0"
@@ -2862,6 +3096,15 @@ wheels = [
2862
  { url = "https://files.pythonhosted.org/packages/6f/28/258ebab549c2bf3e64d2b0217b973467394a9cea8c42f70418ca2c5d0d2e/websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec", size = 171598, upload-time = "2026-01-10T09:23:45.395Z" },
2863
  ]
2864
 
 
 
 
 
 
 
 
 
 
2865
  [[package]]
2866
  name = "xyzservices"
2867
  version = "2026.3.0"
 
82
  { url = "https://files.pythonhosted.org/packages/9d/09/961e7b4391bcd8b53d07d3a65404fa7aa733b91be7ffac72aa331251765f/arcgis-2.4.3-py3-none-any.whl", hash = "sha256:0f42ae7928617dadf66d409a48ffcc1d3b101267711017558125742cf63bb263", size = 13269989, upload-time = "2026-04-21T16:43:59.19Z" },
83
  ]
84
 
85
+ [[package]]
86
+ name = "asttokens"
87
+ version = "3.0.1"
88
+ source = { registry = "https://pypi.org/simple" }
89
+ sdist = { url = "https://files.pythonhosted.org/packages/be/a5/8e3f9b6771b0b408517c82d97aed8f2036509bc247d46114925e32fe33f0/asttokens-3.0.1.tar.gz", hash = "sha256:71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7", size = 62308, upload-time = "2025-11-15T16:43:48.578Z" }
90
+ wheels = [
91
+ { url = "https://files.pythonhosted.org/packages/d2/39/e7eaf1799466a4aef85b6a4fe7bd175ad2b1c6345066aa33f1f58d4b18d0/asttokens-3.0.1-py3-none-any.whl", hash = "sha256:15a3ebc0f43c2d0a50eeafea25e19046c68398e487b9f1f5b517f7c0f40f976a", size = 27047, upload-time = "2025-11-15T16:43:16.109Z" },
92
+ ]
93
+
94
  [[package]]
95
  name = "attrs"
96
  version = "26.1.0"
 
311
  { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
312
  ]
313
 
314
+ [[package]]
315
+ name = "comm"
316
+ version = "0.2.3"
317
+ source = { registry = "https://pypi.org/simple" }
318
+ sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" }
319
+ wheels = [
320
+ { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" },
321
+ ]
322
+
323
  [[package]]
324
  name = "contourpy"
325
  version = "1.3.3"
 
462
  { name = "pyarrow" },
463
  ]
464
 
465
+ [[package]]
466
+ name = "decorator"
467
+ version = "5.2.1"
468
+ source = { registry = "https://pypi.org/simple" }
469
+ sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711, upload-time = "2025-02-24T04:41:34.073Z" }
470
+ wheels = [
471
+ { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190, upload-time = "2025-02-24T04:41:32.565Z" },
472
+ ]
473
+
474
  [[package]]
475
  name = "distlib"
476
  version = "0.4.0"
 
533
  { url = "https://files.pythonhosted.org/packages/7a/e3/9d34173ec068631faea3ea6e73050700729363e7e33306a9a3218e5cdc61/duckdb-1.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:c9f3e0b71b8a50fccfb42794899285d9d318ce2503782b9dd54868e5ecd0ad31", size = 14402513, upload-time = "2026-04-13T11:30:06.609Z" },
534
  ]
535
 
536
+ [[package]]
537
+ name = "executing"
538
+ version = "2.2.1"
539
+ source = { registry = "https://pypi.org/simple" }
540
+ sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488, upload-time = "2025-09-01T09:48:10.866Z" }
541
+ wheels = [
542
+ { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" },
543
+ ]
544
+
545
  [[package]]
546
  name = "fastjsonschema"
547
  version = "2.21.2"
 
660
  { url = "https://files.pythonhosted.org/packages/3c/78/6a04792ace63a93e162f1305392d500ae8ddcb620e7eb88a22fd622b35bb/geopandas-1.1.3-py3-none-any.whl", hash = "sha256:90d62a64f95eaa3be2ccc115c5f3d6e24208bb11983b390fdc0621a3eccd0230", size = 342514, upload-time = "2026-03-09T21:49:07.973Z" },
661
  ]
662
 
663
+ [[package]]
664
+ name = "geopolars"
665
+ version = "0.1.0a4"
666
+ source = { registry = "https://pypi.org/simple" }
667
+ dependencies = [
668
+ { name = "numpy" },
669
+ { name = "polars" },
670
+ { name = "pyarrow" },
671
+ ]
672
+ sdist = { url = "https://files.pythonhosted.org/packages/29/21/e9ee286d3b903451df084ca43a49be155678b6020154f95bc269282752ec/geopolars-0.1.0a4.tar.gz", hash = "sha256:ae09588631fbebd8a3746b033c603e402d4b10ea82a925c5315bd130538508e9", size = 941989, upload-time = "2022-11-14T08:21:41.603Z" }
673
+ wheels = [
674
+ { url = "https://files.pythonhosted.org/packages/63/40/1859d9d4e9f1dba161f58a2de8e74f204a82081542bda74198abe6e8f051/geopolars-0.1.0a4-cp38-abi3-macosx_10_7_x86_64.whl", hash = "sha256:5420c400fd2f77c473cf07a537a3bdc823c1cf0f9e727c78e321ee60223c4557", size = 5226677, upload-time = "2022-11-14T08:21:33.288Z" },
675
+ { url = "https://files.pythonhosted.org/packages/af/e0/50b6b222bf9819c93d3dfc04af7e19006e0644b15866b8ede6ee0ec42c8a/geopolars-0.1.0a4-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:9f77b07916ce6d079d1dda7d3d35930ce476d014b738bcc79634d606df623e20", size = 5935114, upload-time = "2022-11-14T08:21:35.289Z" },
676
+ { url = "https://files.pythonhosted.org/packages/4b/4a/cc4c96b9c2604f99bfcc618273db623624239f1519e05e604b211d11e269/geopolars-0.1.0a4-cp38-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:d937cb7edf44026ef9d227355acd0dc7cf0dbf0810b9cf2a0c8cc826ca191ae5", size = 7256817, upload-time = "2022-11-14T08:21:36.862Z" },
677
+ { url = "https://files.pythonhosted.org/packages/6e/20/33f4c4765cd65b2122d132773ca017cd752029e967ff14fc3bc8c63eaf1c/geopolars-0.1.0a4-cp38-abi3-win_amd64.whl", hash = "sha256:0cae28f925e74b5bb8090000a39a3541a460370ca4ebb0b9e69486b6b26059d7", size = 8482962, upload-time = "2022-11-14T08:21:39.751Z" },
678
+ ]
679
+
680
  [[package]]
681
  name = "griffelib"
682
  version = "2.0.2"
 
762
  { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
763
  ]
764
 
765
+ [[package]]
766
+ name = "ipyleaflet"
767
+ version = "0.20.0"
768
+ source = { registry = "https://pypi.org/simple" }
769
+ dependencies = [
770
+ { name = "branca" },
771
+ { name = "ipywidgets" },
772
+ { name = "jupyter-leaflet" },
773
+ { name = "traittypes" },
774
+ { name = "xyzservices" },
775
+ ]
776
+ sdist = { url = "https://files.pythonhosted.org/packages/d8/f2/00facc58a1e9581d9365df5761bf7e12f9fa7132132111f6ee484fd58e42/ipyleaflet-0.20.0.tar.gz", hash = "sha256:098f317dd63c4bcac5176d5b78d40d5758c623f7cd013f0d0c9d7a70cefcdb34", size = 28932, upload-time = "2025-06-13T08:33:43.441Z" }
777
+ wheels = [
778
+ { url = "https://files.pythonhosted.org/packages/49/69/e9858f2c0b99bf9f036348d1c84b8026f438bb6875effe6a9bcd9883dada/ipyleaflet-0.20.0-py3-none-any.whl", hash = "sha256:b4c20ddc0b17d68e226cd3367ca2215a4db7e2b14374468c0eeaa54b53e4d173", size = 31578, upload-time = "2025-06-13T08:33:37.353Z" },
779
+ ]
780
+
781
+ [[package]]
782
+ name = "ipython"
783
+ version = "9.13.0"
784
+ source = { registry = "https://pypi.org/simple" }
785
+ dependencies = [
786
+ { name = "colorama", marker = "sys_platform == 'win32'" },
787
+ { name = "decorator" },
788
+ { name = "ipython-pygments-lexers" },
789
+ { name = "jedi" },
790
+ { name = "matplotlib-inline" },
791
+ { name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
792
+ { name = "prompt-toolkit" },
793
+ { name = "psutil" },
794
+ { name = "pygments" },
795
+ { name = "stack-data" },
796
+ { name = "traitlets" },
797
+ ]
798
+ sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/87cda5842cf5c31837c06ddb588e11c3c35d8ece89b7a0108c06b8c9b00a/ipython-9.13.0.tar.gz", hash = "sha256:7e834b6afc99f020e3f05966ced34792f40267d64cb1ea9043886dab0dde5967", size = 4430549, upload-time = "2026-04-24T12:24:55.221Z" }
799
+ wheels = [
800
+ { url = "https://files.pythonhosted.org/packages/b9/86/3060e8029b7cc505cce9a0137431dda81d0a3fde93a8f0f50ee0bf37a795/ipython-9.13.0-py3-none-any.whl", hash = "sha256:57f9d4639e20818d328d287c7b549af3d05f12486ea8f2e7f73e52a36ec4d201", size = 627274, upload-time = "2026-04-24T12:24:53.038Z" },
801
+ ]
802
+
803
+ [[package]]
804
+ name = "ipython-pygments-lexers"
805
+ version = "1.1.1"
806
+ source = { registry = "https://pypi.org/simple" }
807
+ dependencies = [
808
+ { name = "pygments" },
809
+ ]
810
+ sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" }
811
+ wheels = [
812
+ { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" },
813
+ ]
814
+
815
+ [[package]]
816
+ name = "ipywidgets"
817
+ version = "8.1.8"
818
+ source = { registry = "https://pypi.org/simple" }
819
+ dependencies = [
820
+ { name = "comm" },
821
+ { name = "ipython" },
822
+ { name = "jupyterlab-widgets" },
823
+ { name = "traitlets" },
824
+ { name = "widgetsnbextension" },
825
+ ]
826
+ sdist = { url = "https://files.pythonhosted.org/packages/4c/ae/c5ce1edc1afe042eadb445e95b0671b03cee61895264357956e61c0d2ac0/ipywidgets-8.1.8.tar.gz", hash = "sha256:61f969306b95f85fba6b6986b7fe45d73124d1d9e3023a8068710d47a22ea668", size = 116739, upload-time = "2025-11-01T21:18:12.393Z" }
827
+ wheels = [
828
+ { url = "https://files.pythonhosted.org/packages/56/6d/0d9848617b9f753b87f214f1c682592f7ca42de085f564352f10f0843026/ipywidgets-8.1.8-py3-none-any.whl", hash = "sha256:ecaca67aed704a338f88f67b1181b58f821ab5dc89c1f0f5ef99db43c1c2921e", size = 139808, upload-time = "2025-11-01T21:18:10.956Z" },
829
+ ]
830
+
831
  [[package]]
832
  name = "itsdangerous"
833
  version = "2.2.0"
 
997
  { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" },
998
  ]
999
 
1000
+ [[package]]
1001
+ name = "jupyter-leaflet"
1002
+ version = "0.20.0"
1003
+ source = { registry = "https://pypi.org/simple" }
1004
+ sdist = { url = "https://files.pythonhosted.org/packages/4e/db/870bd0f8995c9359ea1501ba82ed7daf40bbbac95efeca80a35f3705929b/jupyter_leaflet-0.20.0.tar.gz", hash = "sha256:ad826dd7976a2b6d8b91d762c25a69a44f123b7b3bd1acaba236bd9af8e68cb4", size = 1306561, upload-time = "2025-06-13T08:33:46.282Z" }
1005
+ wheels = [
1006
+ { url = "https://files.pythonhosted.org/packages/16/95/ffe543060eb3b1570d78c3f2c1948c640a6758ff5c6479c27e474819115b/jupyter_leaflet-0.20.0-py3-none-any.whl", hash = "sha256:2e27ce83647316424f04845e3a6af35e1ee44c177c318a145646b11f4afe0764", size = 1107090, upload-time = "2025-06-13T08:33:40.416Z" },
1007
+ ]
1008
+
1009
+ [[package]]
1010
+ name = "jupyterlab-widgets"
1011
+ version = "3.0.16"
1012
+ source = { registry = "https://pypi.org/simple" }
1013
+ sdist = { url = "https://files.pythonhosted.org/packages/26/2d/ef58fed122b268c69c0aa099da20bc67657cdfb2e222688d5731bd5b971d/jupyterlab_widgets-3.0.16.tar.gz", hash = "sha256:423da05071d55cf27a9e602216d35a3a65a3e41cdf9c5d3b643b814ce38c19e0", size = 897423, upload-time = "2025-11-01T21:11:29.724Z" }
1014
+ wheels = [
1015
+ { url = "https://files.pythonhosted.org/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl", hash = "sha256:45fa36d9c6422cf2559198e4db481aa243c7a32d9926b500781c830c80f7ecf8", size = 914926, upload-time = "2025-11-01T21:11:28.008Z" },
1016
+ ]
1017
+
1018
  [[package]]
1019
  name = "keyring"
1020
  version = "25.7.0"
 
1246
 
1247
  [[package]]
1248
  name = "marimo"
1249
+ version = "0.23.5"
1250
  source = { registry = "https://pypi.org/simple" }
1251
  dependencies = [
1252
  { name = "click" },
 
1268
  { name = "uvicorn" },
1269
  { name = "websockets" },
1270
  ]
1271
+ sdist = { url = "https://files.pythonhosted.org/packages/45/99/13a8947b4544b1b65ed279a550b2d2a57bbcb24fb6591020542f46dca86b/marimo-0.23.5.tar.gz", hash = "sha256:4eb4c7c12ea1c3e8f25e56a9365a4ae1b0b995faa2bd614c576fa0ea3e0c4cad", size = 38417181, upload-time = "2026-05-04T18:51:26.277Z" }
1272
  wheels = [
1273
+ { url = "https://files.pythonhosted.org/packages/0c/d1/f2300ce52c391c5e0fa86a6292e45cb419898626b2900c2c1b44a3ba7162/marimo-0.23.5-py3-none-any.whl", hash = "sha256:9cf039ba5a11a5a3035ed0a165d3f84e2d67a4046422925b77fde154062c5112", size = 38835716, upload-time = "2026-05-04T18:51:21.64Z" },
1274
  ]
1275
 
1276
  [package.optional-dependencies]
 
1419
  { name = "arcgis" },
1420
  { name = "folium" },
1421
  { name = "geopandas" },
1422
+ { name = "geopolars" },
1423
+ { name = "ipyleaflet" },
1424
  { name = "marimo", extra = ["lsp", "recommended"] },
1425
  { name = "numpy" },
1426
  { name = "pandas" },
 
1431
  dev = [
1432
  { name = "pre-commit" },
1433
  { name = "pytest" },
1434
+ { name = "responses" },
1435
  { name = "ruff" },
1436
  ]
1437
 
 
1441
  { name = "arcgis", specifier = ">=2.4.3" },
1442
  { name = "folium", specifier = ">=0.20.0" },
1443
  { name = "geopandas", specifier = ">=1.1.3" },
1444
+ { name = "geopolars", specifier = ">=0.1.0a4" },
1445
+ { name = "ipyleaflet", specifier = ">=0.20.0" },
1446
+ { name = "marimo", extras = ["lsp", "recommended"], specifier = ">=0.23.5" },
1447
  { name = "numpy", specifier = ">=2.4.4" },
1448
  { name = "pandas", specifier = ">=3.0.2" },
1449
  { name = "requests", specifier = ">=2.33.1" },
 
1453
  dev = [
1454
  { name = "pre-commit", specifier = ">=4.6.0" },
1455
  { name = "pytest", specifier = ">=9.0.3" },
1456
+ { name = "responses", specifier = ">=0.26.0" },
1457
  { name = "ruff", specifier = ">=0.15.12" },
1458
  ]
1459
 
 
1610
 
1611
  [[package]]
1612
  name = "openai"
1613
+ version = "2.34.0"
1614
  source = { registry = "https://pypi.org/simple" }
1615
  dependencies = [
1616
  { name = "anyio" },
 
1622
  { name = "tqdm" },
1623
  { name = "typing-extensions" },
1624
  ]
1625
+ sdist = { url = "https://files.pythonhosted.org/packages/7b/89/f1e78f5f828f4e97a6ebca8f45c6b35667da12b074ac490dc8362b882279/openai-2.34.0.tar.gz", hash = "sha256:828b4efcbb126352c2b5eb97d33ae890c92a71ab72511aefc1b7fe64aeccb07b", size = 759556, upload-time = "2026-05-04T17:34:08.721Z" }
1626
  wheels = [
1627
+ { url = "https://files.pythonhosted.org/packages/f2/40/f090499f10514515081d09cb9da09f25b821eb20497e9423afe4f07b4ecf/openai-2.34.0-py3-none-any.whl", hash = "sha256:c996a71b1a210f3569844572ad4c609307e978515fb76877cf449b72596e549e", size = 1316535, upload-time = "2026-05-04T17:34:06.773Z" },
1628
  ]
1629
 
1630
  [[package]]
 
1724
  { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" },
1725
  ]
1726
 
1727
+ [[package]]
1728
+ name = "pexpect"
1729
+ version = "4.9.0"
1730
+ source = { registry = "https://pypi.org/simple" }
1731
+ dependencies = [
1732
+ { name = "ptyprocess", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
1733
+ ]
1734
+ sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" }
1735
+ wheels = [
1736
+ { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" },
1737
+ ]
1738
+
1739
  [[package]]
1740
  name = "pillow"
1741
  version = "12.2.0"
 
1861
  { url = "https://files.pythonhosted.org/packages/80/6e/4b28b62ecb6aae56769c34a8ff1d661473ec1e9519e2d5f8b2c150086b26/pre_commit-4.6.0-py2.py3-none-any.whl", hash = "sha256:e2cf246f7299edcabcf15f9b0571fdce06058527f0a06535068a86d38089f29b", size = 226472, upload-time = "2026-04-21T20:31:40.092Z" },
1862
  ]
1863
 
1864
+ [[package]]
1865
+ name = "prompt-toolkit"
1866
+ version = "3.0.52"
1867
+ source = { registry = "https://pypi.org/simple" }
1868
+ dependencies = [
1869
+ { name = "wcwidth" },
1870
+ ]
1871
+ sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198, upload-time = "2025-08-27T15:24:02.057Z" }
1872
+ wheels = [
1873
+ { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" },
1874
+ ]
1875
+
1876
  [[package]]
1877
  name = "psutil"
1878
  version = "7.2.2"
 
1901
  { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
1902
  ]
1903
 
1904
+ [[package]]
1905
+ name = "ptyprocess"
1906
+ version = "0.7.0"
1907
+ source = { registry = "https://pypi.org/simple" }
1908
+ sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" }
1909
+ wheels = [
1910
+ { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" },
1911
+ ]
1912
+
1913
+ [[package]]
1914
+ name = "pure-eval"
1915
+ version = "0.2.3"
1916
+ source = { registry = "https://pypi.org/simple" }
1917
+ sdist = { url = "https://files.pythonhosted.org/packages/cd/05/0a34433a064256a578f1783a10da6df098ceaa4a57bbeaa96a6c0352786b/pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42", size = 19752, upload-time = "2024-07-21T12:58:21.801Z" }
1918
+ wheels = [
1919
+ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842, upload-time = "2024-07-21T12:58:20.04Z" },
1920
+ ]
1921
+
1922
  [[package]]
1923
  name = "puremagic"
1924
  version = "1.30"
 
1990
 
1991
  [[package]]
1992
  name = "pydantic-ai-slim"
1993
+ version = "1.90.0"
1994
  source = { registry = "https://pypi.org/simple" }
1995
  dependencies = [
1996
  { name = "genai-prices" },
 
2001
  { name = "pydantic-graph" },
2002
  { name = "typing-inspection" },
2003
  ]
2004
+ sdist = { url = "https://files.pythonhosted.org/packages/ee/1a/8d27dd7f4b34a1ed78900943a0933c4c7e290cfe238f80d9e8fc8fe4c1b1/pydantic_ai_slim-1.90.0.tar.gz", hash = "sha256:39e6c8eca29436a6aa9a7440852cb80081ebd54d49b91a1dfbc18dd4a6da77a0", size = 616448, upload-time = "2026-05-05T00:51:04.306Z" }
2005
  wheels = [
2006
+ { url = "https://files.pythonhosted.org/packages/53/3d/39ddaaee36de205969b3a09a73ee1dde9c9f4c106a711a2c18fcd3009a6a/pydantic_ai_slim-1.90.0-py3-none-any.whl", hash = "sha256:4916258f5a422e5aace4cc5285fa55e7cc332939109594f2c1ff9a5f59be4104", size = 782077, upload-time = "2026-05-05T00:50:55.905Z" },
2007
  ]
2008
 
2009
  [package.optional-dependencies]
 
2070
 
2071
  [[package]]
2072
  name = "pydantic-graph"
2073
+ version = "1.90.0"
2074
  source = { registry = "https://pypi.org/simple" }
2075
  dependencies = [
2076
  { name = "httpx" },
 
2078
  { name = "pydantic" },
2079
  { name = "typing-inspection" },
2080
  ]
2081
+ sdist = { url = "https://files.pythonhosted.org/packages/5e/19/2cb30b5dd3ad367b838dbc858d63b428a36fd371ef1e19c831d04e0b23ee/pydantic_graph-1.90.0.tar.gz", hash = "sha256:30d69bb491599612ad88a5122ebf4a10a000eae8f89abb8910f1532bead23cc5", size = 59253, upload-time = "2026-05-05T00:51:07.011Z" }
2082
  wheels = [
2083
+ { url = "https://files.pythonhosted.org/packages/d4/09/7f86467a2a113b7dbaa415bb068972401a8c66db310de38dd8ef755e573a/pydantic_graph-1.90.0-py3-none-any.whl", hash = "sha256:0845d5726f95a63e89342bcf8236c8a660d616b7e5a30d8aa2c9a731f96018ed", size = 73066, upload-time = "2026-05-05T00:50:59.911Z" },
2084
  ]
2085
 
2086
  [[package]]
 
2559
  { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" },
2560
  ]
2561
 
2562
+ [[package]]
2563
+ name = "responses"
2564
+ version = "0.26.0"
2565
+ source = { registry = "https://pypi.org/simple" }
2566
+ dependencies = [
2567
+ { name = "pyyaml" },
2568
+ { name = "requests" },
2569
+ { name = "urllib3" },
2570
+ ]
2571
+ sdist = { url = "https://files.pythonhosted.org/packages/9f/b4/b7e040379838cc71bf5aabdb26998dfbe5ee73904c92c1c161faf5de8866/responses-0.26.0.tar.gz", hash = "sha256:c7f6923e6343ef3682816ba421c006626777893cb0d5e1434f674b649bac9eb4", size = 81303, upload-time = "2026-02-19T14:38:05.574Z" }
2572
+ wheels = [
2573
+ { url = "https://files.pythonhosted.org/packages/ce/04/7f73d05b556da048923e31a0cc878f03be7c5425ed1f268082255c75d872/responses-0.26.0-py3-none-any.whl", hash = "sha256:03ec4409088cd5c66b71ecbbbd27fe2c58ddfad801c66203457b3e6a04868c37", size = 35099, upload-time = "2026-02-19T14:38:03.847Z" },
2574
+ ]
2575
+
2576
  [[package]]
2577
  name = "rpds-py"
2578
  version = "0.30.0"
 
2740
 
2741
  [[package]]
2742
  name = "sqlglot"
2743
+ version = "30.7.0"
2744
  source = { registry = "https://pypi.org/simple" }
2745
+ sdist = { url = "https://files.pythonhosted.org/packages/c4/56/56d234bb267009a4b5fbaf56bd11eb5db91e0eaf0235b3ab53759d0cac2f/sqlglot-30.7.0.tar.gz", hash = "sha256:eaf90c7d61978ce98fb52718b7a578054bd0cebcc9ab6f3818ad4391ea9d6b69", size = 5860425, upload-time = "2026-05-04T17:02:23.346Z" }
2746
  wheels = [
2747
+ { url = "https://files.pythonhosted.org/packages/1f/08/bdc2fbd41b61173dade9ebb96b56e072a1cd7bdac24d8195e6dc5005186e/sqlglot-30.7.0-py3-none-any.whl", hash = "sha256:30421efcf3d57f95e57deaa755f65976c8b10735923f79986595dea912dc8206", size = 683613, upload-time = "2026-05-04T17:02:21.623Z" },
2748
  ]
2749
 
2750
  [package.optional-dependencies]
 
2754
 
2755
  [[package]]
2756
  name = "sqlglotc"
2757
+ version = "30.7.0"
2758
  source = { registry = "https://pypi.org/simple" }
2759
+ sdist = { url = "https://files.pythonhosted.org/packages/78/b2/65a8763e7ed65028c7b905108cf8333f1ddf84a138bd6ec553f04af51c07/sqlglotc-30.7.0.tar.gz", hash = "sha256:451bc8851f5a44474341f8ad2eded57d7f2d7a466063658a1c979bcd04755a7f", size = 473396, upload-time = "2026-05-04T17:01:29.229Z" }
2760
  wheels = [
2761
+ { url = "https://files.pythonhosted.org/packages/32/9e/a64538114aee75b90dc7f110417d48729c53f5433518b0bd9a27d165d20c/sqlglotc-30.7.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:1209a02da76a7715a4df1a0e4834ebe8969b2843558bca32fbcd251afbc65540", size = 31385723, upload-time = "2026-05-04T17:01:00.325Z" },
2762
+ { url = "https://files.pythonhosted.org/packages/47/1b/06c5a0726041e8f9a5053ded5e92173a97994510b201ebec04aef9eed6b2/sqlglotc-30.7.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:753dc1fe1da9de318091496c3c50769fdf1614b94ba910c4410f5e4cfd6550a0", size = 24621253, upload-time = "2026-05-04T17:01:03.772Z" },
2763
+ { url = "https://files.pythonhosted.org/packages/18/c1/ea3128ebfcc27ab6f7cb74345d7cc9e2662ad56c2e5e7d590a18131f2530/sqlglotc-30.7.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1162f0f76cff9c5577ac9ca4916f8e9bebceec3865112fd0b0d69b15bc047f13", size = 25869615, upload-time = "2026-05-04T17:01:11.594Z" },
2764
+ { url = "https://files.pythonhosted.org/packages/37/06/7d1c00846eb0e96e9b2de8c09e0196788362110812a2c5672b45fbdbde4b/sqlglotc-30.7.0-cp313-cp313-win_amd64.whl", hash = "sha256:e229a65b355d945eba162cd0c12408bab54bd870fc3e55e658ee7cf91691e98a", size = 10771263, upload-time = "2026-05-04T17:01:14.089Z" },
2765
+ { url = "https://files.pythonhosted.org/packages/c1/41/390c944b81565bb534e9db80966c70a28c90cdd9a319eece3ae9ac28df3d/sqlglotc-30.7.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:84531f49a53201ddba54d8c6def64122a7474a1a859f39f207a1abb3b17ce1c8", size = 31300584, upload-time = "2026-05-04T17:01:17.612Z" },
2766
+ { url = "https://files.pythonhosted.org/packages/96/69/125de2ea53b04911ff9fa997ec1bf3fc4f4179e9812c4b0347ea61e68725/sqlglotc-30.7.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c548fbcaa5a82aad19747e1a7bd8bd4b9a6067ca0b6069e4d75893692971830f", size = 24615687, upload-time = "2026-05-04T17:01:20.865Z" },
2767
+ { url = "https://files.pythonhosted.org/packages/44/51/c372eed9077c48cef7d7f222f26dba33d2528263020218d8195c73bc22ce/sqlglotc-30.7.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8b3036658046786deb010ac318979c2f6ac647eba4cee4c17e181e9fc4fec46", size = 25782275, upload-time = "2026-05-04T17:01:24.284Z" },
2768
+ { url = "https://files.pythonhosted.org/packages/18/87/e92dc6573bc7ea343e5945bc2a0b3b896f1aaed665da8abbc51f59ee0afe/sqlglotc-30.7.0-cp314-cp314-win_amd64.whl", hash = "sha256:51551c8d1ce7965a6129f0a86ff248b1ac07f3b847be93fa5b9326f5c046046e", size = 10865876, upload-time = "2026-05-04T17:01:27.22Z" },
2769
  ]
2770
 
2771
  [[package]]
 
2782
  { url = "https://files.pythonhosted.org/packages/74/c3/07af17b6fcc2b02af294a8817e30441a502880a04c8d60be2d71e0a1eacc/sspilib-0.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:8ce23ec740dee025136370ed4ae64b7d1535368321049ef960012a57c93ebe15", size = 534304, upload-time = "2025-12-03T00:30:51.348Z" },
2783
  ]
2784
 
2785
+ [[package]]
2786
+ name = "stack-data"
2787
+ version = "0.6.3"
2788
+ source = { registry = "https://pypi.org/simple" }
2789
+ dependencies = [
2790
+ { name = "asttokens" },
2791
+ { name = "executing" },
2792
+ { name = "pure-eval" },
2793
+ ]
2794
+ sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" }
2795
+ wheels = [
2796
+ { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" },
2797
+ ]
2798
+
2799
  [[package]]
2800
  name = "starlette"
2801
  version = "1.0.0"
 
2887
  { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359, upload-time = "2024-04-19T11:11:46.763Z" },
2888
  ]
2889
 
2890
+ [[package]]
2891
+ name = "traittypes"
2892
+ version = "0.2.3"
2893
+ source = { registry = "https://pypi.org/simple" }
2894
+ dependencies = [
2895
+ { name = "traitlets" },
2896
+ ]
2897
+ sdist = { url = "https://files.pythonhosted.org/packages/d6/8d/37d686f52dfbccc47b857751531ffdec262b0f35158dd3b306030dafdb83/traittypes-0.2.3.tar.gz", hash = "sha256:212feed38d566d772648768b78d3347c148ef23915b91c02078188e631316c86", size = 16003, upload-time = "2025-10-22T11:06:09.952Z" }
2898
+ wheels = [
2899
+ { url = "https://files.pythonhosted.org/packages/8d/c0/fdf9d3ee103ce66a55f0532835ad5e154226c5222423c6636ba049dc42fc/traittypes-0.2.3-py2.py3-none-any.whl", hash = "sha256:49016082ce740d6556d9bb4672ee2d899cd14f9365f17cbb79d5d96b47096d4e", size = 8130, upload-time = "2025-10-22T11:06:08.824Z" },
2900
+ ]
2901
+
2902
  [[package]]
2903
  name = "truststore"
2904
  version = "0.10.4"
 
2990
 
2991
  [[package]]
2992
  name = "uv"
2993
+ version = "0.11.10"
2994
+ source = { registry = "https://pypi.org/simple" }
2995
+ sdist = { url = "https://files.pythonhosted.org/packages/6b/87/05605a6c303736a4db98d25efcf4466b99d0c416a567ab0b4f6cf5f74bb2/uv-0.11.10.tar.gz", hash = "sha256:9b3a2ce56c4a22065462473acee0b729140370650974de4e781a5273f49371fa", size = 4112520, upload-time = "2026-05-05T20:22:04.903Z" }
2996
+ wheels = [
2997
+ { url = "https://files.pythonhosted.org/packages/f1/26/a1659dfd05d4206a2e5ae8ce2ba215762901f9424f2e5b5a317ea84c84b4/uv-0.11.10-py3-none-linux_armv6l.whl", hash = "sha256:136dfcc1d1e95749880ffc07deca7ff9f88bce0f81df5cc437238950483747ed", size = 23553483, upload-time = "2026-05-05T20:21:51.565Z" },
2998
+ { url = "https://files.pythonhosted.org/packages/70/7f/22152a46b2ea9bcd9532ea3efa8a6a28488fe162f1bf3cc1f55c003efad8/uv-0.11.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:7f61d75508075576ebfd8c17dc96e63276a5d8f7f2c5a969e8fe529d9685816b", size = 23014921, upload-time = "2026-05-05T20:22:06.655Z" },
2999
+ { url = "https://files.pythonhosted.org/packages/ed/9f/846c8eb8b5ddd4e1dd6193ef8f1450d83d869bb3aac8b0249d3a5a709fa8/uv-0.11.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:adaae647da800b6ffe8a3d5a9c098704228dd001834f7e113107e5fd02b56df6", size = 21662611, upload-time = "2026-05-05T20:21:38.226Z" },
3000
+ { url = "https://files.pythonhosted.org/packages/5b/5e/f750dcde6598ed5afeb267e5122a5328feba0bd8745f8a6130f9dc9500a5/uv-0.11.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:12ace874453eb3a80af4684f72719751127443be75d1422e4a068a5758142f1b", size = 23309698, upload-time = "2026-05-05T20:22:00.023Z" },
3001
+ { url = "https://files.pythonhosted.org/packages/53/27/6960b4855cab4297dd4aa0ccabf0b950e046c04be0b3171de383025db562/uv-0.11.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:1f6e5149f89b66458f1f7674c452c8bb02c3a7c0ef3a2b1852cebe9ac044fbd0", size = 23066106, upload-time = "2026-05-05T20:22:02.647Z" },
3002
+ { url = "https://files.pythonhosted.org/packages/fa/5e/3b64a98cd7b5f0f3d2ba2c7fadb20a9ca06f1369aace5bff62e22344d78f/uv-0.11.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:dc5e49567513edd729e41a2ab57d2add3e5770b25b9c946b3ac80ea79d86cad5", size = 23095741, upload-time = "2026-05-05T20:22:12.112Z" },
3003
+ { url = "https://files.pythonhosted.org/packages/ab/27/b4e071b10dc934e39af15bee5ba7fc0e72ab29fa53beb068b84617cba902/uv-0.11.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:58eeaf2ed00beebe4d6a277bd7373ed8d0da651e98b6b481c127463123486f99", size = 24572575, upload-time = "2026-05-05T20:21:46.317Z" },
3004
+ { url = "https://files.pythonhosted.org/packages/8a/e2/58f3ef1a18aebd2becd93b5036750b01647dc425818f77011a5ddd01606c/uv-0.11.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:82c19288fbb1b5ad37565a8e242a7ee282478f8e67c0cc33a552d32a695af338", size = 25440079, upload-time = "2026-05-05T20:22:09.465Z" },
3005
+ { url = "https://files.pythonhosted.org/packages/3d/fc/4e382b58cad8fa201ec020dd0c647f867af3088a9a6450920b8fa48ed0ed/uv-0.11.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:98bfe0ab36eb59f66f2d79fff05da4ce5f19629f62c8590a2f9446eaffdcb15b", size = 24554498, upload-time = "2026-05-05T20:21:35.505Z" },
3006
+ { url = "https://files.pythonhosted.org/packages/08/20/f0577dc32606c7c7db73d9df116683ea4aeedcc1f57eebda55ad36134016/uv-0.11.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a16c1fced229b82403411378182e08a86f814a9f15a281e558cf2f0d02fc4c99", size = 24671197, upload-time = "2026-05-05T20:22:15.444Z" },
3007
+ { url = "https://files.pythonhosted.org/packages/3a/e4/45ad4e0f95e178a7124095e3b2ab08edf5ca2977497d1c32ed101814c42a/uv-0.11.10-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:700ef6a0504ea98592b7bebd1196ad2f4c84be834c913e3cbd4f1411a814b40b", size = 23368345, upload-time = "2026-05-05T20:21:31.72Z" },
3008
+ { url = "https://files.pythonhosted.org/packages/34/26/03510e70a4458ea62a9193e82330bc1c10b3d378f27de62eb29fd7ae3e71/uv-0.11.10-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:0100bac6d5b1d7f133cf9def4b6ee51cef9098e04ff0b0ecb5ea19921b37c9af", size = 24080176, upload-time = "2026-05-05T20:21:40.726Z" },
3009
+ { url = "https://files.pythonhosted.org/packages/4f/3c/48ae3bcd6157c38110924a1462b7a41b6b3bb54a5174c57a950b3bcbd401/uv-0.11.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:deca9575ac2e8584e64250020352dcba0a2ed458ec949321e54d3d67a20a9c2c", size = 24148746, upload-time = "2026-05-05T20:21:57.182Z" },
3010
+ { url = "https://files.pythonhosted.org/packages/ec/0c/2f5c5993cf5ca587ce4ddf2c6a532575d4031d5f209ca35ce15606f830c6/uv-0.11.10-py3-none-musllinux_1_1_i686.whl", hash = "sha256:e51b9239056bbf7e4b4bd5ceaee51d0632ba79cca23889ea7235c1bbea5aeb23", size = 23847885, upload-time = "2026-05-05T20:22:18.127Z" },
3011
+ { url = "https://files.pythonhosted.org/packages/6a/8b/589231473d479b5e98b04b5cf64de4f1fe17f26e593a9a3e75e81aa96aad/uv-0.11.10-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:6d3892056347d3e2b7734df2fb194568599cc4b1bce36a99ade75c8458e4d1d0", size = 24858408, upload-time = "2026-05-05T20:21:54.185Z" },
3012
+ { url = "https://files.pythonhosted.org/packages/22/f9/c29a05960df10c7770c88fd784a09b830cb0703244e8844dbea7ecacf472/uv-0.11.10-py3-none-win32.whl", hash = "sha256:5d383301c876e02afb90b53d8cce36ce4aa3dcc9289625a93dd8925446157dc2", size = 22569423, upload-time = "2026-05-05T20:21:43.434Z" },
3013
+ { url = "https://files.pythonhosted.org/packages/12/e0/41fbd5d50201801b68f024f70ee66c82bfa0515aed9523dcb579a1bc01e9/uv-0.11.10-py3-none-win_amd64.whl", hash = "sha256:97172796ae0cdc9a83f429f24860029d2707cef65c213d0dd7e9a9284ad20b7b", size = 25182765, upload-time = "2026-05-05T20:22:21.077Z" },
3014
+ { url = "https://files.pythonhosted.org/packages/ef/f2/e0c8b4127b7473f5c76f77eee35c660b4df819a887eb50ae785740f88e65/uv-0.11.10-py3-none-win_arm64.whl", hash = "sha256:cb13c696fccd6e44e25bcf5d3b8b1661d963ae4ef8fbdead4cef17fdbb580aa7", size = 23551920, upload-time = "2026-05-05T20:21:48.854Z" },
3015
  ]
3016
 
3017
  [[package]]
 
3042
  { url = "https://files.pythonhosted.org/packages/4b/eb/03bfb1299d4c4510329e470f13f9a4ce793df7fcb5a2fd3510f911066f61/virtualenv-21.3.0-py3-none-any.whl", hash = "sha256:4d28ee41f6d9ec8f1f00cd472b9ffbcedda1b3d3b9a575b5c94a2d004fd51bd7", size = 7594690, upload-time = "2026-04-27T17:05:55.468Z" },
3043
  ]
3044
 
3045
+ [[package]]
3046
+ name = "wcwidth"
3047
+ version = "0.7.0"
3048
+ source = { registry = "https://pypi.org/simple" }
3049
+ sdist = { url = "https://files.pythonhosted.org/packages/2c/ee/afaf0f85a9a18fe47a67f1e4422ed6cf1fe642f0ae0a2f81166231303c52/wcwidth-0.7.0.tar.gz", hash = "sha256:90e3a7ea092341c44b99562e75d09e4d5160fe7a3974c6fb842a101a95e7eed0", size = 182132, upload-time = "2026-05-02T16:04:12.653Z" }
3050
+ wheels = [
3051
+ { url = "https://files.pythonhosted.org/packages/41/52/e465037f5375f43533d1a80b6923955201596a99142ed524d77b571a1418/wcwidth-0.7.0-py3-none-any.whl", hash = "sha256:5d69154c429a82910e241c738cd0e2976fac8a2dd47a1a805f4afed1c0f136f2", size = 110825, upload-time = "2026-05-02T16:04:11.033Z" },
3052
+ ]
3053
+
3054
  [[package]]
3055
  name = "websocket-client"
3056
  version = "1.9.0"
 
3096
  { url = "https://files.pythonhosted.org/packages/6f/28/258ebab549c2bf3e64d2b0217b973467394a9cea8c42f70418ca2c5d0d2e/websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec", size = 171598, upload-time = "2026-01-10T09:23:45.395Z" },
3097
  ]
3098
 
3099
+ [[package]]
3100
+ name = "widgetsnbextension"
3101
+ version = "4.0.15"
3102
+ source = { registry = "https://pypi.org/simple" }
3103
+ sdist = { url = "https://files.pythonhosted.org/packages/bd/f4/c67440c7fb409a71b7404b7aefcd7569a9c0d6bd071299bf4198ae7a5d95/widgetsnbextension-4.0.15.tar.gz", hash = "sha256:de8610639996f1567952d763a5a41af8af37f2575a41f9852a38f947eb82a3b9", size = 1097402, upload-time = "2025-11-01T21:15:55.178Z" }
3104
+ wheels = [
3105
+ { url = "https://files.pythonhosted.org/packages/3f/0e/fa3b193432cfc60c93b42f3be03365f5f909d2b3ea410295cf36df739e31/widgetsnbextension-4.0.15-py3-none-any.whl", hash = "sha256:8156704e4346a571d9ce73b84bee86a29906c9abfd7223b7228a28899ccf3366", size = 2196503, upload-time = "2025-11-01T21:15:53.565Z" },
3106
+ ]
3107
+
3108
  [[package]]
3109
  name = "xyzservices"
3110
  version = "2026.3.0"