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.1.0rc1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for dotenv_azd-0.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cc24f47a299c2102ab1735183f8c26ca48a1d0f2dfdadc89abce7b94a5ba23 |
|
MD5 | 0597209cc149c9d276d754027049b4b1 |
|
BLAKE2b-256 | 81f4ceca8e1ee5c7cc49600b969ee59e96d224b20190fb76f588e946855bbfb9 |