direnv (environment switcher) python implementation
Project description
Install
$ [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
readme-md - README.md generator
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.2.23.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for direnv-2019.2.23-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 317ed456faf54202865ab686523b56ed7a05dafdf4c9d7eb11332c6e97d64344 |
|
MD5 | 4926f08d87798e775cbaf80c6c60f65f |
|
BLAKE2b-256 | 9184191085fab870abc16744f649fe57ceb30d3cabb7c03311fa9edf9a1d4cd6 |