Skip to main content

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


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.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h7_env_manager-1.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file h7_env_manager-1.0.1.tar.gz.

File metadata

  • Download URL: h7_env_manager-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for h7_env_manager-1.0.1.tar.gz
Algorithm Hash digest
SHA256 171eed7e225bd843f670d377368aed1a11a0526ef27714a23834315606166942
MD5 cf3300f4e802b724b26d92ed1cb1b0fb
BLAKE2b-256 f3e9669ede54e7095acf5438331b2f733860162d7afdf6fe764294d6808daba4

See more details on using hashes here.

File details

Details for the file h7_env_manager-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: h7_env_manager-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for h7_env_manager-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4173da6a86105e55a010fcbe24d7bd74fee112b3d3dd625a8ed5c830219a0f34
MD5 45ac4bd207e28a25fd4fb76a6e8221e6
BLAKE2b-256 1f0ed9c210d0440419bf7016b8c0ac92ff03890e92b78e0dec620e309024858f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page