Skip to main content

Python bindings for MapLibre GL JS

Project description

MapLibre for Python

Release pypi Build status License

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"

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


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.0.tar.gz (451.0 kB view details)

Uploaded Source

Built Distribution

maplibre-0.2.0-py3-none-any.whl (458.4 kB view details)

Uploaded Python 3

File details

Details for the file maplibre-0.2.0.tar.gz.

File metadata

  • Download URL: maplibre-0.2.0.tar.gz
  • Upload date:
  • Size: 451.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-105-generic

File hashes

Hashes for maplibre-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8402c1828eccae7acc392ebef369c799b6275f0919295141134d4051c398fd7d
MD5 6fd42a410278c169360c006624216194
BLAKE2b-256 305123615c3b89436ec96f643cbfaec1169a574c738d2455cde2fa2739ab450b

See more details on using hashes here.

File details

Details for the file maplibre-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: maplibre-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 458.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-105-generic

File hashes

Hashes for maplibre-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cde07d6ddfe04372ecc139467f19dd9aebca0ed6f08f7232338fe18cd37e79b
MD5 ac687a857f638e89ee8e7b773a37e858
BLAKE2b-256 bf2f667bd07d185fe9ddbaff06795c24c475ca6f1547f2ffc31ab0ac01c4b7d3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page