Metadata-Version: 2.3
Name: opendal-config
Version: 0.4.0
Summary: A tiny library to create OpenDAL operators from pydantic models
Author: Florian Daude
Author-email: Florian Daude <floriandaude@hotmail.fr>
License: Apache-2.0
Requires-Dist: opendal>=0
Requires-Dist: pydantic>=2
Requires-Python: >=3.12
Project-URL: Repository, https://gitlab.com/daude_f/opendal-config
Description-Content-Type: text/markdown

# OpenDAL Config

### A tiny library to create OpenDAL operators from pydantic models.

This library contains:

- A pydantic model for each OpenDAL service config.
- A Config type to represent any OpenDAL service config.
- Each service config can be converted to a OpenDAL operator.

Typical use:

- First add `Config` in you existing config system.
- Then create operators using `.to_operator()` or `.to_async_operator()`.
- You have an easy way to create operators with type safety.

### How to re-generate

```sh
python src/tools/gen.py > src/opendal_config/__init__.py
```
