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-2020.5.9.tar.gz
(1.8 kB
view hashes)