leafmap
https://pypi.org/project/leafmap/
uv init して uv add leafmap で入れてみた。
依存パッケージ多いなーー
code:text
+ annotated-types==0.7.0
+ anywidget==0.9.21
+ asttokens==3.0.1
+ attrs==25.4.0
+ beautifulsoup4==4.14.3
+ bqplot==0.12.45
+ branca==0.8.2
+ certifi==2026.1.4
+ charset-normalizer==3.4.4
+ click==8.3.1
+ colorama==0.4.6
+ comm==0.2.3
+ contourpy==1.3.3
+ cycler==0.12.1
+ decorator==5.2.1
+ duckdb==1.4.4
+ eval-type-backport==0.3.1
+ executing==2.2.1
+ filelock==3.24.3
+ folium==0.20.0
+ fonttools==4.61.1
+ gdown==5.2.1
+ geojson==3.2.0
+ geopandas==1.1.2
+ idna==3.11
+ ipyevents==2.0.4
+ ipyfilechooser==0.6.0
+ ipyleaflet==0.20.0
+ ipython==9.10.0
+ ipython-pygments-lexers==1.1.1
+ ipytree==0.2.2
+ ipyvue==1.12.0
+ ipyvuetify==1.11.3
+ ipywidgets==8.1.8
+ jedi==0.19.2
+ jinja2==3.1.6
+ jsonschema==4.26.0
+ jsonschema-specifications==2025.9.1
+ jupyter-leaflet==0.20.0
+ jupyterlab-widgets==3.0.16
+ kiwisolver==1.4.9
+ leafmap==0.60.1
+ maplibre==0.3.6
+ markupsafe==3.0.3
+ matplotlib==3.10.8
+ matplotlib-inline==0.2.1
+ narwhals==2.16.0
+ numpy==2.4.2
+ packaging==26.0
+ pandas==2.3.3
+ parso==0.8.6
+ pillow==12.1.1
+ plotly==6.5.2
+ prompt-toolkit==3.0.52
+ psygnal==0.15.1
+ pure-eval==0.2.3
+ pydantic==2.12.5
+ pydantic-core==2.41.5
+ pygments==2.19.2
+ pyogrio==0.12.1
+ pyparsing==3.3.2
+ pyproj==3.7.2
+ pysocks==1.7.1
+ pystac==1.14.3
+ pystac-client==0.9.0
+ python-box==7.3.3
+ python-dateutil==2.9.0.post0
+ pytz==2025.2
+ referencing==0.37.0
+ requests==2.32.5
+ rpds-py==0.30.0
+ scooby==0.11.0
+ shapely==2.1.2
+ six==1.17.0
+ soupsieve==2.8.3
+ stack-data==0.6.3
+ tqdm==4.67.3
+ traitlets==5.14.3
+ traittypes==0.2.3
+ typing-extensions==4.15.0
+ typing-inspection==0.4.2
+ tzdata==2025.3
+ urllib3==2.6.3
+ wcwidth==0.6.0
+ whitebox==2.3.6
+ whiteboxgui==2.3.0
+ widgetsnbextension==4.0.15
+ xyzservices==2025.11.0
code:python
import leafmap
m = leafmap.Map(center=(40, -100), zoom=4)
m
でない(Windows Terminalだとだめか)
code:python
m.to_html("index.html")
で
code:ps
python -m http.server
で表示された!