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.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec72fd5d21aec4df2e4b32b71b1f42fb26d99d34e3a6d294ff2e06babec98c23 |
|
MD5 | 803ead95a851060310dfb29e4ea7efd6 |
|
BLAKE2b-256 | 6e7ac43f38f8f3af94ebfc6adea34df0e937e02e85144d52459efdbf9bb8598c |