You can create a cached storage client by importing the respective class and instantiating it.

For a complete example look at the Accessing Open Data section.

Parameters

user
str

The username for the storage provider.

password
str

The password for the storage provider.

cache_directory
Path

Path to the local directory where data should be cached. The directory is created if it doesn’t exist. Defaults to ~/.cache/tilebox.