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.2.tar.gz (3.9 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.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: h7_env_manager-1.0.2.tar.gz
  • Upload date:
  • Size: 3.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f45f19f7684c2285cc512a7a8526fe0c597dfb46345d39d280052b4ea5ae1df7
MD5 885484b80e4c518d06d44909432fb912
BLAKE2b-256 5e639d29e5ec78103716acfefb4fb0b002a26078710f0c58383f2122936ddc12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: h7_env_manager-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce6288fa05b5f8629fd44e67cc90ff5e088971d396bba4ccc03f752ab4e53d22
MD5 8507a07dead416a106cef4d28e4def3c
BLAKE2b-256 b50063c6f8b69d92ce64a2839c47cdfefb898f4cd571bf1c8504bccbdffad429

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