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.1.tar.gz (28.9 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.1-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ipyleaflet_bis-0.20.1.tar.gz
Algorithm Hash digest
SHA256 9645bb1f2b49ec159d0cb81bdb244ff91c5e0adcedbe1b2d3eda95955651df68
MD5 48069d8c7379533e51e6992a7dd1fd80
BLAKE2b-256 4f5d7980d07ab9d48530e59905575bc0fc6b8082dddaf17fc6290dadf8a50674

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ipyleaflet_bis-0.20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b041ec34e9a4f2d069e316181084ebbef2e37f2253f1b369760b90a7f397c3bd
MD5 ba54023280f40ad7ef34f11dbf40e8ad
BLAKE2b-256 a9795006596a427d41c0b5ccf5902b8f1faa902add81e36df4aa524de450ad14

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