folium

Make beautiful maps with Leaflet.js & Python

MIT 42 个版本 Python >=3.9
Rob Story <wrobstory@gmail.com>
安装
pip install folium
poetry add folium
pipenv install folium
conda install folium
描述

|PyPI| |Test| |Gitter| |DOI| |binder|

.. |PyPI| image:: https://img.shields.io/pypi/v/folium.svg :target: https://pypi.org/project/folium :alt: PyPI Package

.. |Test| image:: https://github.com/python-visualization/folium/actions/workflows/test_code.yml/badge.svg :target: https://github.com/python-visualization/folium/actions/workflows/test_code.yml :alt: Code tests

.. |Gitter| image:: https://badges.gitter.im/python-visualization/folium.svg :target: https://gitter.im/python-visualization/folium :alt: Gitter

.. |DOI| image:: https://zenodo.org/badge/18669/python-visualization/folium.svg :target: https://zenodo.org/badge/latestdoi/18669/python-visualization/folium :alt: DOI

.. |binder| image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/python-visualization/folium/main?filepath=examples

folium

.. image:: https://github.com/python-visualization/folium/blob/main/docs/_static/folium_logo.png :height: 100px

Python Data, Leaflet.js Maps


`folium` builds on the data wrangling strengths of the Python ecosystem and the
mapping strengths of the Leaflet.js library. Manipulate your data in Python,
then visualize it in a Leaflet map via `folium`.

Installation
------------

.. code:: bash

    $ pip install folium

or

.. code:: bash

    $ conda install -c conda-forge folium

Documentation
-------------

https://python-visualization.github.io/folium/latest/


Contributing
------------

We love contributions!  folium is open source, built on open source,
and we'd love to have you hang out in our community.

See `our complete contributor's guide <https://github.com/python-visualization/folium/blob/main/.github/CONTRIBUTING.md>`_ for more info.


Changelog
---------

- Release notes of v0.16.0 and higher: https://github.com/python-visualization/folium/releases
- Older `changelog <https://raw.githubusercontent.com/python-visualization/folium/main/CHANGES.txt>`_


Packages and plugins
--------------------

Packages:

- https://github.com/geopandas/xyzservices: a repository of raster basemap tilesets.
- https://github.com/randyzwitch/streamlit-folium: run folium in a Streamlit app.
- https://github.com/FEMlium/FEMlium: interactive visualization of finite element simulations on geographic maps with folium.

Plugins:

- https://github.com/onaci/folium-glify-layer: provide fast webgl rendering for large GeoJSON FeatureCollections
- https://github.com/carlosign/Folium.ControlCredits-Plugin: displaying credits in the corner. Display an image/logo, clicking it will expand to show a brief message with credits and links.
- https://github.com/JohnyCarrot/folium-geocoder-own-locations: a geocoder that accepts a list of suggestions at creation time.
- https://github.com/iwpnd/folium-vectortilelayer: a tile layer that zooms and stretches beyond the maximum and minimum of the tile provider
版本列表
0.20.0 2025-06-16
0.19.7 2025-06-03
0.19.6 2025-05-15
0.19.5 2025-02-27
0.19.4 2025-01-06
0.19.3 2024-12-29
0.19.2 2024-12-13
0.19.1 2024-12-12
0.19.0 2024-12-10
0.18.0 2024-10-22
0.17.0 2024-06-16
0.16.0 2024-02-29
0.15.1 2023-12-04
0.15.0 2023-11-06
0.14.0 2022-12-12
0.13.0 2022-10-07
0.12.1 2021-01-18
0.12.1.post1 2021-11-22
0.12.0 2021-01-06
0.11.0 2020-05-07
0.10.1 2019-12-02
0.10.0 2019-07-24
0.9.1 2019-05-26
0.9.0 2019-05-17
0.8.3 2019-03-15
0.8.2 2019-02-26
0.8.0 2019-02-25
0.7.0 2018-11-20
0.6.0 2018-08-11
0.5.0 2017-09-13
0.4.0 2017-09-04
0.3.0 2017-03-06
0.2.1 2016-04-02
0.2.0 2016-02-14
0.1.6 2015-11-09
0.1.5 2015-08-13
0.1.4 2015-04-01
0.1.3 2014-12-04
0.1.2 2013-05-20
0.1.1 2013-05-20
0.1.0 2013-05-20
0.0.0 2021-01-06