Skip to main content

streamlit-folium: geospatial made easy in Streamlit!

Run tests each PR

Open in Streamlit

streamlit-folium integrates two great open-source projects in the Python ecosystem: Streamlit and Folium!

Installation

pip install streamlit-folium

or

conda install -c conda-forge streamlit-folium

Usage

Currently, there are two functions defined:

  • st_folium(): a bi-directional Component, taking a Folium/Branca object and plotting to the Streamlit app. Upon mount/interaction with the Streamlit app, st_folium() returns a Dict with selected information including the bounding box and items clicked on
  • folium_static(): takes a folium.Map, folium.Figure, or branca.element.Figure object and displays it in a Streamlit app using the _repr_html() representation created in Folium. This function should be a strict subset the of functionality of the newer st_folium() function, but is great for testing to ensure you have the correct Folium syntax.

Example

PyCafe logo Run and edit this example in Py.Cafe

streamlit_folium example

Contributing

See CONTRIBUTING.md for more details.

Metadata

Release files for streamlit-folium 0.28.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-folium 0.28.0
File Size Uploaded Provenance Actions
streamlit_folium-0.28.0.tar.gz 526.2 kB Without provenance Details for streamlit_folium-0.28.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-folium 0.28.0
File Interpreter ABI Platform Actions
streamlit_folium-0.28.0-py3-none-any.whl Python 3 none any Details for streamlit_folium-0.28.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / streamlit_folium-0.28.0.tar.gz

Download URL streamlit_folium-0.28.0.tar.gz
Size 526.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ff51cc42c9f93afd47f59372e550a4cb70c7ecb05f870891045cf08bb877e6c8
BLAKE2b-256 checksum
How to use checksums
60a429480e4dce280bfd9e21719b5f83246d23f6da70e138efa7cca299187d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / streamlit_folium-0.28.0-py3-none-any.whl

Download URL streamlit_folium-0.28.0-py3-none-any.whl
Size 528.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6380d755b6ee436199fead430d46329d742a0de8c479cb05cf83396565fb2c9f
BLAKE2b-256 checksum
How to use checksums
b71725f1d377b6c6cb2a4caded1facb91a83e549374c5ede52dd7ca63ec146bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for streamlit-folium 0.28.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.28.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page