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.7.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d0d61d9a7b17a046dd551bf59145e0687672935783aefd07508fdf5f102559 |
|
MD5 | 43cb796c6875505e9c361ac789de184a |
|
BLAKE2b-256 | 1e11f6a9940993183f2eff7517c8379fe37037f7109f8abce1deded99b9cb126 |