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.0.tar.gz (3.5 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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for h7_env_manager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 32ce5de35402684b004f8db1264e8f24c140b9598a825bdfa8a981391c5f398b
MD5 e25ed20fe95abeb4a8ff70ade395b9c4
BLAKE2b-256 887e9a90b93eb073341631d08ff38b870b3a6ff71b2b49553147f3843726a052

See more details on using hashes here.

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

Hashes for h7_env_manager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d478a355a51f86f8783767a266ca54a268c1394fae6261874a1da80f5ffeacbd
MD5 9e242e5d20e423f4a4b4b16f0d80a3da
BLAKE2b-256 57b2d66b683a8113e0ee6d74ff7976255e0f794791d0565bec0ab188c4df10bc

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