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.3.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49e54d966d3c5d89e2ad6d919ecc93f26ee46878821ac14a6faec5e100eb368 |
|
MD5 | a6948f6d1e0a5c1d5e2f9adad0eab7fc |
|
BLAKE2b-256 | 286a4dede22f35444d2bd94a3696d2b4c2dd56cc7e0c608145fbdb104e2b6817 |