goodway-configs


Namegoodway-configs JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/mahs4d/goodway-config
Summaryconfigs in a good way
upload_time2023-06-03 12:15:00
maintainer
docs_urlNone
authorMahdi Sadeghi
requires_python>=3.10,<4.0
licenseMIT
keywords goodway config
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Goodway Configs

This library contains utilities to work with configs in a good way.

## Installation

`pip install goodway-configs`

## Getting Started

The following code uses `MultiConfigLoader` and `JsonConfigLoader` to combine two config files together.

```python
from pathlib import Path

from goodway_configs.config_loader.json_loader import JsonConfigLoader
from goodway_configs.config_loader.multi_loader import MultiConfigLoader

loader = MultiConfigLoader(config_loaders=[
    JsonConfigLoader(file_path=Path('./config1.json')),
    JsonConfigLoader(file_path=Path('./config2.json')),
])

config = await loader.load_config()
```

## Documentation

Documentation can be found [here](https://mahs4d.github.io/goodway-configs/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mahs4d/goodway-config",
    "name": "goodway-configs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "goodway,config",
    "author": "Mahdi Sadeghi",
    "author_email": "mahdi74sadeghi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b7/02/deba2db2a7c7c102bedd31f9a4b49b2c0fd2218d6a15e7633fe2ff6d9fa9/goodway_configs-0.1.0.tar.gz",
    "platform": null,
    "description": "# Goodway Configs\n\nThis library contains utilities to work with configs in a good way.\n\n## Installation\n\n`pip install goodway-configs`\n\n## Getting Started\n\nThe following code uses `MultiConfigLoader` and `JsonConfigLoader` to combine two config files together.\n\n```python\nfrom pathlib import Path\n\nfrom goodway_configs.config_loader.json_loader import JsonConfigLoader\nfrom goodway_configs.config_loader.multi_loader import MultiConfigLoader\n\nloader = MultiConfigLoader(config_loaders=[\n    JsonConfigLoader(file_path=Path('./config1.json')),\n    JsonConfigLoader(file_path=Path('./config2.json')),\n])\n\nconfig = await loader.load_config()\n```\n\n## Documentation\n\nDocumentation can be found [here](https://mahs4d.github.io/goodway-configs/).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "configs in a good way",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://goodway-config.mahs4d.com",
        "Homepage": "https://github.com/mahs4d/goodway-config"
    },
    "split_keywords": [
        "goodway",
        "config"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a894f360f428d1baa673aeb834ac24e566aa161ed83c760f46dcbbac0eb41540",
                "md5": "e2bbf1beb9d43f1ede2955ae16fde413",
                "sha256": "1c14717360de3eefe36b02de005fc5878e8ac390a1c3364a3a26c437af7d42c0"
            },
            "downloads": -1,
            "filename": "goodway_configs-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e2bbf1beb9d43f1ede2955ae16fde413",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 5358,
            "upload_time": "2023-06-03T12:14:58",
            "upload_time_iso_8601": "2023-06-03T12:14:58.243450Z",
            "url": "https://files.pythonhosted.org/packages/a8/94/f360f428d1baa673aeb834ac24e566aa161ed83c760f46dcbbac0eb41540/goodway_configs-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b702deba2db2a7c7c102bedd31f9a4b49b2c0fd2218d6a15e7633fe2ff6d9fa9",
                "md5": "405cca6d2dec0fff5238e298581f34d4",
                "sha256": "3bcb5e9f4087a3965532b300458246e5fef3c08a5168b84f81337b6c72158e28"
            },
            "downloads": -1,
            "filename": "goodway_configs-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "405cca6d2dec0fff5238e298581f34d4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 3813,
            "upload_time": "2023-06-03T12:15:00",
            "upload_time_iso_8601": "2023-06-03T12:15:00.491296Z",
            "url": "https://files.pythonhosted.org/packages/b7/02/deba2db2a7c7c102bedd31f9a4b49b2c0fd2218d6a15e7633fe2ff6d9fa9/goodway_configs-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-03 12:15:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mahs4d",
    "github_project": "goodway-config",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "goodway-configs"
}
        
Elapsed time: 0.14572s