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 (
<Service>Config). - A type to represent any OpenDAL service config (
Config). - 2 functions to create operators (
create_operator,create_async_operator).
Typical use:
- First add
Configin you existing config system - Then create operators using
create_operatororcreate_async_operator. - So you have a typesafe way to create operators without defining anything yourself.
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.1.0.tar.gz
(3.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.1.0.tar.gz.
File metadata
- Download URL: opendal_config-0.1.0.tar.gz
- Upload date:
- Size: 3.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 |
4c62098aae8501de85576b72f01fde1bf28cbba6fc74241381983161e1f5acd1
|
|
| MD5 |
950b4db82d2ffaff14b6f48b0a9537ca
|
|
| BLAKE2b-256 |
4da0394697d6f96ee1d254e267c3c5a564114bd2f868f1ec7dfe9b79ff1e8751
|
File details
Details for the file opendal_config-0.1.0-py3-none-any.whl.
File metadata
- Download URL: opendal_config-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
51498d5a68cb67bae71445de3abc9614b52992fce526239992b667c7e372507c
|
|
| MD5 |
765d36d9748b8a5992d44d5b427d79f2
|
|
| BLAKE2b-256 |
c4b0e8f48a699101e080671dfd13d016ce0ae2c44c7c2cac65746471161b947d
|