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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ccaf5c6dcda96d86b911af18f1048d186480485871bf1feb65172e59e85328 |
|
MD5 | a0ae14bbf71c6b8c105d888d1cdba1c9 |
|
BLAKE2b-256 | 76216d5a8fd9648b8ba493b9a27ba0511fe4eaa73c5a9be661a7a22aea073626 |