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
.envfiles - 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)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f5df09c5e2871651c257d9773c36fa1289843b00ea0576f602f4cd57df47d7
|
|
| MD5 |
ec62a27a561af160e6c97fb86bc82f28
|
|
| BLAKE2b-256 |
7311b58bc40bd124875e78dfe2201817d89820cac4ea9d42746f35bfd782f47e
|
File details
Details for the file mmar_envops-1.0.7-py3-none-any.whl.
File metadata
- Download URL: mmar_envops-1.0.7-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bcd46b23d29aaaada5bd3cd94d95a0551b0250e112c07322f15240959017e7c
|
|
| MD5 |
d2f12e879bff32bb8f8d75348a5fc8e8
|
|
| BLAKE2b-256 |
18f80c6ed11e848745adcad2e9597509c8cb5634e4b3ee7af591fe1a180e5873
|