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.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for marops_config-2.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43ce4deaa78b073f33fd3388492eec2edad4c032e17c36acd9bc17ef94035008 |
|
MD5 | 957ba385d67bbd67dd52f450bc41ff9f |
|
BLAKE2b-256 | 4fa1676a9a31b6820bbf59808992513011ca7d4834eef3c0523bf3d7dd02f01c |