Intro
In [1]:
Copied!
%pip install chartops
%pip install chartops
Requirement already satisfied: chartops in /opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages (0.3.0) Requirement already satisfied: folium in /home/runner/.local/lib/python3.11/site-packages (from chartops) (0.20.0) Requirement already satisfied: geopandas in /home/runner/.local/lib/python3.11/site-packages (from chartops) (1.1.1) Requirement already satisfied: ipyleaflet in /home/runner/.local/lib/python3.11/site-packages (from chartops) (0.20.0) Requirement already satisfied: ipywidgets in /home/runner/.local/lib/python3.11/site-packages (from chartops) (8.1.7) Requirement already satisfied: localtileserver in /home/runner/.local/lib/python3.11/site-packages (from chartops) (0.10.6) Requirement already satisfied: matplotlib in /home/runner/.local/lib/python3.11/site-packages (from chartops) (3.10.3) Requirement already satisfied: numpy in /home/runner/.local/lib/python3.11/site-packages (from chartops) (2.3.1) Requirement already satisfied: branca>=0.6.0 in /home/runner/.local/lib/python3.11/site-packages (from folium->chartops) (0.8.1) Requirement already satisfied: jinja2>=2.9 in /home/runner/.local/lib/python3.11/site-packages (from folium->chartops) (3.1.6) Requirement already satisfied: requests in /home/runner/.local/lib/python3.11/site-packages (from folium->chartops) (2.32.4) Requirement already satisfied: xyzservices in /home/runner/.local/lib/python3.11/site-packages (from folium->chartops) (2025.4.0) Requirement already satisfied: MarkupSafe>=2.0 in /home/runner/.local/lib/python3.11/site-packages (from jinja2>=2.9->folium->chartops) (3.0.2) Requirement already satisfied: pyogrio>=0.7.2 in /home/runner/.local/lib/python3.11/site-packages (from geopandas->chartops) (0.11.0) Requirement already satisfied: packaging in /home/runner/.local/lib/python3.11/site-packages (from geopandas->chartops) (25.0) Requirement already satisfied: pandas>=2.0.0 in /home/runner/.local/lib/python3.11/site-packages (from geopandas->chartops) (2.3.1) Requirement already satisfied: pyproj>=3.5.0 in /home/runner/.local/lib/python3.11/site-packages (from geopandas->chartops) (3.7.1) Requirement already satisfied: shapely>=2.0.0 in /home/runner/.local/lib/python3.11/site-packages (from geopandas->chartops) (2.1.1) Requirement already satisfied: python-dateutil>=2.8.2 in /home/runner/.local/lib/python3.11/site-packages (from pandas>=2.0.0->geopandas->chartops) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in /home/runner/.local/lib/python3.11/site-packages (from pandas>=2.0.0->geopandas->chartops) (2025.2) Requirement already satisfied: tzdata>=2022.7 in /home/runner/.local/lib/python3.11/site-packages (from pandas>=2.0.0->geopandas->chartops) (2025.2) Requirement already satisfied: certifi in /home/runner/.local/lib/python3.11/site-packages (from pyogrio>=0.7.2->geopandas->chartops) (2025.7.14) Requirement already satisfied: six>=1.5 in /home/runner/.local/lib/python3.11/site-packages (from python-dateutil>=2.8.2->pandas>=2.0.0->geopandas->chartops) (1.17.0) Requirement already satisfied: jupyter-leaflet<0.21,>=0.20 in /home/runner/.local/lib/python3.11/site-packages (from ipyleaflet->chartops) (0.20.0) Requirement already satisfied: traittypes<3,>=0.2.1 in /home/runner/.local/lib/python3.11/site-packages (from ipyleaflet->chartops) (0.2.1) Requirement already satisfied: comm>=0.1.3 in /home/runner/.local/lib/python3.11/site-packages (from ipywidgets->chartops) (0.2.2) Requirement already satisfied: ipython>=6.1.0 in /home/runner/.local/lib/python3.11/site-packages (from ipywidgets->chartops) (9.4.0) Requirement already satisfied: traitlets>=4.3.1 in /home/runner/.local/lib/python3.11/site-packages (from ipywidgets->chartops) (5.14.3) Requirement already satisfied: widgetsnbextension~=4.0.14 in /home/runner/.local/lib/python3.11/site-packages (from ipywidgets->chartops) (4.0.14) Requirement already satisfied: jupyterlab_widgets~=3.0.15 in /home/runner/.local/lib/python3.11/site-packages (from ipywidgets->chartops) (3.0.15)
Requirement already satisfied: decorator in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (5.2.1) Requirement already satisfied: ipython-pygments-lexers in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (1.1.1) Requirement already satisfied: jedi>=0.16 in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (0.19.2) Requirement already satisfied: matplotlib-inline in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (0.1.7) Requirement already satisfied: pexpect>4.3 in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (4.9.0) Requirement already satisfied: prompt_toolkit<3.1.0,>=3.0.41 in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (3.0.51) Requirement already satisfied: pygments>=2.4.0 in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (2.19.2) Requirement already satisfied: stack_data in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (0.6.3) Requirement already satisfied: typing_extensions>=4.6 in /home/runner/.local/lib/python3.11/site-packages (from ipython>=6.1.0->ipywidgets->chartops) (4.14.1) Requirement already satisfied: wcwidth in /home/runner/.local/lib/python3.11/site-packages (from prompt_toolkit<3.1.0,>=3.0.41->ipython>=6.1.0->ipywidgets->chartops) (0.2.13) Requirement already satisfied: parso<0.9.0,>=0.8.4 in /home/runner/.local/lib/python3.11/site-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets->chartops) (0.8.4) Requirement already satisfied: ptyprocess>=0.5 in /home/runner/.local/lib/python3.11/site-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets->chartops) (0.7.0) Requirement already satisfied: click in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (8.2.1) Requirement already satisfied: flask<4,>=2.0.0 in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (3.1.1) Requirement already satisfied: Flask-Caching in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (2.3.1) Requirement already satisfied: flask-cors in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (6.0.1) Requirement already satisfied: flask-restx>=1.3.0 in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (1.3.0) Requirement already satisfied: rio-tiler in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (7.8.1) Requirement already satisfied: rio-cogeo in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (5.4.2) Requirement already satisfied: server-thread in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (0.3.0) Requirement already satisfied: scooby in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (0.10.1) Requirement already satisfied: werkzeug in /home/runner/.local/lib/python3.11/site-packages (from localtileserver->chartops) (3.1.3) Requirement already satisfied: blinker>=1.9.0 in /home/runner/.local/lib/python3.11/site-packages (from flask<4,>=2.0.0->localtileserver->chartops) (1.9.0) Requirement already satisfied: itsdangerous>=2.2.0 in /home/runner/.local/lib/python3.11/site-packages (from flask<4,>=2.0.0->localtileserver->chartops) (2.2.0) Requirement already satisfied: aniso8601>=0.82 in /home/runner/.local/lib/python3.11/site-packages (from flask-restx>=1.3.0->localtileserver->chartops) (10.0.1) Requirement already satisfied: jsonschema in /home/runner/.local/lib/python3.11/site-packages (from flask-restx>=1.3.0->localtileserver->chartops) (4.25.0) Requirement already satisfied: importlib-resources in /home/runner/.local/lib/python3.11/site-packages (from flask-restx>=1.3.0->localtileserver->chartops) (6.5.2)
Requirement already satisfied: cachelib>=0.9.0 in /home/runner/.local/lib/python3.11/site-packages (from Flask-Caching->localtileserver->chartops) (0.13.0) Requirement already satisfied: attrs>=22.2.0 in /home/runner/.local/lib/python3.11/site-packages (from jsonschema->flask-restx>=1.3.0->localtileserver->chartops) (25.3.0) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /home/runner/.local/lib/python3.11/site-packages (from jsonschema->flask-restx>=1.3.0->localtileserver->chartops) (2025.4.1) Requirement already satisfied: referencing>=0.28.4 in /home/runner/.local/lib/python3.11/site-packages (from jsonschema->flask-restx>=1.3.0->localtileserver->chartops) (0.36.2) Requirement already satisfied: rpds-py>=0.7.1 in /home/runner/.local/lib/python3.11/site-packages (from jsonschema->flask-restx>=1.3.0->localtileserver->chartops) (0.26.0) Requirement already satisfied: contourpy>=1.0.1 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (1.3.2) Requirement already satisfied: cycler>=0.10 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (4.59.0) Requirement already satisfied: kiwisolver>=1.3.1 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (1.4.8) Requirement already satisfied: pillow>=8 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (11.3.0) Requirement already satisfied: pyparsing>=2.3.1 in /home/runner/.local/lib/python3.11/site-packages (from matplotlib->chartops) (3.2.3) Requirement already satisfied: charset_normalizer<4,>=2 in /home/runner/.local/lib/python3.11/site-packages (from requests->folium->chartops) (3.4.2) Requirement already satisfied: idna<4,>=2.5 in /home/runner/.local/lib/python3.11/site-packages (from requests->folium->chartops) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/runner/.local/lib/python3.11/site-packages (from requests->folium->chartops) (2.5.0)
Requirement already satisfied: rasterio>=1.3.3 in /home/runner/.local/lib/python3.11/site-packages (from rio-cogeo->localtileserver->chartops) (1.4.3) Requirement already satisfied: morecantile<7.0,>=5.0 in /home/runner/.local/lib/python3.11/site-packages (from rio-cogeo->localtileserver->chartops) (6.2.0) Requirement already satisfied: pydantic~=2.0 in /home/runner/.local/lib/python3.11/site-packages (from rio-cogeo->localtileserver->chartops) (2.11.7) Requirement already satisfied: annotated-types>=0.6.0 in /home/runner/.local/lib/python3.11/site-packages (from pydantic~=2.0->rio-cogeo->localtileserver->chartops) (0.7.0) Requirement already satisfied: pydantic-core==2.33.2 in /home/runner/.local/lib/python3.11/site-packages (from pydantic~=2.0->rio-cogeo->localtileserver->chartops) (2.33.2) Requirement already satisfied: typing-inspection>=0.4.0 in /home/runner/.local/lib/python3.11/site-packages (from pydantic~=2.0->rio-cogeo->localtileserver->chartops) (0.4.1) Requirement already satisfied: affine in /home/runner/.local/lib/python3.11/site-packages (from rasterio>=1.3.3->rio-cogeo->localtileserver->chartops) (2.4.0) Requirement already satisfied: cligj>=0.5 in /home/runner/.local/lib/python3.11/site-packages (from rasterio>=1.3.3->rio-cogeo->localtileserver->chartops) (0.7.2) Requirement already satisfied: click-plugins in /home/runner/.local/lib/python3.11/site-packages (from rasterio>=1.3.3->rio-cogeo->localtileserver->chartops) (1.1.1.2) Requirement already satisfied: cachetools in /home/runner/.local/lib/python3.11/site-packages (from rio-tiler->localtileserver->chartops) (6.1.0) Requirement already satisfied: color-operations in /home/runner/.local/lib/python3.11/site-packages (from rio-tiler->localtileserver->chartops) (0.2.0) Requirement already satisfied: httpx in /home/runner/.local/lib/python3.11/site-packages (from rio-tiler->localtileserver->chartops) (0.28.1) Requirement already satisfied: numexpr in /home/runner/.local/lib/python3.11/site-packages (from rio-tiler->localtileserver->chartops) (2.11.0) Requirement already satisfied: pystac<2.0,>=1.9 in /home/runner/.local/lib/python3.11/site-packages (from rio-tiler->localtileserver->chartops) (1.13.0) Requirement already satisfied: anyio in /home/runner/.local/lib/python3.11/site-packages (from httpx->rio-tiler->localtileserver->chartops) (4.9.0) Requirement already satisfied: httpcore==1.* in /home/runner/.local/lib/python3.11/site-packages (from httpx->rio-tiler->localtileserver->chartops) (1.0.9)
Requirement already satisfied: h11>=0.16 in /home/runner/.local/lib/python3.11/site-packages (from httpcore==1.*->httpx->rio-tiler->localtileserver->chartops) (0.16.0) Requirement already satisfied: sniffio>=1.1 in /home/runner/.local/lib/python3.11/site-packages (from anyio->httpx->rio-tiler->localtileserver->chartops) (1.3.1) Requirement already satisfied: uvicorn in /home/runner/.local/lib/python3.11/site-packages (from server-thread->localtileserver->chartops) (0.35.0) Requirement already satisfied: executing>=1.2.0 in /home/runner/.local/lib/python3.11/site-packages (from stack_data->ipython>=6.1.0->ipywidgets->chartops) (2.2.0) Requirement already satisfied: asttokens>=2.1.0 in /home/runner/.local/lib/python3.11/site-packages (from stack_data->ipython>=6.1.0->ipywidgets->chartops) (3.0.0) Requirement already satisfied: pure-eval in /home/runner/.local/lib/python3.11/site-packages (from stack_data->ipython>=6.1.0->ipywidgets->chartops) (0.2.3)
Note: you may need to restart the kernel to use updated packages.
In [2]:
Copied!
from chartops.chartops import Map
from chartops.chartops import Map
In [3]:
Copied!
map = Map(center=[34.5, 18.0], zoom=5)
map
map = Map(center=[34.5, 18.0], zoom=5)
map
Out[3]: