Name | maplibre JSON |
Version |
0.2.8
JSON |
| download |
home_page | None |
Summary | Python bindings for MapLibre GL JS |
upload_time | 2025-01-21 14:53:58 |
maintainer | None |
docs_url | None |
author | Stefan Kuethe |
requires_python | <4,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# MapLibre for Python
[](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)
[](https://pypi.python.org/pypi/maplibre)
[](https://github.com/conda-forge/maplibre-feedstock)
[](https://anaconda.org/conda-forge/maplibre)
[](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)
[](https://img.shields.io/github/license/eoda-dev/py-maplibregl)
[](https://github.com/maplibre/maplibre-gl-js/releases/tag/v3.6.2)
MapLibre for Python provides Python bindings for [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js).
Furthermore, [Deck.GL Layers](https://deck.gl/docs/api-reference/layers) can be mixed with [MapLibre Layers](https://maplibre.org/maplibre-style-spec/layers/).
It integrates seamlessly into [Shiny for Python](https://github.com/posit-dev/py-shiny) and [Jupyter](https://jupyter.org/).
## Installation
```bash
# Stable
pip install maplibre
pip install "maplibre[all]"
# Dev
pip install git+https://github.com/eoda-dev/py-maplibregl@dev
pip install "maplibre[all] @ git+https://github.com/eoda-dev/py-maplibregl@dev"
# Conda
conda install -c conda-forge maplibre
```
## Quickstart
```python
from maplibre import Map, MapOptions
m = Map(MapOptions(center=(-123.1256, 49.24658), zoom=9))
m.save(preview=True)
```
## Documentation
* [Basic usage](https://eoda-dev.github.io/py-maplibregl/)
* [API Documentation](https://eoda-dev.github.io/py-maplibregl/api/map/)
* [Examples](https://eoda-dev.github.io/py-maplibregl/examples/every_person_in_manhattan/)
## Development
### Python
```bash
poetry install
poetry run pytest
poetry run pytest --ignore=maplibre/ipywidget.py --doctest-modules maplibre
```
### JavaScript
See [maplibre-bindings](https://github.com/eoda-dev/maplibre-bindings)
Raw data
{
"_id": null,
"home_page": null,
"name": "maplibre",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Stefan Kuethe",
"author_email": "stefan.kuethe@eoda.de",
"download_url": "https://files.pythonhosted.org/packages/0d/4f/fedcb9a9fc62b422bee95578cbdba463c68781ec5eafecfa9ffda13375f5/maplibre-0.2.8.tar.gz",
"platform": null,
"description": "# MapLibre for Python\n\n[](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)\n[](https://pypi.python.org/pypi/maplibre)\n[](https://github.com/conda-forge/maplibre-feedstock)\n[](https://anaconda.org/conda-forge/maplibre)\n[](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)\n[](https://img.shields.io/github/license/eoda-dev/py-maplibregl)\n[](https://github.com/maplibre/maplibre-gl-js/releases/tag/v3.6.2)\n\nMapLibre for Python provides Python bindings for [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js).\nFurthermore, [Deck.GL Layers](https://deck.gl/docs/api-reference/layers) can be mixed with [MapLibre Layers](https://maplibre.org/maplibre-style-spec/layers/).\n\nIt integrates seamlessly into [Shiny for Python](https://github.com/posit-dev/py-shiny) and [Jupyter](https://jupyter.org/).\n\n## Installation\n\n```bash\n# Stable\npip install maplibre\n\npip install \"maplibre[all]\"\n\n# Dev\npip install git+https://github.com/eoda-dev/py-maplibregl@dev\n\npip install \"maplibre[all] @ git+https://github.com/eoda-dev/py-maplibregl@dev\"\n\n# Conda\nconda install -c conda-forge maplibre\n```\n\n## Quickstart\n\n```python\nfrom maplibre import Map, MapOptions\n\nm = Map(MapOptions(center=(-123.1256, 49.24658), zoom=9))\nm.save(preview=True)\n```\n\n## Documentation\n\n* [Basic usage](https://eoda-dev.github.io/py-maplibregl/)\n* [API Documentation](https://eoda-dev.github.io/py-maplibregl/api/map/)\n* [Examples](https://eoda-dev.github.io/py-maplibregl/examples/every_person_in_manhattan/)\n\n## Development\n\n### Python\n\n```bash\npoetry install\n\npoetry run pytest\n\npoetry run pytest --ignore=maplibre/ipywidget.py --doctest-modules maplibre\n```\n\n### JavaScript\n\nSee [maplibre-bindings](https://github.com/eoda-dev/maplibre-bindings)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python bindings for MapLibre GL JS",
"version": "0.2.8",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "254a994b33fb062c2b23539b5ea9fd7f60f2252674669bbdc5d055ca33c1db31",
"md5": "12f1f9a79cd81c1756c4ba2bafa58a2d",
"sha256": "7223f8d69dd4aa85d8ebb9ca6550f739d723caba96af319ae576c744271ebde3"
},
"downloads": -1,
"filename": "maplibre-0.2.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12f1f9a79cd81c1756c4ba2bafa58a2d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.9",
"size": 677500,
"upload_time": "2025-01-21T14:53:55",
"upload_time_iso_8601": "2025-01-21T14:53:55.344560Z",
"url": "https://files.pythonhosted.org/packages/25/4a/994b33fb062c2b23539b5ea9fd7f60f2252674669bbdc5d055ca33c1db31/maplibre-0.2.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0d4ffedcb9a9fc62b422bee95578cbdba463c68781ec5eafecfa9ffda13375f5",
"md5": "6c057b5758e506ca772851b581e719b6",
"sha256": "6e6e76a2fec5b845d0954a892922a6cf9932224150e0a5fc293a9af808205dca"
},
"downloads": -1,
"filename": "maplibre-0.2.8.tar.gz",
"has_sig": false,
"md5_digest": "6c057b5758e506ca772851b581e719b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.9",
"size": 664183,
"upload_time": "2025-01-21T14:53:58",
"upload_time_iso_8601": "2025-01-21T14:53:58.711288Z",
"url": "https://files.pythonhosted.org/packages/0d/4f/fedcb9a9fc62b422bee95578cbdba463c68781ec5eafecfa9ffda13375f5/maplibre-0.2.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 14:53:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "maplibre"
}