maplibre 0.3.3
pip install maplibre
Latest version
Released:
Python bindings for MapLibre GL JS
Navigation
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT)
- Author: Stefan Kuethe
- Requires: Python <4, >=3.9
Classifiers
- License
- Programming Language
Project description
MapLibre for Python
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, Marimo, Jupyter and JupyterLite.
Installation
# Stable
pip install maplibre # minimal
pip install "maplibre[shiny]" # shiny bindings
pip install "maplibre[ipywidget]" # marimo and jupyter bindings
pip install "maplibre[all]"
uv add maplibre
uv add "maplibre[all]"
# Unstable
pip install git+https://github.com/eoda-dev/py-maplibregl@dev
pip install "maplibre[all] @ git+https://github.com/eoda-dev/py-maplibregl@dev"
uv add "git+https://github.com/eoda-dev/py-maplibregl@dev[all]"
# Conda
conda install -c conda-forge maplibre
Quickstart
from maplibre import Map, MapOptions
m = Map(MapOptions(center=(-123.1256, 49.24658), zoom=9))
m.save(preview=True)
Documentation
Development
Python
poetry install
poetry run pytest
poetry run pytest --ignore=maplibre/ipywidget.py --doctest-modules maplibre
JavaScript
Project details
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT)
- Author: Stefan Kuethe
- Requires: Python <4, >=3.9
Classifiers
- License
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file maplibre-0.3.3.tar.gz
.
File metadata
- Download URL: maplibre-0.3.3.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-134-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c80e818e96f37dee0bfcdc0bced0307758ca6090dbe7748e1133d07edfe0095 |
|
MD5 | 19323eedcfdaee250ebdb39261aa5458 |
|
BLAKE2b-256 | caf94fa76ab6f8f6be29d4841908a71cce5e0a7254cf4acfc8f4335b1b068972 |
File details
Details for the file maplibre-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: maplibre-0.3.3-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-134-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc69ece43d38040256bdecbc49563a4fba7f79acbb90bbf7ec52f3c885e9833a |
|
MD5 | bfc3a9bc5f3e2df28bb1abc804b7da15 |
|
BLAKE2b-256 | 63ed6d16b94503dc6e290eb0ab268169582b9e3cb0c776c785096165f6385ed9 |