Skip to main content

Offline Folium

offline_folium is a Python module that makes it possible to use folium without an internet connection.

Quickstart

  • Install offline_folium (pip install offline_folium)
  • When you have an internet connection, download the relevant Javascript/CSS by running python -m offline_folium
  • When you do not have an internet connection, run from offline_folium import offline before you import folium, and then use folium normally. For example:
from offline_folium import offline
import folium

m = folium.Map()

Why?

By default, folium loads the required Javascript and CSS from CDNs over the internet. This doesn't work when you need to run folium offline. This project helps with that by allowing you to download the required resources when you have an internet connection (or during the application build/deploy process) and then use folium later on with those downloaded resources. The aim is to package it all up so that it is nice and simple for end-users (who may not be folium or Python specialists) to use.

Metadata

Release files for offline-folium 0.1.2

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

Built distribution (wheel)

Table of built distributions (wheels) for offline-folium 0.1.2
File Interpreter ABI Platform Actions
offline_folium-0.1.2-py3-none-any.whl Python 3 none any Details for offline_folium-0.1.2-py3-none-any.whl

Release files / offline_folium-0.1.2-py3-none-any.whl

Download URL offline_folium-0.1.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61a01e878ec4112f2a7687f6522557bec4de9b61227f6f603b22ada203156933
BLAKE2b-256 checksum
How to use checksums
97e7f4e12a36abe7bea9a17cf75673a32cf3ed6520ed01e577bfdb1830879853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Security for offline-folium 0.1.2

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.

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