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.1.6.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.1.6.tar.gz
.
File metadata
- Download URL: marops_config-3.1.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31dc24e5704d11a9352165152829964ee7a7552f04f679951ceb667d9b721889 |
|
MD5 | 749ddb5312fe18da2e570c542bc315e6 |
|
BLAKE2b-256 | a3ee25082058957cd2f1fc654d74754abd512307b5244bfb2d23ae4c4ab06fd3 |
File details
Details for the file marops_config-3.1.6-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.1.6-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.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361b1f1ccd8acaa56a279761758bd3b9d5126c59906948a7554365e201807309 |
|
MD5 | 7fc22ec72de41b552d678a32f972f81f |
|
BLAKE2b-256 | bdbe2507b727c897fce1a387e8cce411cebc68a753435107fea190beda0bd8b5 |