Python bindings for MapLibre GL JS
Project description
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
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
maplibre-0.3.6.tar.gz
(1.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maplibre-0.3.6.tar.gz.
File metadata
- Download URL: maplibre-0.3.6.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10d3b80e15a71a029ac152a4094b699ef5b256155ca09d4a0fd2cfb2a8d8dbb1
|
|
| MD5 |
03fd9f22f1fbc10432248d73387684c3
|
|
| BLAKE2b-256 |
d03368e9378eef4feda7666af71c169ac598e405d30df03489c3544953a52b79
|
File details
Details for the file maplibre-0.3.6-py3-none-any.whl.
File metadata
- Download URL: maplibre-0.3.6-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeafab617d4a1b71c0c174c71405f67c4b4e494fe1b27968d4d2359bc160e277
|
|
| MD5 |
57a7b1a3ea014515ef842805a5cdbfbf
|
|
| BLAKE2b-256 |
cde8d0e506ebf78554e6d6670101ccb562448fd959d70527a11cb380f6c3de77
|