Metadata-Version: 2.1
Name: dynamic-config
Version: 0.1.0
Summary: Distributed dynamic configuration based on Redis
Home-page: https://github.com/Euraxluo/dynamic_config
License: The MIT LICENSE
Author: Euraxluo
Author-email: euraxluo@qq.com
Requires-Python: >=3.6.5,<4.0.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: redis (>=4.1.4,<5.0.0)
Project-URL: Repository, https://github.com/Euraxluo/dynamic_config
Description-Content-Type: text/markdown

### dynamic_config 
- name = "dynamic_config"
- description = "Distributed dynamic configuration based on Redis"
- authors = ["Euraxluo <euraxluo@qq.com>"]
- license = "The MIT LICENSE"
- repository = "https://github.com/Euraxluo/dynamic_config"

#### install
`pip install dynamic-config`

#### UseAge
```
from dynamic_config.dynamic_config import DynamicConfig, Filed
from example.conftest import rdb
from loguru import logger

DynamicConfig.register(rdb,logger=logger)

class ConfigTest(DynamicConfig):
    __prefix__ = "test_config"
    __enable__ = True
    x: str = None
    y: str = Filed(None)

print(ConfigTest.x)
print(ConfigTest.y)
ConfigTest.x = 10
ConfigTest.y = [1,2,3,4]
```
