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.5.tar.gz
(19.5 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.5.tar.gz.
File metadata
- Download URL: mmar_envops-1.0.5.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c23b78f9d8de8e96b4282454ddbaa5769ae69498c4d7fc818b2f7f0c1fc8a30
|
|
| MD5 |
cd7aab8e6097f2c259fa00ea928fcc9a
|
|
| BLAKE2b-256 |
09e6347643b577fef62c3a55c314d39e8ceb5d19cca412710a7d17350588cdac
|
File details
Details for the file mmar_envops-1.0.5-py3-none-any.whl.
File metadata
- Download URL: mmar_envops-1.0.5-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49a56bdcd37d0eb752b4b6c1f0708e95c9ef68b324bc849c22558fab6f91a1ac
|
|
| MD5 |
d22da32974e02efc99ba3256ee789baf
|
|
| BLAKE2b-256 |
63d3319066c848e56369ab9a1bf8761c589bbe51e4df0aeb5f7438e1cc582cd8
|