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.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe9f1c82a5f507aeeba7ecfce2bbac2414b5869610bb39f6a093bc33c6b8c8e |
|
MD5 | 551abe19edbc39385f66db8e2fb3c60c |
|
BLAKE2b-256 | 56c632d59833f54dad9c066ab9ab99a41e6dc8e282674e6096f8fa177e27bba4 |