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

Uploaded Source

Built Distribution

maplibre-0.2.4-py3-none-any.whl (489.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maplibre-0.2.4.tar.gz
  • Upload date:
  • Size: 482.1 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.4.tar.gz
Algorithm Hash digest
SHA256 060ea2c0951bffbe3302dd4141273d0e5a8ada556da054b311e22ea0e4e8c7ba
MD5 e170db7a1644ba138d6f0b7761c79391
BLAKE2b-256 d17bb3a3ff06cd32ed458e0149e97887c0e7309a3cd60649a68bf2b0429f1a3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 489.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 02627b5b8b63975dd0a165e6c740501f3b4675e8f35b2f7ac520cfc7482a14a3
MD5 11c21c30f0e38c0b523cd6a3f72678e2
BLAKE2b-256 b1b44ee390c52a8394aa9608c941d36b91b89499836f298b01d0f744e19ab4c2

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