A tiny library to create OpenDAL operators from pydantic models
Project description
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
Configin 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
python src/tools/gen.py > src/opendal_config/__init__.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opendal_config-0.4.0.tar.gz
(6.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opendal_config-0.4.0.tar.gz.
File metadata
- Download URL: opendal_config-0.4.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce1cd8333e8244e7dec11466ea5dff8ae644d9fedc498519ec38a6c863f32f16
|
|
| MD5 |
9f72aab68a178ba1cd9d7ac34a76077b
|
|
| BLAKE2b-256 |
4817ebb82e280092a157d4df4310297b7c1c28ff508c6a75b6724cf852429957
|
File details
Details for the file opendal_config-0.4.0-py3-none-any.whl.
File metadata
- Download URL: opendal_config-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c36cd891d8da6cb5c08e00cfa79cebfa067b6ab253e3c0f411b6b794e81eb3ce
|
|
| MD5 |
66d0b916ce45c7c9b0fa01e12c83ce34
|
|
| BLAKE2b-256 |
303bd1c788f47ec3d56585990a1db8b1676280d2ce4fc45357385b550d04ccf9
|