MapLibre for Python
Docs | Discord | Examples | Slack
MapLibre for Python provides Python bindings for MapLibre GL JS. Furthermore, Deck.GL Layers can be mixed with MapLibre Layers.
It integrates seamlessly into Shiny for Python, Marimo, Jupyter and JupyterLite.
Join the conversation
Join us on Discord.
Installation
# Stable
pip install maplibre # minimal
pip install "maplibre[shiny]" # shiny bindings
pip install "maplibre[ipywidget]" # marimo and jupyter bindings
pip install "maplibre[all]"
uv add maplibre
uv add "maplibre[all]"
# Unstable
pip install git+https://github.com/eoda-dev/py-maplibregl@dev
pip install "maplibre[all] @ git+https://github.com/eoda-dev/py-maplibregl@dev"
uv add "git+https://github.com/eoda-dev/py-maplibregl@dev[all]"
# Conda
conda install -c conda-forge maplibre
Quickstart
from maplibre import Map, MapOptions
m = Map(MapOptions(center=(-123.1256, 49.24658), zoom=9))
m.save(preview=True)
Documentation
Development
Python
poetry install
poetry run pytest
poetry run pytest --ignore=maplibre/ipywidget.py --doctest-modules maplibre
JavaScript
Metadata
Release files for maplibre 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maplibre-0.3.6.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maplibre-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / maplibre-0.3.6.tar.gz
| Download URL | maplibre-0.3.6.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10d3b80e15a71a029ac152a4094b699ef5b256155ca09d4a0fd2cfb2a8d8dbb1
|
|
BLAKE2b-256 checksum How to use checksums |
d03368e9378eef4feda7666af71c169ac598e405d30df03489c3544953a52b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-139-generic
|
Release files / maplibre-0.3.6-py3-none-any.whl
| Download URL | maplibre-0.3.6-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeafab617d4a1b71c0c174c71405f67c4b4e494fe1b27968d4d2359bc160e277
|
|
BLAKE2b-256 checksum How to use checksums |
cde8d0e506ebf78554e6d6670101ccb562448fd959d70527a11cb380f6c3de77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-139-generic
|