Python dotenv adapter that loads dotenv key value pairs from Azure Developer CLI (azd)
Project description
dotenv-azd
This library provides a Python python-dotenv wrapper function that loads dotenv key value pairs from the currently selected Azure Developer CLI (azd) environment.
Installation
pip install dotenv-azd
Usage
Create a new AZD env if you don't have one yet:
azd env new
In your Python code:
from dotenv_azd import load_azd_env
from os import getenv
load_azd_env()
print(getenv('AZURE_ENV_NAME'))
License
dotenv-azd
is distributed under the terms of the MIT license.
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
dotenv_azd-0.0.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for dotenv_azd-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cd896888a48ee19e84a6066d2d0b89d8a44ca7db6986d44b626f6ba0332e11 |
|
MD5 | 8c96466b4f97aae7e47a0b6ff20bde5e |
|
BLAKE2b-256 | 3c767cbfdcbdc44298190a31c8efd4d44d7370ac7620db0bb6f22c63e7a27f79 |