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.8.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e019fc7600a9ea8cac41b518b3570d66e0737cbca71c4dad64edd74a43a40fa |
|
MD5 | 52cf5dbc18a9c99d6bb2468077b15276 |
|
BLAKE2b-256 | eb11d78ffda4f8f1d5c2812781ef3f625bcb7c2d900cf7aac7b75dad18eaa907 |