Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

offline_folium-0.1.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file offline_folium-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for offline_folium-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61a01e878ec4112f2a7687f6522557bec4de9b61227f6f603b22ada203156933
MD5 bca213f0e246ac690a5d3e8002abbc57
BLAKE2b-256 97e7f4e12a36abe7bea9a17cf75673a32cf3ed6520ed01e577bfdb1830879853

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page