Skip to main content

Python bindings for MapLibre GL JS

Project description

MapLibre for Python

Release pypi Conda recipe Conda package 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"

# 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


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

Uploaded Source

Built Distribution

maplibre-0.2.3-py3-none-any.whl (465.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maplibre-0.2.3.tar.gz
  • Upload date:
  • Size: 458.4 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

Hashes for maplibre-0.2.3.tar.gz
Algorithm Hash digest
SHA256 3da2d1d5153ae8674c1ba447e6b351fa06988b9e08b838c80f5969a04ace8724
MD5 1e28165ab95d0a6ba4777e8d8e871445
BLAKE2b-256 803f4a6a3a6011b3b2d54a5c970ed0c417db659fb99703ea4f46a1a7791748e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 465.7 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

Hashes for maplibre-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b18fe3c53807ef686d5c873e3128454d7e6c04e9a2be95312f5d0a977373a0c3
MD5 e841714fd0616eef8df9d9857ceb5f8d
BLAKE2b-256 b675e1f582f0cb84301b5be0ed38ac33a03f6868e457f7282ad1119080d93530

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