Python bindings for MapLibre GL JS
Project description
MapLibre for Python
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 and Jupyter.
Installation
# Stable
pip install maplibre
pip install "maplibre[all]"
# Dev
pip install git+https://github.com/eodaGmbH/py-maplibregl@dev
pip install "maplibre[all] @ git+https://github.com/eodaGmbH/py-maplibregl@dev"
# Conda
conda install -c conda-forge maplibre
Quickstart
from maplibre import Map, MapOptions
m = Map(MapOptions(center=(-123.1256, 49.24658), zoom=9))
Documentation
Development
Python
poetry install
poetry run pytest
poetry run pytest --ignore=maplibre/ipywidget.py --doctest-modules maplibre
JavaScript
npm install
npm run prettier
npm run build
npm run build-ipywidget
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.2.5.tar.gz
(484.5 kB
view details)
Built Distribution
maplibre-0.2.5-py3-none-any.whl
(493.5 kB
view details)
File details
Details for the file maplibre-0.2.5.tar.gz
.
File metadata
- Download URL: maplibre-0.2.5.tar.gz
- Upload date:
- Size: 484.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2f0a28c8b29db75ad945e5c60944f7a749a1d8b6e340f88fbec36ca52b7bf1 |
|
MD5 | ae28652fb04d9d8b51f1a3e19c923e9d |
|
BLAKE2b-256 | c3af5423d0413f852aeb98c954b93c6c7eb8dd0315dcc515e86089f5162e19b1 |
File details
Details for the file maplibre-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: maplibre-0.2.5-py3-none-any.whl
- Upload date:
- Size: 493.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-107-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 843e1c5a54151fd81c5014be593c1654caa9b4272c1e6c2131b8f3a012a4b45a |
|
MD5 | 804b1867bb011cb3b62c3ea3039b2815 |
|
BLAKE2b-256 | 24e6ababd21b0ebe9ee28675333ef53bb029faafa75e66797cd2ff5fba47c4bd |