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.2.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for lookout_config-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d65c23095a8819504634269c2bcbf5cbc115869bd329ceb74c4c6f3e3aac81 |
|
MD5 | 38b8b0cc0e49a3fe69d3f0aa368c8e66 |
|
BLAKE2b-256 | 31528126b775c5dce8232feb14a4df5666dc947bf85711d6eeb599bda92b1ee1 |