blosc2.Proxy.__init__#
- Proxy.__init__(src: ProxySource, urlpath: str | None = None, mode='a', **kwargs: dict)#
Create a new Proxy to serve as 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.
mode¶ (str, optional) – “a” means read/write (create if it doesn’t exist); “w” means create (overwrite if it exists). Default is “a”.
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.