confignest


Nameconfignest JSON
Version 1.0.5 PyPI version JSON
download
home_pagehttps://github.com/0-1CxH/ConfigNest
SummaryManaging Complex Configs in Nested Way.
upload_time2024-12-19 11:08:22
maintainerNone
docs_urlNone
authorgithub.com/0-1CxH
requires_pythonNone
licenseMIT Licence
keywords pip confignest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
This is for arranging multiple config files.



## config nest manifest

This is a file under the config nest subfolder, it has 3 fields: 

```
selection_mode: [one, all] # To include all names or select one of them
if_no_selection: [skip, deafult, error] #  if selection_mode is `one`, and not specified which to select in view file, skip this name, use the default name (next field value), or raise error when parsing
deafult_selection: [...] # if if_no_selection is `default`, this name will return
```

- The default selection_mode=all, which means, if no manifest file (should be named CONFIGNEST_MANIFEST) all names are included.
- The default if_no_selection=error, which means, if you do not select any of them in view file, this will raise error.

## demo
For a demo, see the repo: 0-1CxH/megatron-wrap

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/0-1CxH/ConfigNest",
    "name": "confignest",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pip, confignest",
    "author": "github.com/0-1CxH",
    "author_email": "h0.1c@foxmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ac/93/fe0a6d10b5dff426540fca9f0fae319e9ec9c68735a3ae9ed1e0534e3a7d/confignest-1.0.5.tar.gz",
    "platform": "any",
    "description": "\nThis is for arranging multiple config files.\n\n\n\n## config nest manifest\n\nThis is a file under the config nest subfolder, it has 3 fields: \n\n```\nselection_mode: [one, all] # To include all names or select one of them\nif_no_selection: [skip, deafult, error] #  if selection_mode is `one`, and not specified which to select in view file, skip this name, use the default name (next field value), or raise error when parsing\ndeafult_selection: [...] # if if_no_selection is `default`, this name will return\n```\n\n- The default selection_mode=all, which means, if no manifest file (should be named CONFIGNEST_MANIFEST) all names are included.\n- The default if_no_selection=error, which means, if you do not select any of them in view file, this will raise error.\n\n## demo\nFor a demo, see the repo: 0-1CxH/megatron-wrap\n",
    "bugtrack_url": null,
    "license": "MIT Licence",
    "summary": "Managing Complex Configs in Nested Way.",
    "version": "1.0.5",
    "project_urls": {
        "Homepage": "https://github.com/0-1CxH/ConfigNest"
    },
    "split_keywords": [
        "pip",
        " confignest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0492b7b463792220844d09f6935cf9e9b2f8420f2758bfd09343c0de3d736e33",
                "md5": "0fbc9d1c6ec36148bbd6e5304affde25",
                "sha256": "970a91366b337839189f8c7870620b5dab71783b4be113470ec7ec238d22e9e3"
            },
            "downloads": -1,
            "filename": "confignest-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0fbc9d1c6ec36148bbd6e5304affde25",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4442,
            "upload_time": "2024-12-19T11:08:21",
            "upload_time_iso_8601": "2024-12-19T11:08:21.820997Z",
            "url": "https://files.pythonhosted.org/packages/04/92/b7b463792220844d09f6935cf9e9b2f8420f2758bfd09343c0de3d736e33/confignest-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac93fe0a6d10b5dff426540fca9f0fae319e9ec9c68735a3ae9ed1e0534e3a7d",
                "md5": "15f0b7a52dca7dee8f8de86148741597",
                "sha256": "9eee09790cd091a1dfca6cf6392f18613786a83e6d20bed3d70ee74da58fd0ca"
            },
            "downloads": -1,
            "filename": "confignest-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "15f0b7a52dca7dee8f8de86148741597",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5725,
            "upload_time": "2024-12-19T11:08:22",
            "upload_time_iso_8601": "2024-12-19T11:08:22.759148Z",
            "url": "https://files.pythonhosted.org/packages/ac/93/fe0a6d10b5dff426540fca9f0fae319e9ec9c68735a3ae9ed1e0534e3a7d/confignest-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-19 11:08:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "0-1CxH",
    "github_project": "ConfigNest",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "confignest"
}
        
Elapsed time: 3.85914s