Change System Environment Variable permanently\
[github page](https://github.com/blueboy-tm/python-envariable/)
## Install
```shell
pip install envariable
```
## Example
```python
from envarible import setenv, unsetenv, getenv, getenvall
# The variable TEST is stored permanently with the VALUE value
setenv('TEST', 'VALUE')
print(getenv('TEST'))
>>> VALUE
# The TEST variable is permanently deleted
unsetenv('TEST')
print(getenv('TEST'))
>>> None
# returned all Environment Variable
all_env = getenvall()
```
## Example 2
```python
from envariable import setenv, getenv
path = getenv('PATH')
setenv('PATH', f'{path}:/my/dir')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/blueboy-tm/python-envariable/",
"name": "envariable",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.3",
"maintainer_email": "",
"keywords": "env,variable,environment,os,system,Environment Variable,environ",
"author": "Arshia Ihammi",
"author_email": "arshiaihammi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7b/89/2fc1c5dd0bbaeee54d6007b080c562d76a04b8a6c5be64ad7bc4d7c1a37d/envariable-1.3.tar.gz",
"platform": "",
"description": "\nChange System Environment Variable permanently\\\n[github page](https://github.com/blueboy-tm/python-envariable/)\n\n## Install\n```shell\npip install envariable\n```\n\n## Example\n```python\nfrom envarible import setenv, unsetenv, getenv, getenvall\n# The variable TEST is stored permanently with the VALUE value\nsetenv('TEST', 'VALUE') \n\nprint(getenv('TEST'))\n>>> VALUE\n\n# The TEST variable is permanently deleted\nunsetenv('TEST')\n\n\nprint(getenv('TEST'))\n>>> None\n\n# returned all Environment Variable\nall_env = getenvall()\n```\n\n## Example 2\n```python\nfrom envariable import setenv, getenv\n\npath = getenv('PATH')\nsetenv('PATH', f'{path}:/my/dir')\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Change System Environment Variable permanently",
"version": "1.3",
"split_keywords": [
"env",
"variable",
"environment",
"os",
"system",
"environment variable",
"environ"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6a82f42fecbfea87a2c14598804e9f41",
"sha256": "175d8ca402e63da5e2e5de0ef54515d950c8b11cd53fe070046767f62d3815be"
},
"downloads": -1,
"filename": "envariable-1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a82f42fecbfea87a2c14598804e9f41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.3",
"size": 3871,
"upload_time": "2021-06-21T19:46:14",
"upload_time_iso_8601": "2021-06-21T19:46:14.529401Z",
"url": "https://files.pythonhosted.org/packages/ce/90/318fc7f66b09c1e97d0e12186e10f99a39fa8f8453e3f5108316dce43a03/envariable-1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "69120c5794573cbf00d47727b32e6af0",
"sha256": "ce538d3538819b2d2f9184637c6187c8856bd616893193d3ca353c53a1999a62"
},
"downloads": -1,
"filename": "envariable-1.3.tar.gz",
"has_sig": false,
"md5_digest": "69120c5794573cbf00d47727b32e6af0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.3",
"size": 2548,
"upload_time": "2021-06-21T19:46:16",
"upload_time_iso_8601": "2021-06-21T19:46:16.183083Z",
"url": "https://files.pythonhosted.org/packages/7b/89/2fc1c5dd0bbaeee54d6007b080c562d76a04b8a6c5be64ad7bc4d7c1a37d/envariable-1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-06-21 19:46:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "blueboy-tm",
"github_project": "python-envariable",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "envariable"
}