Skip to main content

A basemap for Datasette and datasette-leaflet

Project description


PyPI Changelog Tests License

A basemap for Datasette and datasette-leaflet


Install this plugin in the same environment as Datasette.

$ datasette install datasette-basemap


This plugin will make a basemap database available containing OpenStreetMap tiles in the mbtiles format. It is designed for use with the datasette-tiles tile server plugin.


You can preview this map at and browse the database directly at


The data bundled with this package is © OpenStreetMap contributors, licensed under the Open Data Commons Open Database License. See this page for more details.


To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-basemap
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:


Project details

Download files

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

Source Distribution

datasette-basemap-0.2.tar.gz (21.6 MB view hashes)

Uploaded source

Built Distribution

datasette_basemap-0.2-py3-none-any.whl (21.6 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page