giswqs / py-maplibregl

Python bindings for MapLibre GL JS

Home Page:https://eodagmbh.github.io/py-maplibregl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MapLibre for Python

Release pypi Build status License

MapLibre for Python provides Python bindings for MapLibre GL JS.

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"

Getting started

docker run --rm -p 8050:8050 ghcr.io/eodagmbh/py-maplibregl/vancouver-blocks:latest

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

About

Python bindings for MapLibre GL JS

https://eodagmbh.github.io/py-maplibregl/

License:MIT License


Languages

Language:Python 88.2%Language:JavaScript 11.7%Language:Shell 0.1%