environs-os-getter-class


Nameenvirons-os-getter-class JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/centroid457/environs_os_getter_class
SummaryUpdate class attributes from Os Environment
upload_time2023-09-07 15:00:09
maintainer
docs_urlNone
authorAndrei Starichenko
requires_python>=3.6
license
keywords environs environment
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # environs_os_getter_class


## Inspiration
Designed to use private data like username/pwd kept in OsEnvironment and not open it in public projects.  
Main goals: short implementation and OOP usage.


## Features

1. Create classes with special attributes, which will be updated from OS Environs.  
By default it must startswith "ENV__".

2. Ability to set default values.  
By this way you can share for example open username/pwd data, end user must create private data in the OS.

3. If finally no value withing any special attributes - raise Exception.  
You can disable this behaviour.


## License

See the [LICENSE](LICENSE) file for license rights and limitations (MIT).


## Release history

See the [HISTORY.md](HISTORY.md) file for release history.


## Help

See the [GUIDE.md](GUIDE.md) file for get started.


## Installation

```commandline
python pip install environs_os_getter_class
```

## Import

```python
from environs_os_getter_class import EnvsOsGetterClass
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/centroid457/environs_os_getter_class",
    "name": "environs-os-getter-class",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "environs environment",
    "author": "Andrei Starichenko",
    "author_email": "centroid@mail.ru",
    "download_url": "https://files.pythonhosted.org/packages/03/37/30e19689a92b006ddf3fe78e2ae1d170944237428464763ee46974bc0d5d/environs_os_getter_class-0.0.2.tar.gz",
    "platform": null,
    "description": "# environs_os_getter_class\r\n\r\n\r\n## Inspiration\r\nDesigned to use private data like username/pwd kept in OsEnvironment and not open it in public projects.  \r\nMain goals: short implementation and OOP usage.\r\n\r\n\r\n## Features\r\n\r\n1. Create classes with special attributes, which will be updated from OS Environs.  \r\nBy default it must startswith \"ENV__\".\r\n\r\n2. Ability to set default values.  \r\nBy this way you can share for example open username/pwd data, end user must create private data in the OS.\r\n\r\n3. If finally no value withing any special attributes - raise Exception.  \r\nYou can disable this behaviour.\r\n\r\n\r\n## License\r\n\r\nSee the [LICENSE](LICENSE) file for license rights and limitations (MIT).\r\n\r\n\r\n## Release history\r\n\r\nSee the [HISTORY.md](HISTORY.md) file for release history.\r\n\r\n\r\n## Help\r\n\r\nSee the [GUIDE.md](GUIDE.md) file for get started.\r\n\r\n\r\n## Installation\r\n\r\n```commandline\r\npython pip install environs_os_getter_class\r\n```\r\n\r\n## Import\r\n\r\n```python\r\nfrom environs_os_getter_class import EnvsOsGetterClass\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Update class attributes from Os Environment",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/centroid457/environs_os_getter_class",
        "Source": "https://github.com/centroid457/environs_os_getter_class"
    },
    "split_keywords": [
        "environs",
        "environment"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d6f5ca853f0f600cda2891849d4c30e5e1acad1d9b131b6b6c10f282bd2efe51",
                "md5": "07160b7c47e0c10aef913ede46063ff1",
                "sha256": "85824bead624f7b88d50559113bf8194e863c27d084e66e1fe6e4736e7284208"
            },
            "downloads": -1,
            "filename": "environs_os_getter_class-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "07160b7c47e0c10aef913ede46063ff1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4464,
            "upload_time": "2023-09-07T15:00:08",
            "upload_time_iso_8601": "2023-09-07T15:00:08.597579Z",
            "url": "https://files.pythonhosted.org/packages/d6/f5/ca853f0f600cda2891849d4c30e5e1acad1d9b131b6b6c10f282bd2efe51/environs_os_getter_class-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "033730e19689a92b006ddf3fe78e2ae1d170944237428464763ee46974bc0d5d",
                "md5": "fe7a5ebe590a339d63aef836da6a8db7",
                "sha256": "cdf7ccdb1608dd36f29c41baa1cc5ce4bb8c356ee9a6284ac5c0ea6d68532a3d"
            },
            "downloads": -1,
            "filename": "environs_os_getter_class-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "fe7a5ebe590a339d63aef836da6a8db7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3915,
            "upload_time": "2023-09-07T15:00:09",
            "upload_time_iso_8601": "2023-09-07T15:00:09.955604Z",
            "url": "https://files.pythonhosted.org/packages/03/37/30e19689a92b006ddf3fe78e2ae1d170944237428464763ee46974bc0d5d/environs_os_getter_class-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-07 15:00:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "centroid457",
    "github_project": "environs_os_getter_class",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "environs-os-getter-class"
}
        
Elapsed time: 0.10773s