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


Download files

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

Source Distribution

ipyleaflet_bis-0.20.4.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipyleaflet_bis-0.20.4-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file ipyleaflet_bis-0.20.4.tar.gz.

File metadata

  • Download URL: ipyleaflet_bis-0.20.4.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for ipyleaflet_bis-0.20.4.tar.gz
Algorithm Hash digest
SHA256 4f554470b514777df8fb96bbd7669a629d745c2c6ab0b768f53995f3b875ab84
MD5 620e46d17bafb05f81b7239f0847f4b6
BLAKE2b-256 d0a1a4915033d8b7ee157859a5b9846abe500addb2ed984e8ce33b4a12746a0c

See more details on using hashes here.

File details

Details for the file ipyleaflet_bis-0.20.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ipyleaflet_bis-0.20.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1a177c0ee68bb01808104082084cf20f9e2f97106327e7133ea4cc8c828980
MD5 102d42a2c3e3f4d94655328120c1f83d
BLAKE2b-256 b8bf1c07a6ee806a7c581c20090c295026b0660bed8e501bdb488eda238682d5

See more details on using hashes here.

Supported by

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