blosc2.Proxy.__init__#

Proxy.__init__(src: ProxySource, urlpath: str = None, **kwargs: dict)#

Create a new Proxy to serve like a cache to save accessed chunks locally.

Parameters:
  • src (ProxySource or ProxyNDSource) – The original container.

  • urlpath (str, optional) – The urlpath where to save the container that will work as a cache.

  • kwargs (dict, optional) –

    Keyword arguments supported:

    vlmeta: dict or None
    A dictionary with different variable length metalayers. One entry per metalayer:
    key: bytes or str

    The name of the metalayer.

    value: object

    The metalayer object that will be serialized using msgpack.