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
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/licface/configset",
"name": "configset",
"maintainer": "cumulus13 Team",
"docs_url": null,
"requires_python": ">=2.7",
"maintainer_email": "cumulus13@gmail.com",
"keywords": "",
"author": "Hadi Cahyadi LD",
"author_email": "cumulus13@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4f/3e/e6279847d9d76e0e0e25da12b0141382180fb3da765df9b194dc7b7b67df/configset-1.42.tar.gz",
"platform": null,
"description": "configset\n==================\n\nsimple write config/setting, wrap of configparser\n\n\nInstalling\n-----------\n\nInstall and update using `pip`_:\n\n.. code-block:: text\n\n $ pip install configset\n\nconfigset supports Python 2 and newer, Python 3 and newer, and PyPy.\n\n.. _pip: https://pip.pypa.io/en/stable/quickstart/\n\n\nExample\n----------------\n\nWhat does it look like? Here is an example of a simple configset program:\n\n.. code-block:: python\n\n import configset\n\n class pcloud(object):\n\n def __init__(self, **kwargs):\n ...\n self.CONFIG.configname = os.path.join(os.path.dirname(__file__), 'config.ini')\n self.CONFIG = configset.configset(self.CONFIG.configname)\n ...\n\n self.username = self.CONFIG.read_config('AUTH', 'username', \"admin\")\n self.password = self.CONFIG.read_config('AUTH', 'password', \"12345678\")\n ...\n\nSupport\n---------\n\n* Python 2.7 +\n* Windows, Linux\n\nLinks\n------\n\n* License: `BSD <https://bitbucket.org/licface/configset/src/default/LICENSE.rst>`_\n* Code: https://bitbucket.org/licface/configset\n* Issue tracker: https://bitbucket.org/licface/configset/issues\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "simple write config/setting, wrap of configparser",
"version": "1.42",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "44a8773eb3d63d463355758a723d3bb1",
"sha256": "fd71b58753813ee930f40003a10a836f13808565de4acd58945898f2df706a34"
},
"downloads": -1,
"filename": "configset-1.42-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "44a8773eb3d63d463355758a723d3bb1",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7",
"size": 9900,
"upload_time": "2022-09-11T05:36:44",
"upload_time_iso_8601": "2022-09-11T05:36:44.011918Z",
"url": "https://files.pythonhosted.org/packages/e5/8e/b517b1d69b6dc77443ad40d392726f3d783b195680a6e50b8e92cea5e9c6/configset-1.42-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "68fb00fb0fe3f284acf1f0487bcbe22e",
"sha256": "07fa12f290ef91867e9c7e7ec9434e81fcb7c4db7f3f7443faf7fcd6174a112d"
},
"downloads": -1,
"filename": "configset-1.42.tar.gz",
"has_sig": false,
"md5_digest": "68fb00fb0fe3f284acf1f0487bcbe22e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7",
"size": 8503,
"upload_time": "2022-09-11T05:36:46",
"upload_time_iso_8601": "2022-09-11T05:36:46.231749Z",
"url": "https://files.pythonhosted.org/packages/4f/3e/e6279847d9d76e0e0e25da12b0141382180fb3da765df9b194dc7b7b67df/configset-1.42.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-09-11 05:36:46",
"github": false,
"gitlab": false,
"bitbucket": true,
"bitbucket_user": "licface",
"bitbucket_project": "configset",
"lcname": "configset"
}