A library for reading / writing Lookout config files
Project description
Lookout Config
Lookout Config is used to load config stored inside the ~/.config/greenroom
folder.
Install
pip install -e ./libs/lookout_config
- or...
pip install lookout_config
(Public on PyPi)
Usage
Reading config
from lookout_config import read
config = read()
Writing config
from lookout_config import write, LookoutConfig
config = LookoutConfig()
write(config)
Generating schemas
After changing the dataclasses, you can generate the schemas with:
python3 -m lookout_config.generate_schemas
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lookout_config-1.0.3.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for lookout_config-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f088ff4addc6247857e0d6d7ac586ae335d153f94706c21f4ac3d06fd8fe42cb |
|
MD5 | a32bf18b42ae11863271ecbe8816d49e |
|
BLAKE2b-256 | fa5a16b81931d8f345ab29b9c2b7831bcce2f8dac9227457ad16feff0930ad75 |