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.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7529582e1b6922d34fd016a5567feb977e12f63398c02735e9f31e001bbaab6b |
|
MD5 | 07a5070c2218c447bf636fdd12746870 |
|
BLAKE2b-256 | 1dfd53474fa057468e667142269cd010582417ed52c804625df5fd880ba03219 |