Rio-viz

Latest version: v0.14.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.11.0

* update titiler requirement to `>=0.13,<0.14`

0.10.3

* switch `/map` viewer to maplibre

0.10.2

* handle dateline crossing dataset in html viewers
* fix issue with FastAPI>0.93
* update FastAPI dependency version

0.10.1

* update titiler requirement

0.10.0

* remove `AsyncBaseReader` support
* add Jupyter Notebook compatible `Client`

python
import time

import httpx
from folium import Map, TileLayer

from rio_viz.app import Client

Create rio-viz Client (using server-thread to launch background task)
client = Client("https://data.geo.admin.ch/ch.swisstopo.swissalti3d/swissalti3d_2019_2573-1085/swissalti3d_2019_2573-1085_0.5_2056_5728.tif")

Gives some time for the server to setup
time.sleep(1)

r = httpx.get(
f"{client.endpoint}/tilejson.json",
params = {
"rescale": "1600,2000", from the info endpoint
"colormap_name": "terrain",
}
).json()

bounds = r["bounds"]
m = Map(
location=((bounds[1] + bounds[3]) / 2,(bounds[0] + bounds[2]) / 2),
zoom_start=r["minzoom"]
)

aod_layer = TileLayer(
tiles=r["tiles"][0],
opacity=1,
attr="Yo!!"
)
aod_layer.add_to(m)
m


* update `rio-tiler-mvt` requirement (**>=0.1,<0.2**)

* add support for python 3.10 and 3.11
* remove python 3.7 support
* update titiler requirement to `0.10`
* revert using static files for javascript libraries
* add simple `/map` viewer

0.9.6

* update `titiler` and `starlette-cramjam` requirements

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.