configset-1.42
توضیحات
simple write config/setting, wrap of configparser
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | configset-1.42 |
| نام | configset |
| نسخه کتابخانه | 1.42 |
| نگهدارنده | ['cumulus13 Team'] |
| ایمیل نگهدارنده | ['cumulus13@gmail.com'] |
| نویسنده | Hadi Cahyadi LD |
| ایمیل نویسنده | cumulus13@gmail.com |
| آدرس صفحه اصلی | https://bitbucket.org/licface/configset |
| آدرس اینترنتی | https://pypi.org/project/configset/ |
| مجوز | BSD |
configset
==================
simple write config/setting, wrap of configparser
Installing
-----------
Install and update using `pip`_:
.. code-block:: text
$ pip install configset
configset supports Python 2 and newer, Python 3 and newer, and PyPy.
.. _pip: https://pip.pypa.io/en/stable/quickstart/
Example
----------------
What does it look like? Here is an example of a simple configset program:
.. code-block:: python
import configset
class pcloud(object):
def __init__(self, **kwargs):
...
self.CONFIG.configname = os.path.join(os.path.dirname(__file__), 'config.ini')
self.CONFIG = configset.configset(self.CONFIG.configname)
...
self.username = self.CONFIG.read_config('AUTH', 'username', "admin")
self.password = self.CONFIG.read_config('AUTH', 'password', "12345678")
...
Support
---------
* Python 2.7 +
* Windows, Linux
Links
------
* License: `BSD <https://bitbucket.org/licface/configset/src/default/LICENSE.rst>`_
* Code: https://bitbucket.org/licface/configset
* Issue tracker: https://bitbucket.org/licface/configset/issues
نیازمندی
| مقدار | نام |
|---|---|
| - | argparse |
| - | configparser |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7 | Python |
نحوه نصب
نصب پکیج whl configset-1.42:
pip install configset-1.42.whl
نصب پکیج tar.gz configset-1.42:
pip install configset-1.42.tar.gz