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.2.0.tar.gz
(3.5 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.2.0.tar.gz.
File metadata
- Download URL: opendal_config-0.2.0.tar.gz
- Upload date:
- Size: 3.5 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 |
9a6ce12166ce8f448be0bc45fc6dfa3b2aa6b0a62c9071c0a707f84e69b2b823
|
|
| MD5 |
2f964ef01263cd3f4d4d8c5665d32273
|
|
| BLAKE2b-256 |
bab01dbf784f32412a3cfacf3e0e940985c40c1da06e45a492e85426eea5610d
|
File details
Details for the file opendal_config-0.2.0-py3-none-any.whl.
File metadata
- Download URL: opendal_config-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.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 |
b8a939f75278feb5bc45387853de2c3988cca004569704e0040b4818d0eb6b76
|
|
| MD5 |
911d7b5ded8cd4e756daa29e97f47ff1
|
|
| BLAKE2b-256 |
65de370b52dbef61474aec33d1c037e6e9af113625bb84d1c07148dd95fe4d22
|