titiler-extensions
Extensions for TiTiler Factories.
What it is and what it does
titiler-extensions provides a collection of pre-built extension classes that plug into TiTiler's TilerFactory to add specialized endpoints for geospatial tile serving. It extends the base TiTiler framework with support for COG (Cloud Optimized GeoTIFF) validation, HTML viewers for COGs and STAC items, and OGC Web Map Service (WMS) endpoints. The package is designed to work with titiler-core and typing-extensions, allowing you to compose tile server functionality by registering extensions at factory creation time.
You use it by importing one or more extension classes, passing them to a TilerFactory's extensions parameter, and then registering the factory's router with your application. The package also provides a base FactoryExtension class for building your own custom extensions, letting you add arbitrary endpoints that reuse the factory's dependency injection system and reader infrastructure.
Use it for:
- Add a /validate endpoint to a tile server that returns COG metadata and validation info.
- Serve an interactive HTML viewer for individual Cloud Optimized GeoTIFFs without writing custom endpoints.
- Expose STAC item collections through a /viewer endpoint for browsing and previewing raster data.
- Implement OGC Web Map Service (WMS) GetTile and GetCapabilities endpoints on a tile server.
- Build custom tile endpoints (e.g., thumbnails, statistics) by subclassing FactoryExtension and reusing factory dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides pluggable extension classes for TiTiler's TilerFactory to add specialized endpoints like COG validation, STAC viewing, WMS support, and custom tile server functionality.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides a clean plugin architecture for extending TiTiler with common geospatial endpoints. Install it if you are building a tile server and want to add COG validation, STAC viewing, WMS support, or custom tile endpoints without writing boilerplate.
Install
titiler-extensions on PyPI
pip
pip install titiler-extensionsuv
uv add titiler-extensionspoetry
poetry add titiler-extensionsInstalling titiler-extensions
Before you install
Low install friction with only 2 runtime dependencies (titiler-core and typing-extensions). Actively maintained with a recent release 16 days ago and ongoing commits; the parent repository has 1145 stars.
License in practice
MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice in distributions.
Quickstart
pip install titiler.extensions
from titiler.core.factory import TilerFactory
from titiler.extensions import cogValidateExtension
tiler = TilerFactory(
router_prefix="/cog",
extensions=[cogValidateExtension()]
)
Requires Python 3.11 or later; titiler-core must be installed as a runtime dependency.
Verify before relying
- Whether the cogValidateExtension's rio-cogeo dependency is automatically installed or requires manual installation via titiler.extensions["cogeo"].
- Performance characteristics when multiple extensions are registered on a single TilerFactory.
- Compatibility with specific versions of titiler-core beyond the declared runtime dependency.
- Whether all extensions work with all supported Python versions (3.11, 3.12, 3.13, 3.14).
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — titiler-core, typing-extensions |
| Maintenance | actively maintained — 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,321/month — #13,670 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: titiler_extensions-2.2.1-py3-none-any.whl
Keywords: COG, Dynamic tile server, Fastapi, GDAL, MosaicJSON, OGC, Rasterio, STAC
Tags
More GIS packages
Shapely provides Python tools for creating,…
permissive · top 1,000 on PyPI
pyprojpyproj provides a Python interface to PROJ,…
permissive · top 1,000 on PyPI
geopandasGeoPandas extends pandas DataFrames to handle…
permissive · top 1,000 on PyPI
geopygeopy is a Python client for geocoding and…
permissive · top 5,000 on PyPI
pyogrioPyogrio provides fast, bulk-oriented read and…
permissive · top 5,000 on PyPI
h3h3 provides Python bindings to Uber's H3…
permissive · top 5,000 on PyPI
titiler-coreProvides FastAPI-based building blocks to…
permissive · top 15,000 on PyPI
titiler-mosaicAdds MosaicJSON support to TiTiler, enabling…
permissive · top 15,000 on PyPI
titiler-applicationProvides a ready-to-run FastAPI application for…
permissive · top 15,000 on PyPI
pystac-ext-renderExtends PySTAC to support the Render Extension…
permissive · top 5,000 on PyPI
rio-cogeorio-cogeo creates and validates Cloud Optimized…
permissive · top 15,000 on PyPI
morecantileConstruct and work with map tile grids…
permissive · top 15,000 on PyPI
rio-tilerrio-tiler reads raster data from local and…
permissive · top 15,000 on PyPI
cogeo-mosaicCreates and manages mosaics of Cloud Optimized…
permissive · top 15,000 on PyPI
stac-fastapi-extensionsProvides FastAPI extensions for the STAC API…
permissive · top 15,000 on PyPI
contextilyContextily retrieves tile-based map imagery…
permissive · top 15,000 on PyPI