Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Charts improvements
Russ Garrettab672bb772b6
diff --git a/schema/stats.sql b/schema/stats.sqlindex dd9d007..07fbf1c 100644--- a/schema/stats.sql+++ b/schema/stats.sql@@ -13,7 +13,7 @@ CREATE TABLE stats.power_line (CREATE TABLE stats.power_plant (id SERIAL PRIMARY KEY,time TIMESTAMP WITHOUT TIME ZONE NOT NULL,- country TEXT NOT NULL,+ country TEXT, -- NULL for backfilled global statssource TEXT,count INTEGER,output BIGINT@@ -22,7 +22,7 @@ CREATE TABLE stats.power_plant (CREATE TABLE stats.power_generator (id SERIAL PRIMARY KEY,time TIMESTAMP WITHOUT TIME ZONE NOT NULL,- country TEXT NOT NULL,+ country TEXT, -- NULL for backfilled global statssource TEXT,count INTEGER,output BIGINT@@ -31,7 +31,9 @@ CREATE TABLE stats.power_generator (CREATE TABLE stats.substation (id SERIAL PRIMARY KEY,time TIMESTAMP WITHOUT TIME ZONE NOT NULL,- country TEXT NOT NULL,+ country TEXT, -- NULL for backfilled global statsvoltage INTEGER,count INTEGER-);\ No newline at end of file+);++grant select on ALL tables in schema stats TO web_backend;\ No newline at end of filediff --git a/web-backend/charts.py b/web-backend/charts.pyindex 240159b..5cdb33a 100644--- a/web-backend/charts.py+++ b/web-backend/charts.py@@ -4,7 +4,7 @@ from bokeh.models import ColumnDataSourceimport pandas as pdfrom bokeh.palettes import Category10import decimal-from bokeh.models import NumeralTickFormatter+from bokeh.models import NumeralTickFormatter, HoverToolfrom bokeh.themes import Theme# Define a shared color palette for source categories@@ -67,13 +67,13 @@ def figure(**kwargs):async def line_length():data = await database.fetch_all(- """SELECT time AS date,- (SELECT SUM(length) FROM stats.power_line WHERE time = a.time) AS total_length,- (SELECT SUM(length) FROM stats.power_line WHERE time = a.time- AND voltage IS NOT NULL) AS with_voltage+ """SELECT date_trunc('week', time) AS date,+ avg((SELECT SUM(length) FROM stats.power_line WHERE time = a.time)) AS total_length,+ avg((SELECT SUM(length) FROM stats.power_line WHERE time = a.time+ AND voltage IS NOT NULL)) AS with_voltageFROM stats.power_line a- GROUP BY time- ORDER BY time+ GROUP BY date_trunc('week', time)+ ORDER BY date_trunc('week', time)""")@@ -94,9 +94,50 @@ async def line_length():return p+def _plot_stacked_areas(p, data: pd.DataFrame, colors: dict[str, str], hover=None):+ """+ Helper function to plot stacked areas with lines and points using Bokeh's stack functions++ Args:+ p: Bokeh figure+ pivot_data: DataFrame with date index and columns for each category+ source_colors: Dictionary mapping categories to colors++ Returns:+ The updated Bokeh figure+ """+ source = ColumnDataSource(data)++ color_list = [colors.get(series, "gray") for series in data.columns]++ p.varea_stack(+ stackers=list(data.columns),+ x="date",+ color=color_list,+ alpha=0.3,+ legend_label=list(data.columns),+ source=source,+ )++ lines = p.vline_stack(+ stackers=list(data.columns),+ x="date",+ color=color_list,+ legend_label=list(data.columns),+ source=source,+ )++ if hover:+ hover.renderers = lines+ p.add_tools(hover)++ return p++async def plant_count():data = await database.fetch_all(- """SELECT time AS date,+ """SELECT date_trunc('week', time) AS date, type, avg(total_count) AS total_count FROM (+ SELECT time,CASEWHEN source IN ('solar') THEN 'Solar'WHEN source IN ('coal', 'gas', 'oil', 'diesel', 'nuclear') THEN 'Fossil Fuels'@@ -107,7 +148,10 @@ async def plant_count():SUM(count) AS total_countFROM stats.power_plantGROUP BY time, type- ORDER BY time"""+ ) AS a+ GROUP BY date_trunc('week', time), type+ ORDER BY date_trunc('week', time)+ """)data = result_to_df(data)@@ -131,31 +175,15 @@ async def plant_count():p.yaxis.axis_label = "Count"p.yaxis.formatter = NumeralTickFormatter(format="0,0")- cumulative_sum = pivot_data.cumsum(axis=1)- previous_line = pd.Series(0, index=pivot_data.index)-- for plant_type in pivot_data.columns:- color = SOURCE_COLORS.get(plant_type, "gray")- p.line(- pivot_data.index,- cumulative_sum[plant_type],- legend_label=plant_type,- color=color,- )- p.scatter(- pivot_data.index,- cumulative_sum[plant_type],- size=2,- color=color,- )- p.varea(- x=pivot_data.index,- y1=previous_line,- y2=cumulative_sum[plant_type],- fill_color=color,- fill_alpha=0.3,- )- previous_line = cumulative_sum[plant_type]+ hover = HoverTool(+ tooltips=[+ ("Date", "@date{%F}"),+ ("Source", "$name"),+ ("Count", "@$name{0,0}"),+ ]+ )+ hover.formatters = {"@date": "datetime"}+ p = _plot_stacked_areas(p, pivot_data, SOURCE_COLORS, hover=hover)p.legend.location = "top_left"return p@@ -198,31 +226,55 @@ async def plant_output():p.yaxis.axis_label = "Output (GW)"p.yaxis.formatter = NumeralTickFormatter(format="0,0")- cumulative_sum = pivot_data.cumsum(axis=1)- previous_line = pd.Series(0, index=pivot_data.index)-- for plant_type in pivot_data.columns:- color = SOURCE_COLORS.get(plant_type, "gray")- p.line(- pivot_data.index,- cumulative_sum[plant_type],- legend_label=plant_type,- color=color,- )- p.scatter(- pivot_data.index,- cumulative_sum[plant_type],- size=2,- color=color,- )- p.varea(- x=pivot_data.index,- y1=previous_line,- y2=cumulative_sum[plant_type],- fill_color=color,- fill_alpha=0.3,- )- previous_line = cumulative_sum[plant_type]+ hover = HoverTool(+ tooltips=[+ ("Date", "@date{%F}"),+ ("Source", "$name"),+ ("Output", "@$name{0,0} GW"),+ ]+ )+ hover.formatters = {"@date": "datetime"}+ p = _plot_stacked_areas(p, pivot_data, SOURCE_COLORS, hover=hover)p.legend.location = "bottom_right"return p+++async def substation_count():+ data = await database.fetch_all(+ """SELECT date_trunc('week', time) AS date,+ avg((SELECT SUM(count) FROM stats.substation WHERE time = s.time)) AS total_count,+ avg((SELECT SUM(count) FROM stats.substation WHERE time = s.time+ AND voltage IS NOT NULL)) AS with_voltage+ FROM stats.substation s+ GROUP BY date_trunc('week', time)+ ORDER BY date_trunc('week', time)+ """+ )++ data = result_to_df(data)+ cds = ColumnDataSource(data)++ p = figure(+ x_axis_type="datetime",+ title="Substation Count",+ y_range=(0, data["total_count"].max() * 1.1),+ x_range=(+ pd.to_datetime("2014-01-01"),+ data["date"].max() + pd.Timedelta(days=10),+ ),+ )+ p.yaxis.axis_label = "Count"+ p.yaxis.formatter = NumeralTickFormatter(format="0,0")+ p.varea("date", 0, "total_count", source=cds, alpha=0.3, legend_label="Total")+ p.scatter("date", "total_count", source=cds, size=2)+ p.line(+ "date",+ "with_voltage",+ source=cds,+ legend_label="With voltage",+ line_color="red",+ )+ p.scatter("date", "with_voltage", source=cds, size=2, color="red")+ p.legend.location = "bottom_right"+ return pdiff --git a/web-backend/main.py b/web-backend/main.pyindex 790a157..1f1081b 100644--- a/web-backend/main.py+++ b/web-backend/main.py@@ -117,6 +117,8 @@ async def stats_charts(request):lines_plot = await charts.line_length()plants_plot = await charts.plant_count()output_plot = await charts.plant_output()+ substation_plot = await charts.substation_count()+return templates.TemplateResponse("charts.html",{@@ -128,6 +130,9 @@ async def stats_charts(request):"output_plot": json.dumps(json_item(output_plot, "output_plot", charts.theme)),+ "substation_plot": json.dumps(+ json_item(substation_plot, "substations_plot", charts.theme)+ ),},)diff --git a/web-backend/pyproject.toml b/web-backend/pyproject.tomlindex f543219..3814691 100644--- a/web-backend/pyproject.toml+++ b/web-backend/pyproject.toml@@ -28,6 +28,7 @@ ignore = [][dependency-groups]dev = [+ "ipython>=9.0.2","mypy>=1.15.0","pandas-stubs>=2.2.3.250308","pytest>=8.3.4",diff --git a/web-backend/templates/charts.html b/web-backend/templates/charts.htmlindex 57392f2..33dee06 100644--- a/web-backend/templates/charts.html+++ b/web-backend/templates/charts.html@@ -3,7 +3,7 @@{% set breadcrumbs = [('Stats', url_for('stats')), ('Charts', None)] %}{% block title %}Charts{% endblock %}{% block content -%}-<script src="https://cdn.bokeh.org/bokeh/release/bokeh-3.7.0.js"+<script src="https://cdn.bokeh.org/bokeh/release/bokeh-3.7.0.min.js"crossorigin="anonymous"></script><h3>Lines</h3>@@ -11,10 +11,14 @@<h3>Plants</h3><div class="chart" id="plants_plot"></div>-+ <p>Plant data from before 2021-01-11 is backfilled from Taginfo and has no source.+ Granular data was intermittently sampled between 2021 and 2025.</p><h3>Plant Output</h3><div class="chart" id="output_plot"></div>+<h3>Substations</h3>+ <div class="chart" id="substations_plot"></div>+<script>document.addEventListener('DOMContentLoaded', function() {var linesItem = JSON.parse('{{lines_plot|safe}}');@@ -25,6 +29,9 @@var outputItem = JSON.parse('{{output_plot|safe}}');Bokeh.embed.embed_item(outputItem, "output_plot");++ var substationItem = JSON.parse('{{substation_plot|safe}}');+ Bokeh.embed.embed_item(substationItem, "substations_plot");});</script>{% endblock %}\ No newline at end of filediff --git a/web-backend/uv.lock b/web-backend/uv.lockindex 679c95c..e6b06f3 100644--- a/web-backend/uv.lock+++ b/web-backend/uv.lock@@ -33,6 +33,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/55/1c/d2ec9fbd7d4ed7ec3e72a763c0b9944d9d6f70454234048c00c895c43540/asgi_sitemaps-1.0.0-py3-none-any.whl", hash = "sha256:9040d1a17abd72d800e2f9e567d7d7bdac0fe63858db4608c98bc4c39a895470", size = 9260 },]+[[package]]+name = "asttokens"+version = "3.0.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/4a/e7/82da0a03e7ba5141f05cce0d302e6eed121ae055e0456ca228bf693984bc/asttokens-3.0.0.tar.gz", hash = "sha256:0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7", size = 61978 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/25/8a/c46dcc25341b5bce5472c718902eb3d38600a903b14fa6aeecef3f21a46f/asttokens-3.0.0-py3-none-any.whl", hash = "sha256:e3078351a059199dd5138cb1c706e6430c05eff2ff136af5eb4790f9d28932e2", size = 26918 },+]+[[package]]name = "async-lru"version = "2.0.5"@@ -152,6 +161,24 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/d5/43/6035922af5471f1a196851831a1d5f403447401b395f474bf673efa8959f/databases-0.9.0-py3-none-any.whl", hash = "sha256:9ee657c9863b34f8d3a06c06eafbe1bda68af2a434b56996312edf1f1c0b6297", size = 25580 },]+[[package]]+name = "decorator"+version = "5.2.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190 },+]++[[package]]+name = "executing"+version = "2.2.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/91/50/a9d80c47ff289c611ff12e63f7c5d13942c65d68125160cefd768c73e6e4/executing-2.2.0.tar.gz", hash = "sha256:5d108c028108fe2551d1a7b2e8b713341e2cb4fc0aa7dcf966fa4327a5226755", size = 978693 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/7b/8f/c4d9bafc34ad7ad5d8dc16dd1347ee0e507a52c3adb6bfa8887e1c6a26ba/executing-2.2.0-py2.py3-none-any.whl", hash = "sha256:11387150cad388d62750327a53d3339fad4888b39a6fe233c3afbb54ecffd3aa", size = 26702 },+]+[[package]]name = "greenlet"version = "3.1.1"@@ -231,6 +258,51 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050 },]+[[package]]+name = "ipython"+version = "9.0.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "colorama", marker = "sys_platform == 'win32'" },+ { name = "decorator" },+ { name = "ipython-pygments-lexers" },+ { name = "jedi" },+ { name = "matplotlib-inline" },+ { name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },+ { name = "prompt-toolkit" },+ { name = "pygments" },+ { name = "stack-data" },+ { name = "traitlets" },+]+sdist = { url = "https://files.pythonhosted.org/packages/7d/ce/012a0f40ca58a966f87a6e894d6828e2817657cbdf522b02a5d3a87d92ce/ipython-9.0.2.tar.gz", hash = "sha256:ec7b479e3e5656bf4f58c652c120494df1820f4f28f522fb7ca09e213c2aab52", size = 4366102 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/20/3a/917cb9e72f4e1a4ea13c862533205ae1319bd664119189ee5cc9e4e95ebf/ipython-9.0.2-py3-none-any.whl", hash = "sha256:143ef3ea6fb1e1bffb4c74b114051de653ffb7737a3f7ab1670e657ca6ae8c44", size = 600524 },+]++[[package]]+name = "ipython-pygments-lexers"+version = "1.1.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "pygments" },+]+sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074 },+]++[[package]]+name = "jedi"+version = "0.19.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "parso" },+]+sdist = { url = "https://files.pythonhosted.org/packages/72/3a/79a912fbd4d8dd6fbb02bf69afd3bb72cf0c729bb3063c6f4498603db17a/jedi-0.19.2.tar.gz", hash = "sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0", size = 1231287 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278 },+]+[[package]]name = "jinja2"version = "3.1.6"@@ -271,6 +343,18 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/4f/65/6079a46068dfceaeabb5dcad6d674f5f5c61a6fa5673746f42a9f4c233b3/MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f", size = 15739 },]+[[package]]+name = "matplotlib-inline"+version = "0.1.7"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "traitlets" },+]+sdist = { url = "https://files.pythonhosted.org/packages/99/5b/a36a337438a14116b16480db471ad061c36c3694df7c2084a0da7ba538b7/matplotlib_inline-0.1.7.tar.gz", hash = "sha256:8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90", size = 8159 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8f/8e/9ad090d3553c280a8060fbf6e24dc1c0c29704ee7d1c372f0c174aa59285/matplotlib_inline-0.1.7-py3-none-any.whl", hash = "sha256:df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca", size = 9899 },+]+[[package]]name = "more-itertools"version = "10.6.0"@@ -366,6 +450,7 @@ dependencies = [[package.dev-dependencies]dev = [+ { name = "ipython" },{ name = "mypy" },{ name = "pandas-stubs" },{ name = "pytest" },@@ -391,6 +476,7 @@ requires-dist = [[package.metadata.requires-dev]dev = [+ { name = "ipython", specifier = ">=9.0.2" },{ name = "mypy", specifier = ">=1.15.0" },{ name = "pandas-stubs", specifier = ">=2.2.3.250308" },{ name = "pytest", specifier = ">=8.3.4" },@@ -447,6 +533,27 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/ba/64/ab61d9ca06ff66c07eb804ec27dec1a2be1978b3c3767caaa91e363438cc/pandas_stubs-2.2.3.250308-py3-none-any.whl", hash = "sha256:a377edff3b61f8b268c82499fdbe7c00fdeed13235b8b71d6a1dc347aeddc74d", size = 158053 },]+[[package]]+name = "parso"+version = "0.8.4"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/66/94/68e2e17afaa9169cf6412ab0f28623903be73d1b32e208d9e8e541bb086d/parso-0.8.4.tar.gz", hash = "sha256:eb3a7b58240fb99099a345571deecc0f9540ea5f4dd2fe14c2a99d6b281ab92d", size = 400609 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c6/ac/dac4a63f978e4dcb3c6d3a78c4d8e0192a113d288502a1216950c41b1027/parso-0.8.4-py2.py3-none-any.whl", hash = "sha256:a418670a20291dacd2dddc80c377c5c3791378ee1e8d12bffc35420643d43f18", size = 103650 },+]++[[package]]+name = "pexpect"+version = "4.9.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "ptyprocess" },+]+sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772 },+]+[[package]]name = "pillow"version = "11.1.0"@@ -483,6 +590,45 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },]+[[package]]+name = "prompt-toolkit"+version = "3.0.50"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "wcwidth" },+]+sdist = { url = "https://files.pythonhosted.org/packages/a1/e1/bd15cb8ffdcfeeb2bdc215de3c3cffca11408d829e4b8416dcfe71ba8854/prompt_toolkit-3.0.50.tar.gz", hash = "sha256:544748f3860a2623ca5cd6d2795e7a14f3d0e1c3c9728359013f79877fc89bab", size = 429087 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e4/ea/d836f008d33151c7a1f62caf3d8dd782e4d15f6a43897f64480c2b8de2ad/prompt_toolkit-3.0.50-py3-none-any.whl", hash = "sha256:9b6427eb19e479d98acff65196a307c555eb567989e6d88ebbb1b509d9779198", size = 387816 },+]++[[package]]+name = "ptyprocess"+version = "0.7.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993 },+]++[[package]]+name = "pure-eval"+version = "0.2.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/cd/05/0a34433a064256a578f1783a10da6df098ceaa4a57bbeaa96a6c0352786b/pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42", size = 19752 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842 },+]++[[package]]+name = "pygments"+version = "2.19.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f", size = 4968581 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293 },+]+[[package]]name = "pytest"version = "8.3.5"@@ -612,6 +758,20 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/7b/0f/d69904cb7d17e65c65713303a244ec91fd3c96677baf1d6331457fd47e16/sqlalchemy-2.0.39-py3-none-any.whl", hash = "sha256:a1c6b0a5e3e326a466d809b651c63f278b1256146a377a528b6938a279da334f", size = 1898621 },]+[[package]]+name = "stack-data"+version = "0.6.3"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "asttokens" },+ { name = "executing" },+ { name = "pure-eval" },+]+sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521 },+]+[[package]]name = "starlette"version = "0.46.1"@@ -642,6 +802,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/61/cc/58b1adeb1bb46228442081e746fcdbc4540905c87e8add7c277540934edb/tornado-6.4.2-cp38-abi3-win_amd64.whl", hash = "sha256:908b71bf3ff37d81073356a5fadcc660eb10c1476ee6e2725588626ce7e5ca38", size = 438907 },]+[[package]]+name = "traitlets"+version = "5.14.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/eb/79/72064e6a701c2183016abbbfedaba506d81e30e232a68c9f0d6f6fcd1574/traitlets-5.14.3.tar.gz", hash = "sha256:9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7", size = 161621 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359 },+]+[[package]]name = "types-pytz"version = "2025.1.0.20250318"@@ -682,6 +851,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/61/14/33a3a1352cfa71812a3a21e8c9bfb83f60b0011f5e36f2b1399d51928209/uvicorn-0.34.0-py3-none-any.whl", hash = "sha256:023dc038422502fa28a09c7a30bf2b6991512da7dcdb8fd35fe57cfc154126f4", size = 62315 },]+[[package]]+name = "wcwidth"+version = "0.2.13"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/6c/63/53559446a878410fc5a5974feb13d31d78d752eb18aeba59c7fef1af7598/wcwidth-0.2.13.tar.gz", hash = "sha256:72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5", size = 101301 }+wheels = [+ { url = "https://files.pythonhosted.org/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl", hash = "sha256:3da69048e4540d84af32131829ff948f1e022c1c6bdb8d6102117aac784f6859", size = 34166 },+]+[[package]]name = "xyzservices"version = "2025.1.0"