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

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

Uploaded Source

Built Distribution

maplibre-0.2.6-py3-none-any.whl (494.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for maplibre-0.2.6.tar.gz
Algorithm Hash digest
SHA256 638022b703798ae499bcef81064214785c051ac0ef7b6c9bb53a1fba453d41d4
MD5 56a15003bdbb11ec568b074b24ba77e1
BLAKE2b-256 e8897fbe7805e48e3b1280f611ba75bb710948d4812f47bf0bba72dcc30cf51d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maplibre-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 96cc82a43204c59874642a9b5f9473197788b4c9b0760635d57544791cef1c59
MD5 80ed0381201a4668d40efc2e4fb1865a
BLAKE2b-256 859c429e928ca5a2ca476f47790a562a40d34e641a2ea7c39c3dcde4928e5fd9

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