retroyaml


Nameretroyaml JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/retrontology/retroyaml
SummaryNone
upload_time2024-08-02 08:44:22
maintainerNone
docs_urlNone
authorretrontology
requires_pythonNone
licenseMIT
keywords yaml dict
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # reyaml

## Description
Small utility class to ease yaml configuration in python3.

## Requirements
Currently only requires `pyyaml`. 

To install the requirements:
`pip3 install -r requirements.txt`

## Example
### config.yaml
```
hello: world
this:
  is:
    - a
    - test
```
### example.py
```
from retroyaml.yamlConf import yamlConf

config = yamlConf('config.yaml')

print(config.hello)
```
> world
```
print(len(config.this.is))
```
> 2

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/retrontology/retroyaml",
    "name": "retroyaml",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "yaml dict",
    "author": "retrontology",
    "author_email": "retrontology@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bc/8c/2b6e1af0b3c9c45f43a3afe07afa53a3cce0f641b62144c8201d17bf6502/retroyaml-0.0.2.tar.gz",
    "platform": null,
    "description": "# reyaml\n\n## Description\nSmall utility class to ease yaml configuration in python3.\n\n## Requirements\nCurrently only requires `pyyaml`. \n\nTo install the requirements:\n`pip3 install -r requirements.txt`\n\n## Example\n### config.yaml\n```\nhello: world\nthis:\n  is:\n    - a\n    - test\n```\n### example.py\n```\nfrom retroyaml.yamlConf import yamlConf\n\nconfig = yamlConf('config.yaml')\n\nprint(config.hello)\n```\n> world\n```\nprint(len(config.this.is))\n```\n> 2\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": null,
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/retrontology/retroyaml"
    },
    "split_keywords": [
        "yaml",
        "dict"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc8c2b6e1af0b3c9c45f43a3afe07afa53a3cce0f641b62144c8201d17bf6502",
                "md5": "bc033dfbf83c69059504107e09ad99ce",
                "sha256": "21b96fd9fb03d7a5f81c82b6da2b781bab6219df022c041689add8f5863cef63"
            },
            "downloads": -1,
            "filename": "retroyaml-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "bc033dfbf83c69059504107e09ad99ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2749,
            "upload_time": "2024-08-02T08:44:22",
            "upload_time_iso_8601": "2024-08-02T08:44:22.828147Z",
            "url": "https://files.pythonhosted.org/packages/bc/8c/2b6e1af0b3c9c45f43a3afe07afa53a3cce0f641b62144c8201d17bf6502/retroyaml-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-02 08:44:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "retrontology",
    "github_project": "retroyaml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "retroyaml"
}
        
Elapsed time: 9.70310s