# config **Repository Path**: QianFuFinancial/config ## Basic Information - **Project Name**: config - **Description**: 读取项目配置类 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-10-17 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Config ![CI status](https://img.shields.io/badge/build-passing-brightgreen.svg) Config is a Python-based project for reading configurations from YAML files. ## Installation ### Requirements - Python 2.7 and up - pkg_resources - pyYAML ``` $ pip install chance-config ``` ## Usage ```python import chanconfig # With package given chanconfig.Config('test.yaml', 'foo.conf') # With relative/absolute path chanconfig.Config('foo/conf/test.yaml') ``` ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.