confiy-1.4
توضیحات
With this module you can easy take the value of config file only by key, in python projects
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | confiy-1.4 |
| نام | confiy |
| نسخه کتابخانه | 1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hasan Sajedi |
| ایمیل نویسنده | hassansajedi@gmail.com |
| آدرس صفحه اصلی | https://github.com/hasansajedi/confiy |
| آدرس اینترنتی | https://pypi.org/project/confiy/ |
| مجوز | - |
# **confiy**
Confiy is easiest way to read config file only with key.
#####Caution:
You must create a config file where you need to call, with any extension but .cnf is better and then write your configs in file such as following lines:
- my_prj
- db
- conf.cnf
```python
key1=1234
key2="string with value2"
key3="string with value3"
```
- connector.py
```python
from confiy.confiy import confiy
print(confiy().getValue(key='key1'))
```
Easy to install and easier to use
Use python version >= 2.7
نحوه نصب
نصب پکیج whl confiy-1.4:
pip install confiy-1.4.whl
نصب پکیج tar.gz confiy-1.4:
pip install confiy-1.4.tar.gz