Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 841 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 841 Bytes

Important

Warning: work in progress. until complete, please use github.com/dotenvx/dotenvx directly.

see python examples


dotenvx

a better dotenv–from the creator of dotenv.

  • run anywhere (cross-platform)
  • multi-environment
  • encrypted envs

 

Quickstart PyPI version

Install and use it in code just like python-dotenv.

pip install python-dotenv
# main.py
import os
from dotenvx import load_dotenvx
load_dotenvx()  # take environment variables from .env.

print(os.getenv("S3_BUCKET"))