togeojsontiles is a Python 3 package with bindings for
tippecanoe (C++) and
togeojson (javascript) that
allows to create geojson vector tiles, tiles/{z}/{x}/{y}.geojson,
from gpx, mbtiles or geojson files.

The tiles allow to display large amounts of vector data on interactive
maps without losing performance.

The generated tiles can be shown on interactive slippy map like
OpenLayers and
Leaflet.

Installation

togeojsontiles is compatible with Python 3.3, 3.4, 3.5. It is listed
on PyPi as ‘togeojsonfiles’.

The recommended way to install is via pip,

$ pip install togeojsontiles

Dependencies

This package provides Python bindings for tippecanoe (C++) to create the
tiles, and togeojson (javascript) to convert gpx to geojson. These
libraries do all the work and are required.

tippecanoe

See tippecanoe for
installation instructions. It has a few system level dependencies, but
is rather easy to build.