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.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b175b55134b05ad8776c0a449fcdbaa1a63a8b753fffe13a562f5b79c795e73 |
|
MD5 | 3f223ad45a17efe89ba8fb4a68701ecf |
|
BLAKE2b-256 | 3a9589c79b8d5dff89f4290d4f80102084f731cd2340c5aa09cbd82f16dfc914 |