Install & Compatibility
Where this runs
tested against v0.24.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 9.7s · import 0.000s · 248MB
246MB installed
● package 246MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
TilerFactory
✓ from titiler.core.factory import TilerFactory
✗ from titiler.factory import TilerFactory (pre-v2)
In v2, the factory classes moved from titiler.factories to titiler.core.factory
TilerSettings
✓ from titiler.core.settings import TilerSettings
✗ from titiler.settings import TilerSettings (pre-v2)
Settings classes now under titiler.core.settings
Creates a basic FastAPI app with the COG tile server, exposing standard tile endpoints.
from titiler.core.factory import TilerFactory
from fastapi import FastAPI
app = FastAPI()
tiler = TilerFactory()
app.include_router(tiler.router)
# Access: http://localhost:8000/cog/tiles/12/2048/1536?url=https://example.com/cog.tif
# Check health: http://localhost:8000/health
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'titiler'
Installed 'titiler-core' but tried to import 'titiler' (old metapackage).
fixImport from subpackages: 'from titiler.core.factory import TilerFactory'
ValueError: assets is required
In v2, the 'assets' parameter is mandatory for tile endpoints.
fixProvide 'assets' as a query parameter or set multiple via comma-separated values: '?assets=B01,B02'
Upgrade
Version history
2.0.5latest on PyPI · released Jun 18, 2026
Audit
Dependencies
fastapirequiredWeb framework for building the tile server endpoints
rasteriorequiredRaster I/O and GDAL bindings for reading geospatial data
rio-tilerrequiredLibrary for creating tile matrices from raster sources