direnv (environment switcher) python implementation
Project description
Installation
$ [sudo] pip install direnv
Functions
function | __doc__ |
---|---|
direnv.load(path=None) |
load environment variables depending on the current directory |
direnv.read(path=None) |
return a dictionary with environment variables depending on the current directory |
Examples
path/to/parent-folder/current-folder/.envrc
path/to/parent-folder/.envrc
>>> import direnv
>>> direnv.load()
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
direnv-2019.3.22.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for direnv-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64e7970bacd0b1a13feeb72031246fee0f37d69ca6d66cce1999eba7f513d5df |
|
MD5 | 03d742eb0488e1f1ae5d153711f6248b |
|
BLAKE2b-256 | eba8098882d8719050899f09a8307781a879a36c06d10926a077d2ef20c9d909 |