Skip to content

titiler.application

titiler.application

Titiler's demo application.

Installation

python -m pip install -U pip

# From Pypi
python -m pip install titiler.application

# Or from sources
git clone https://github.com/developmentseed/titiler.git
cd titiler && python -m pip install -e src/titiler/core -e src/titiler/extensions -e src/titiler/mosaic -e src/titiler/application

Launch Application

$ python -m pip install uvicorn
$ uvicorn titiler.application.main:app --reload

Package structure

titiler/
 └── application/
    ├── tests/                   - Tests suite
    └── titiler/application/     - `application` namespace package
        ├── templates/
        |   └── index.html       - Landing page
        ├── main.py              - Main FastAPI application
        └── settings.py          - demo settings (cache, cors...)