Skip to main content

A Jupyter widget for dynamic Leaflet maps

Project description

ipyleaflet

Documentation Binder Join the Gitter Chat Downloads

A Jupyter / Leaflet bridge enabling interactive maps in the Jupyter notebook.

Usage

Selecting a basemap for a leaflet map:

Basemap Screencast

Loading a geojson map:

GeoJSON Screencast

Making use of leafletjs primitives:

Primitives Screencast

Using the splitmap control:

Splitmap Screencast

Displaying velocity data on the top of a map:

Velocity Screencast

Choropleth layer:

Choropleth Screencast

Widget control

Widget Control

Installation

Using conda:

conda install -c conda-forge ipyleaflet

Using pip:

pip install ipyleaflet

Installation from sources

For a development installation (requires yarn, you can install it with conda install -c conda-forge yarn):

git clone https://github.com/jupyter-widgets/ipyleaflet.git
cd ipyleaflet
(cd python/jupyter_leaflet; pip install -e .)
(cd python/ipyleaflet; pip install -e .)

For developing with JupyterLab:

jupyter labextension develop --overwrite jupyter_leaflet

Documentation

To get started with using ipyleaflet, check out the full documentation

https://ipyleaflet.readthedocs.io/

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the MIT license. See the LICENSE file for details.

Related projects

The ipyleaflet repository includes the jupyter-leaflet npm package, which is a front-end component, and the ipyleaflet python package which is the backend for the Python Jupyter kernel.

Similarly, the xleaflet project provides a backend to jupyter-leaflet for the "xeus-cling" C++ Jupyter kernel.

Xleaflet Screencast

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyleaflet-0.20.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

ipyleaflet-0.20.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file ipyleaflet-0.20.0.tar.gz.

File metadata

  • Download URL: ipyleaflet-0.20.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for ipyleaflet-0.20.0.tar.gz
Algorithm Hash digest
SHA256 098f317dd63c4bcac5176d5b78d40d5758c623f7cd013f0d0c9d7a70cefcdb34
MD5 54fd653618805b22af7f79bdfab66392
BLAKE2b-256 d8f200facc58a1e9581d9365df5761bf7e12f9fa7132132111f6ee484fd58e42

See more details on using hashes here.

File details

Details for the file ipyleaflet-0.20.0-py3-none-any.whl.

File metadata

  • Download URL: ipyleaflet-0.20.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for ipyleaflet-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4c20ddc0b17d68e226cd3367ca2215a4db7e2b14374468c0eeaa54b53e4d173
MD5 a8224918298418282dfe348502837904
BLAKE2b-256 4969e9858f2c0b99bf9f036348d1c84b8026f438bb6875effe6a9bcd9883dada

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page