Metadata-Version: 2.5
Name: azuredol
Version: 0.1.18
Summary: Azure Storage Data Object Layer
Project-URL: Homepage, https://github.com/i2mint/azuredol
Author: Thor Whalen
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: azure,azure-storage,blob,data-access,dol,storage
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Filesystems
Requires-Python: >=3.10
Requires-Dist: azure-storage-blob
Requires-Dist: dol>=0.3.75
Provides-Extra: dev
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx-rtd-theme>=1.0; extra == 'docs'
Requires-Dist: sphinx>=6.0; extra == 'docs'
Description-Content-Type: text/markdown

# azuredol
Azure Storage Data Object Layer

To install:	```pip install azuredol```

## Sub-stores: use `substore()`

To get the part of a store under a prefix, prefer `azuredol.substore(store, 'sub/')`: it is the portable form and returns a sub-store through any wrapper stack on `store` (key codecs, value codecs, scopes), so `substore(store, 'sub/')[k]` is always `store['sub/' + k]`.

```python
from azuredol import substore

sub = substore(store, "2026/")
```

`store['sub/']` (a key ending in `/`) also works and is kept, but only on a bare store and on typed-store classes (`typed_store`, `AzureJsonStore`). It does not work through every wrapper stack: a dol wrapper placed on top of an *instance* is not carried into `store['sub/']`.
