maplibre


Namemaplibre JSON
Version 0.2.8 PyPI version JSON
download
home_pageNone
SummaryPython bindings for MapLibre GL JS
upload_time2025-01-21 14:53:58
maintainerNone
docs_urlNone
authorStefan Kuethe
requires_python<4,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MapLibre for Python

[![Release](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)
[![pypi](https://img.shields.io/pypi/v/maplibre.svg)](https://pypi.python.org/pypi/maplibre)
[![Conda recipe](https://img.shields.io/badge/recipe-maplibre-green.svg)](https://github.com/conda-forge/maplibre-feedstock)
[![Conda package](https://img.shields.io/conda/vn/conda-forge/maplibre.svg)](https://anaconda.org/conda-forge/maplibre)
[![Build status](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)
[![License](https://img.shields.io/github/license/eoda-dev/py-maplibregl)](https://img.shields.io/github/license/eoda-dev/py-maplibregl)
[![MapLibre](https://img.shields.io/badge/MapLibre.GL-v3.6.2-blue.svg)](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[![Release](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)](https://img.shields.io/github/v/release/eoda-dev/py-maplibregl)\n[![pypi](https://img.shields.io/pypi/v/maplibre.svg)](https://pypi.python.org/pypi/maplibre)\n[![Conda recipe](https://img.shields.io/badge/recipe-maplibre-green.svg)](https://github.com/conda-forge/maplibre-feedstock)\n[![Conda package](https://img.shields.io/conda/vn/conda-forge/maplibre.svg)](https://anaconda.org/conda-forge/maplibre)\n[![Build status](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)](https://img.shields.io/github/actions/workflow/status/eoda-dev/py-maplibregl/pytest.yml?branch=main)\n[![License](https://img.shields.io/github/license/eoda-dev/py-maplibregl)](https://img.shields.io/github/license/eoda-dev/py-maplibregl)\n[![MapLibre](https://img.shields.io/badge/MapLibre.GL-v3.6.2-blue.svg)](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"
}
        
Elapsed time: 0.49626s