Metadata-Version: 2.4
Name: wconfig
Version: 0.1.1
Summary: 58WConfig配置平台工具
Author-email: 王梦迪 <wangmengdi06@58.com>
Requires-Python: >=3.10
Requires-Dist: docarray>=0.41.0
Requires-Dist: pydantic
Requires-Dist: requests>=2.32.4
Description-Content-Type: text/markdown

## Wconfig


### 安装

```bash
pip install wconfig
```

### 使用

```python
from wconfig import BaseConfig, WConfig

class MyConfig(BaseConfig):
    a: str
    b: int

config = WConfig(
    cluster_key="xx",
    cluster_name="xx",
    group_name="xx",
    namespace="xx",
    config_schema=MyConfig,
).get_main_config()

print(config.a)
print(config.b)
```
