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-2.9.5.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.9.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5163897b3ff7da241f5894c35e31eb809458e82b502fc343c8aeddcd1b573316 |
|
MD5 | d4b06e3982dd46aeaa439885c88760fc |
|
BLAKE2b-256 | 8e065ba44546180a595ce6f4c2d82bb7be75e1498c1d3903f3d82cd7a0970c1d |