Skip to main content

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


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)

Uploaded Source

Built Distribution

direnv-2019.2.23-py2.py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page