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.6.tar.gz
(23.1 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.6.tar.gz.
File metadata
- Download URL: mmar_envops-1.0.6.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
088efb37c7cf341df65eff96cbb7cf35cd385b7d6cb0a82e1fe958fdfbe77012
|
|
| MD5 |
e6ba28a057527c71256972f7baf22727
|
|
| BLAKE2b-256 |
16cdb366360e81e882246f3e6c9d0c125f5f49a075611c15c61a79d48880d239
|
File details
Details for the file mmar_envops-1.0.6-py3-none-any.whl.
File metadata
- Download URL: mmar_envops-1.0.6-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52bf6799f3f8d61138fe3cf304e142e5ad8442e8c62e02a95f9b00fbb3562fa2
|
|
| MD5 |
1b268b0d8d0edc721ab9e2aa37569c68
|
|
| BLAKE2b-256 |
b475501dd27241b9ca6c34fdf2d2d388b0e8235729ef44c7bab0bbd495f25bf1
|