Core utility classes for environment variable management in Python projects
Project description
h7-env-manager
Core utility classes for environment variable management in Python projects.
Installation
pip install h7-env-manager
Features
- Centralized environment variable management
- Support for required and optional environment variables
- Automatic loading of .env files
Usage
from h7_env_manager import EnvManager
# Get required environment variable (raises ValueError if not found)
api_key = EnvManager.get_required_env_var("API_KEY")
# Get optional environment variable with default value
debug_mode = EnvManager.get_optional_env_var("DEBUG_MODE", "false")
Requirements
- Python 3.7+
- python-dotenv
- h7-file-finder
License
MIT License - Copyright (c) 2025 Roger Mori
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
h7_env_manager-1.0.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file h7_env_manager-1.0.0.tar.gz.
File metadata
- Download URL: h7_env_manager-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32ce5de35402684b004f8db1264e8f24c140b9598a825bdfa8a981391c5f398b
|
|
| MD5 |
e25ed20fe95abeb4a8ff70ade395b9c4
|
|
| BLAKE2b-256 |
887e9a90b93eb073341631d08ff38b870b3a6ff71b2b49553147f3843726a052
|
File details
Details for the file h7_env_manager-1.0.0-py3-none-any.whl.
File metadata
- Download URL: h7_env_manager-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d478a355a51f86f8783767a266ca54a268c1394fae6261874a1da80f5ffeacbd
|
|
| MD5 |
9e242e5d20e423f4a4b4b16f0d80a3da
|
|
| BLAKE2b-256 |
57b2d66b683a8113e0ee6d74ff7976255e0f794791d0565bec0ab188c4df10bc
|