A library for reading / writing MarOps config files
Project description
MarOps Config
MarOps Config is used to load config stored inside the ~/.config/greenroom
folder.
Install
pip install -e ./libs/marops_config
Usage
Reading config
from marops_config import read
config = read()
Writing config
from marops_config import write, MarOpsConfig
config = MarOpsConfig()
write(config)
Generating schemas
After changing the dataclasses, you can generate the schemas with:
python3 -m marops_config.generate_schemas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
marops_config-3.3.0.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.3.0.tar.gz
.
File metadata
- Download URL: marops_config-3.3.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb961ab3d87e79d3c7a3f911a81101e0d96ef71125bd3a1a62c009aef87c042 |
|
MD5 | 706a7b77783b8515232eff2218c77b30 |
|
BLAKE2b-256 | c409dc86425bc96450881875c08754bbea597a70288756269b5db163986459d0 |
File details
Details for the file marops_config-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.3.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e919f186027093d4a6c14e37f01da1d38b0da487f133a38ee803c268d31686f |
|
MD5 | 5ab17bc74d7bbe730816dcbf260511af |
|
BLAKE2b-256 | a30e9c5383650f1d2e5ef7a5563a60d9ae1ccd444be66b78012e3d00106b600b |