Packages

Pure Elixir implementation of Zarr v2 and v3: compressed, chunked, N-dimensional arrays with full Python zarr-python compatibility. Supports chunk streaming, custom encoders, and multiple storage backends including S3 and GCS.

Current section

Files

Jump to
ex_zarr lib ex_zarr application.ex
Raw

lib/ex_zarr/application.ex

defmodule ExZarr.Application do
@moduledoc """
ExZarr application module.
Starts the supervision tree including the codec and storage registries.
"""
use Application
require Logger
@impl true
def start(_type, _args) do
Logger.debug("Starting ExZarr application")
children = [
# Codec registry for managing built-in and custom codecs
{ExZarr.Codecs.Registry, []},
# Storage backend registry for managing built-in and custom storage backends
{ExZarr.Storage.Registry, []}
]
opts = [strategy: :one_for_one, name: ExZarr.Supervisor]
Supervisor.start_link(children, opts)
end
end