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
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.1.0.tar.gz
(25.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.1.0.tar.gz.
File metadata
- Download URL: mmar_envops-1.1.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c85a0b3178f7d07197e223ace4d215cc1b709996bad4a8b62a890935f25baa53
|
|
| MD5 |
f59b0c835a38b4b6d7b69bd68234af7c
|
|
| BLAKE2b-256 |
7139313e3453a077268f11726c724d431ab117294da70bfd2d8e2f231af9abde
|
File details
Details for the file mmar_envops-1.1.0-py3-none-any.whl.
File metadata
- Download URL: mmar_envops-1.1.0-py3-none-any.whl
- Upload date:
- Size: 33.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b2dcc8d28a183cd67de8f654089c93173010263660a3217c793fd8d3e819b51
|
|
| MD5 |
c9285d2f48a8826eed088acb630e85d9
|
|
| BLAKE2b-256 |
d295138a5f4dffe2a0e5dcc89c5c50747e0ca6911572b4319ae0462ae3d2608f
|