Metadata-Version: 2.1
Name: configset
Version: 0.19
Summary: simple write config/setting, wrap of configparser
Home-page: https://bitbucket.org/licface/configset
Author: Hadi Cahyadi LD
Author-email: cumulus13@gmail.com
Maintainer: cumulus13 Team
Maintainer-email: cumulus13@gmail.com
License: BSD
Project-URL: Code, https://bitbucket.org/licface/configset
Project-URL: Documentation, https://bitbucket.org/licface/configset
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/markdown
Requires-Dist: argparse
Requires-Dist: configparser

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 = configset.configset()
            self.CONFIG.configname = os.path.join(os.path.dirname(__file__), 'pcloud.ini')
            ...

            self.username = self.CONFIG.read_config('AUTH', 'username', value="admin")
            self.password = self.CONFIG.read_config('AUTH', 'password', value="12345678")
            ...

Support
------

*   Python 2.7 +, Python 3.x
*   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

