This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os as o | |
import shutil as s | |
import sys | |
# --- Minimal standard-library coloring helper --- | |
# Uses ANSI escape sequences and enables ANSI processing on Windows consoles | |
# without external packages. This is a small, portable helper. | |
if sys.platform.startswith("win"): | |
# Enable ANSI escape processing on Windows 10+ consoles using ctypes | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Extract all required env vars in config obj -> config.env_x_var | |
Do Type changing | |
''' | |
from dotenv import load_dotenv | |
import os | |
VALUE_TYPE_PAIR = ( |