Change System Environment Variable permanently
github page
Install
pip install envariable
Example
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
from envariable import setenv, getenv
path = getenv('PATH')
setenv('PATH', f'{path}:/my/dir')
Release files for envariable 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| envariable-1.3.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| envariable-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / envariable-1.3.tar.gz
| Download URL | envariable-1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce538d3538819b2d2f9184637c6187c8856bd616893193d3ca353c53a1999a62
|
|
BLAKE2b-256 checksum How to use checksums |
7b892fc1c5dd0bbaeee54d6007b080c562d76a04b8a6c5be64ad7bc4d7c1a37d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / envariable-1.3-py3-none-any.whl
| Download URL | envariable-1.3-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
175d8ca402e63da5e2e5de0ef54515d950c8b11cd53fe070046767f62d3815be
|
|
BLAKE2b-256 checksum How to use checksums |
ce90318fc7f66b09c1e97d0e12186e10f99a39fa8f8453e3f5108316dce43a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|