Folium: Leaflet maps from Python. Protomaps: Self-host an entire world basemap as a single PMTiles file.
| Folium | Protomaps | |
|---|---|---|
| Category | Map Libraries & SDKs | Basemaps & Map Tiles |
| Pricing model | Open source | Open source |
| Starts at | Free | Free |
| Free tier | — | — |
| Open source | Yes | Yes |
| Software licence | MIT | BSD-3-Clause (code); ODbL (OSM data) |
| API | — | — |
| Platforms | Python | Web, JavaScript, Command line |
| Made by | — | — |
| Commercial use | Allowed | Allowed |
| Export / print images | Allowed | Allowed |
| Offline / caching | Check terms | Allowed |
| Visits from MapTools | 1 | 9 |
| Visit | Visit |
Folium features
- Leaflet maps from Python
- Choropleths and heatmaps
- Jupyter integration
- HTML export
Protomaps features
- PMTiles single-file tile archives
- Daily world basemap builds from OpenStreetMap
- Serve from S3, R2 or any static host
- Open basemap styles for MapLibre
When you host the tiles yourself, only the OpenStreetMap attribution and ODbL terms apply.
Protomaps alternativesSummary based on public information. Check each provider's current pricing and terms.