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.3.0.tar.gz
(3.6 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.3.0.tar.gz.
File metadata
- Download URL: opendal_config-0.3.0.tar.gz
- Upload date:
- Size: 3.6 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 |
7e407cfc75e660f085c65f90d25575c3e37f4274f6afa0008d2fd789532f2545
|
|
| MD5 |
51abada26478e35b621ff1d3df544c1d
|
|
| BLAKE2b-256 |
991b1630b521cc0862d35e200fa8f4183e0721782de01e49a38e6bd83bfd4a8e
|
File details
Details for the file opendal_config-0.3.0-py3-none-any.whl.
File metadata
- Download URL: opendal_config-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.4 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 |
62abccf4032d9851e8bde91fae98487e32536ef3540a148362109c91fe15ed1e
|
|
| MD5 |
a678196ed70924e2e40ac4ed72146b4c
|
|
| BLAKE2b-256 |
d89a8cb83fdc550e8d096e7df8404b9f81eca34c794999e98e9b0a3cb265691f
|