Skip to main content

Environment and configuration operations for Python applications

Project description

mmar-envops

Environment and configuration operations for Python applications.

A facade for managing environment variables, configuration files, and system operations in Python applications.

Features

  • Environment file handling: Read and parse .env files
  • Configuration management: YAML-based configuration with environment-aware loading
  • Settings integration: Pydantic settings support
  • System operations: File system, git, and execution context utilities

Installation

pip install mmar-envops

Quick Start

from mmar_envops import EnvFileAccessor, Config

# Load environment variables from .env file
env = EnvFileAccessor.from_file(".env")
api_key = env.get("API_KEY")

# Load configuration from YAML
config = Config.from_yaml("config.yaml")

CLI

envops --file .env set API_KEY=secret
envops --file .env get API_KEY
envops --file .env unset API_KEY
envops --file .env keys
envops --file .env --dry set KEY=val

License

MIT

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

mmar_envops-1.0.7.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

mmar_envops-1.0.7-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file mmar_envops-1.0.7.tar.gz.

File metadata

  • Download URL: mmar_envops-1.0.7.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for mmar_envops-1.0.7.tar.gz
Algorithm Hash digest
SHA256 d3f5df09c5e2871651c257d9773c36fa1289843b00ea0576f602f4cd57df47d7
MD5 ec62a27a561af160e6c97fb86bc82f28
BLAKE2b-256 7311b58bc40bd124875e78dfe2201817d89820cac4ea9d42746f35bfd782f47e

See more details on using hashes here.

File details

Details for the file mmar_envops-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for mmar_envops-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8bcd46b23d29aaaada5bd3cd94d95a0551b0250e112c07322f15240959017e7c
MD5 d2f12e879bff32bb8f8d75348a5fc8e8
BLAKE2b-256 18f80c6ed11e848745adcad2e9597509c8cb5634e4b3ee7af591fe1a180e5873

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